Build system: implement REUSE with SPDX identifiers
[lttng-ust.git] / tests / benchmark / bench.c
index d42d0b65a1237d3c22e8ee445dd3b57ca56b27b7..fcd373ad973ac1edc3d8a8806b6a762a43f2442c 100644 (file)
@@ -16,7 +16,7 @@
 #include <urcu/compiler.h>
 
 #ifdef TRACING
-#define TRACEPOINT_DEFINE
+#define LTTNG_UST_TRACEPOINT_DEFINE
 #include "ust_tests_benchmark.h"
 #endif
 
@@ -48,13 +48,13 @@ void do_stuff(void)
        for (i = 0; i < 100; i++)
                cmm_barrier();
 #ifdef TRACING
-       tracepoint(ust_tests_benchmark, tpbench, v);
+       lttng_ust_tracepoint(ust_tests_benchmark, tpbench, v);
 #endif
 }
 
 
 static
-void *function(void *arg)
+void *function(void *arg __attribute__((unused)))
 {
        unsigned long long nr_loops = 0;
        struct thread_counter *thread_counter = arg;
This page took 0.02308 seconds and 4 git commands to generate.