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