X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=hello%2Ftp.c;h=4790965eda427618c7532cf62b0ceca5c52cf017;hb=HEAD;hp=2ee7392b192f3aee81b602b313219682dfaea1d4;hpb=6e71f8c9d4f91119a1531be68356ebfd1b8a1969;p=lttng-ust.git diff --git a/hello/tp.c b/hello/tp.c deleted file mode 100644 index 2ee7392b..00000000 --- a/hello/tp.c +++ /dev/null @@ -1,17 +0,0 @@ -#include "tp.h" -#include "marker.h" -#include "usterr.h" - -DEFINE_TRACE(hello_tptest); - -void tptest_probe(int anint) -{ - DBG("in tracepoint probe..."); - trace_mark(ust, tptest, "anint %d", anint); -} - -static void __attribute__((constructor)) init() -{ - DBG("connecting tracepoint..."); - register_trace_hello_tptest(tptest_probe); -}