Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: compudj@krystal.dyndns.org (Mathieu Desnoyers)
Subject: [ltt-dev] [RFC] UST Tracepoint API Changes
Date: Fri, 4 Nov 2011 15:31:32 -0400	[thread overview]
Message-ID: <20111104193132.GA19722@Krystal> (raw)
In-Reply-To: <4EB4194E.9080700@ericsson.com>

* Matthew Khouzam (matthew.khouzam at ericsson.com) wrote:
> 
> 
> On 11-11-02 10:00 AM, Mathieu Desnoyers wrote:
> > Hi,
> >
> > Following discussions at LinuxCon, there are two changes I would like to
> > propose for the TRACEPOINT_EVENT API. Comments are welcome:
> >
> > 1) Change the first argument of TRACEPOINT_EVENT, defined as:
> >
> >   < [com_company_]project_[component_]event >
> >
> >   for two arguments, separated by a comma:
> >
> >   < [com_company_]project[_component] >, < event >
> >
> > This would be more in line with the Dtrace "provider, event" scheme,
> > which is already very much in use for instrumentation. This would allow
> > application developers to make the mapping to dtrace instrumentation
> > they might already have more easiy.
> Basically to illustrate that:
>   TRACEPOINT_EVENT( com_efficios_babeltrace_reader_openfile, ... )
> becomes
>   TRACEPOINT_EVENT( com_efficios_babeltrace_reader, openfile, ... )
> I like it, it's not overly complex and forces people to better think out
> their tracepoint names.

OK. And in terms of UI, we have a few choices, feedback would be
welcome:

lttng enable-event -k provider.event_name
lttng enable-event -k provider/event_name
lttng enable-event -k provider:event_name

This would impact the way the events are shown in babeltrace too.
Thoughts ?

Thanks,

Mathieu

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




  reply	other threads:[~2011-11-04 19:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-02 14:00 Mathieu Desnoyers
2011-11-04 16:56 ` Matthew Khouzam
2011-11-04 19:31   ` Mathieu Desnoyers [this message]
2011-11-05 12:16   ` Mathieu Desnoyers
2011-11-07 21:53     ` Matthew Khouzam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111104193132.GA19722@Krystal \
    --to=compudj@krystal.dyndns.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox