Remove dummy markers/tracepoints/trace events
[ust.git] / libust-initializer.c
index a7103389bf3f7611236c3ab94537b5aaf52cbdee..2314e5e0438a28d6db38bf76826f42af99d2d910 100644 (file)
 #include <ust/marker.h>
 #include <ust/tracepoint.h>
 
-/* 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;
 TRACEPOINT_LIB;
 TRACE_EVENT_LIB;
This page took 0.023273 seconds and 4 git commands to generate.