[ltt-dev] SystemTAP support in tracepoints

Frank Ch. Eigler fche at redhat.com
Tue Apr 12 14:59:14 EDT 2011


Hi -

On Tue, Apr 12, 2011 at 02:48:35PM -0400, Mathieu Desnoyers wrote:
> > #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 ?

If the ust headers are not going to try to replicate all the code from
the systemtap sdt.h file, then they'll need to make a reference to it.
If so, one choice is to make the process manual (have a ust user do
the include before #include <ust/whatever>).  Another choice is for
the ust distribution to autoconf <ust/whatever> based on the existence
of sys/sdt.h header and perhaps #ifdef STAP_PROBEV.

- FChE




More information about the lttng-dev mailing list