e3d67618866e04e32f3e75ec3b0e07849f4e8697
[ust.git] / tests / hello / tp.c
1 #include "tp.h"
2 #include <ust/marker.h>
3 #include "usterr.h"
4
5 DEFINE_TRACE(hello_tptest);
6
7 void tptest_probe(int anint)
8 {
9 DBG("in tracepoint probe...");
10 trace_mark(ust, tptest, "anint %d", anint);
11 }
12
13 static void __attribute__((constructor)) init()
14 {
15 DBG("connecting tracepoint...");
16 register_trace_hello_tptest(tptest_probe);
17 }
This page took 0.028999 seconds and 3 git commands to generate.