tests: Move to kernel style SPDX license identifiers
[lttng-tools.git] / tests / regression / ust / overlap / demo / ust_tests_demo3.h
1 /*
2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
8 #undef TRACEPOINT_PROVIDER
9 #define TRACEPOINT_PROVIDER ust_tests_demo3
10
11 #if !defined(_TRACEPOINT_UST_TESTS_DEMO3_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
12 #define _TRACEPOINT_UST_TESTS_DEMO3_H
13
14 #include <lttng/tracepoint.h>
15
16 TRACEPOINT_EVENT(ust_tests_demo3, done,
17 TP_ARGS(int, value),
18 TP_FIELDS(
19 ctf_integer(int, value, value)
20 )
21 )
22 TRACEPOINT_LOGLEVEL(ust_tests_demo3, done, TRACE_WARNING)
23
24 #endif /* _TRACEPOINT_UST_TESTS_DEMO3_H */
25
26 #undef TRACEPOINT_INCLUDE_FILE
27 #define TRACEPOINT_INCLUDE_FILE ./ust_tests_demo3.h
28
29 /* This part must be outside ifdef protection */
30 #include <lttng/tracepoint-event.h>
This page took 0.030311 seconds and 5 git commands to generate.