Update obsolete benchmark test
[lttng-ust.git] / tests / benchmark / ust_tests_benchmark.h
1 #undef TRACEPOINT_PROVIDER
2 #define TRACEPOINT_PROVIDER ust_tests_benchmark
3
4 #if !defined(_TRACEPOINT_UST_TESTS_BENCHMARK_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
5 #define _TRACEPOINT_UST_TESTS_BENCHMARK_H
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10
11 #include <lttng/tracepoint.h>
12
13 TRACEPOINT_EVENT(ust_tests_benchmark, tpbench,
14 TP_ARGS(int, value),
15 TP_FIELDS(
16 ctf_integer(int, event, value)
17 )
18 )
19
20 #endif /* _TRACEPOINT_UST_TESTS_BENCHMARK_H */
21
22 #undef TRACEPOINT_INCLUDE
23 #define TRACEPOINT_INCLUDE "./ust_tests_benchmark.h"
24
25 /* This part must be outside ifdef protection */
26 #include <lttng/tracepoint-event.h>
27
28 #ifdef __cplusplus
29 }
30 #endif
This page took 0.030186 seconds and 5 git commands to generate.