projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 2.13.0-rc1
[lttng-ust.git]
/
tests
/
benchmark
/
bench.c
diff --git
a/tests/benchmark/bench.c
b/tests/benchmark/bench.c
index d42d0b65a1237d3c22e8ee445dd3b57ca56b27b7..fcd373ad973ac1edc3d8a8806b6a762a43f2442c 100644
(file)
--- a/
tests/benchmark/bench.c
+++ b/
tests/benchmark/bench.c
@@
-16,7
+16,7
@@
#include <urcu/compiler.h>
#ifdef TRACING
#include <urcu/compiler.h>
#ifdef TRACING
-#define TRACEPOINT_DEFINE
+#define
LTTNG_UST_
TRACEPOINT_DEFINE
#include "ust_tests_benchmark.h"
#endif
#include "ust_tests_benchmark.h"
#endif
@@
-48,13
+48,13
@@
void do_stuff(void)
for (i = 0; i < 100; i++)
cmm_barrier();
#ifdef TRACING
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
#endif
}
static
-void *function(void *arg)
+void *function(void *arg
__attribute__((unused))
)
{
unsigned long long nr_loops = 0;
struct thread_counter *thread_counter = arg;
{
unsigned long long nr_loops = 0;
struct thread_counter *thread_counter = arg;
This page took
0.030197 seconds
and
4
git commands to generate.