From mboxrd@z Thu Jan 1 00:00:00 1970 From: fche@redhat.com (Frank Ch. Eigler) Date: Tue, 12 Apr 2011 14:45:17 -0400 Subject: [ltt-dev] SystemTAP support in tracepoints In-Reply-To: <20110412183555.GB11056@Krystal> (Mathieu Desnoyers's message of "Tue, 12 Apr 2011 14:35:55 -0400") References: <20110410174444.GA30466@Krystal> <4DA3704C.8010502@redhat.com> <4DA380D5.80608@redhat.com> <20110412183555.GB11056@Krystal> Message-ID: mathieu.desnoyers wrote: > [...] > Cool! I tweaked it a bit and came up with the following. Comments ? How about just: #define SDT_USE_VARIADIC #include #define tracepoint(name, args...) \ do { STAP_PROBEV(name, name, __VA_ARGS__); \ /* and whatever ust needs for itself */ \ } while (0) - FChE