This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SystemTAP support in tracepoints


On Tue, 2011-04-12 at 14:48 -0400, Mathieu Desnoyers wrote:
> * Frank Ch. Eigler (fche@redhat.com) wrote:
> > 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 ?

I have just been using the following configure check:

AC_CHECK_HEADER([sys/sdt.h], [SDT_H_FOUND='yes'],
                [SDT_H_FOUND='no';
                   AC_MSG_ERROR([systemtap support needs sys/sdt.h header])])

Which you can adapt to your needs with/without error message, including
an test to see if it fully works for your environment.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]