Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [ltt-dev] SystemTAP support in tracepoints
Date: Tue, 12 Apr 2011 14:48:35 -0400	[thread overview]
Message-ID: <20110412184835.GA11727@Krystal> (raw)
In-Reply-To: <y0maafvia0y.fsf@fche.csb>

* Frank Ch. Eigler (fche at redhat.com) wrote:
> 
> mathieu.desnoyers wrote:
> 
> > [...]
> > Cool! I tweaked it a bit and came up with the following. Comments ?
> 
> How about just:
> 
> 
> #define SDT_USE_VARIADIC
> #include <sys/sdt.h>

How should support systems that don't have sdt.h ? Is there a define we
could check ?

Mathieu

> 
> #define tracepoint(name, args...)			\
> do {
>         STAP_PROBEV(name, name, __VA_ARGS__);           \ 
>         /* and whatever ust needs for itself */         \
> } while (0)
> 
> 
> - FChE

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




  reply	other threads:[~2011-04-12 18:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-10 17:44 Mathieu Desnoyers
2011-04-11 21:19 ` Josh Stone
2011-04-11 22:29   ` Josh Stone
2011-04-12 16:57     ` Frank Ch. Eigler
2011-04-12 18:35     ` Mathieu Desnoyers
2011-04-12 18:45       ` Frank Ch. Eigler
2011-04-12 18:48         ` Mathieu Desnoyers [this message]
2011-04-12 18:59           ` Frank Ch. Eigler
2011-04-12 19:12           ` Mark Wielaard
2011-04-13 15:38             ` Mathieu Desnoyers
     [not found]             ` <BLU0-SMTP42E61B0C2D4283651878B896AA0@phx.gbl>
2011-04-13 16:17               ` Mark Wielaard
2011-04-13 16:58                 ` Mathieu Desnoyers
2011-04-13 17:24                   ` Josh Stone
2011-04-13 17:29                   ` Mark Wielaard

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=20110412184835.GA11727@Krystal \
    --to=mathieu.desnoyers@efficios.com \
    /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