X-Git-Url: https://git.liburcu.org/?p=ust.git;a=blobdiff_plain;f=tests%2Ftracepoint%2Fbenchmark%2Ftracepoint_benchmark.c;h=43ec21fc81ebc872c9e1fedfc81429c6b9f16977;hp=4d354bb1be96b2097ce31bb2721e49e8497090a6;hb=cc7b66ba103c213a84159c2128cd4096507bdd2b;hpb=686debc34cf055ffcb1f98a06df9fbaf27eeb441 diff --git a/tests/tracepoint/benchmark/tracepoint_benchmark.c b/tests/tracepoint/benchmark/tracepoint_benchmark.c index 4d354bb..43ec21f 100644 --- a/tests/tracepoint/benchmark/tracepoint_benchmark.c +++ b/tests/tracepoint/benchmark/tracepoint_benchmark.c @@ -49,12 +49,12 @@ void tp_probe(void *data, unsigned int p1) static void __attribute__((constructor)) init() { - register_trace_ust_event(tp_probe, NULL); + register_tracepoint(ust_event, tp_probe, NULL); } void single_trace(unsigned int v) { - trace_ust_event(v); + tracepoint(ust_event, v); } void do_trace(void)