This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: SystemTAP support in tracepoints
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