X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libust-initializer.c;h=d7eedf0e28307b290bf9dc2d73843371b48989e4;hb=74d89c32c1f8928943e1ce7eae5d659d4fd601a9;hp=a7103389bf3f7611236c3ab94537b5aaf52cbdee;hpb=fbae86d664c12e450d3cb702b602701d37781b41;p=lttng-ust.git diff --git a/libust-initializer.c b/libust-initializer.c index a7103389..d7eedf0e 100644 --- a/libust-initializer.c +++ b/libust-initializer.c @@ -8,29 +8,8 @@ * published by the Free Software Foundation. */ -#include +//DISABLED #include #include -/* FIXME: We have to define at least one trace_mark and - * one tracepoint here. If we don't, the __start... and - * __stop... symbols won't be defined and the constructors - * won't be compilable. We should find a linker trick to - * avoid this. - */ - -DECLARE_TRACE(ust_dummytp, TP_PROTO(int anint), TP_ARGS(anint)); -DEFINE_TRACE(ust_dummytp); - -#define CREATE_TRACE_POINTS -#include "libust-initializer.h" - -void dummy_libust_initializer_func(void) -{ - trace_mark(ust, dummymark, MARK_NOARGS); - trace_ust_dummytp(0); - trace_ust_dummy_event(0); -} - -MARKER_LIB; +//DISABLED UST_MARKER_LIB; TRACEPOINT_LIB; -TRACE_EVENT_LIB;