X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libust-initializer.c;h=2314e5e0438a28d6db38bf76826f42af99d2d910;hb=f446d1cbf3f3b2e722b68b6bcbee2359d0f3d8e5;hp=390218ee82c895185e5b33a5e0f6cbd164fa4566;hpb=9dec086e052cf7f583a3afaa3aab48a6de8d38ac;p=ust.git diff --git a/libust-initializer.c b/libust-initializer.c index 390218e..2314e5e 100644 --- a/libust-initializer.c +++ b/libust-initializer.c @@ -11,22 +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(int anint), TP_ARGS(anint)); -DEFINE_TRACE(ust_dummytp); - -void dummy_libust_initializer_func(void) -{ - int i; - trace_mark(ust, dummymark, MARK_NOARGS); - trace_ust_dummytp(i); -} - MARKER_LIB; TRACEPOINT_LIB; +TRACE_EVENT_LIB;