X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libust-initializer.c;h=83635d64b318a3497615eacd4bbe8ac313f3286d;hb=b0c4126fca44c9fdc9b350ce0e896ec2818fbb3e;hp=ec39932e9879706e4681df47f20408f7b2095c94;hpb=12e81b07455a1aef2e2bcc73004f14a7b73596fa;p=ust.git diff --git a/libust-initializer.c b/libust-initializer.c index ec39932..83635d6 100644 --- a/libust-initializer.c +++ b/libust-initializer.c @@ -11,21 +11,6 @@ #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(void), TP_ARGS()); -DEFINE_TRACE(ust_dummytp); - -void dummy_libust_initializer_func(void) -{ - trace_mark(ust, dummymark, MARK_NOARGS); - trace_ust_dummytp(); -} - -MARKER_LIB; +UST_MARKER_LIB; TRACEPOINT_LIB; +TRACE_EVENT_LIB;