X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=inline;f=libust-initializer.c;h=d7eedf0e28307b290bf9dc2d73843371b48989e4;hb=616d144a2f9a1fcdadabc25e24f73c1a7ed2d4dc;hp=1bf709e3f5e7b16cc04519859f85c7bdf6c9548c;hpb=d57c0d75a247da5dffd8b07a9717958f6cb76e64;p=lttng-ust.git diff --git a/libust-initializer.c b/libust-initializer.c index 1bf709e3..d7eedf0e 100644 --- a/libust-initializer.c +++ b/libust-initializer.c @@ -8,24 +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, TPPROTO(void), TPARGS()); -DEFINE_TRACE(ust_dummytp); - -void dummy_libust_initializer_func(void) -{ - trace_mark(ust, dummymark, MARK_NOARGS); - trace_ust_dummytp(); -} - -MARKER_LIB; +//DISABLED UST_MARKER_LIB; TRACEPOINT_LIB;