7ac7d9b773d04570f4d0de0a80cc91aa7155a362
[lttng-ust.git] / doc / examples / demo / ust_tests_demo3.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 */
6
7 #undef TRACEPOINT_PROVIDER
8 #define TRACEPOINT_PROVIDER ust_tests_demo3
9
10 #if !defined(_TRACEPOINT_UST_TESTS_DEMO3_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
11 #define _TRACEPOINT_UST_TESTS_DEMO3_H
12
13 #include <lttng/tracepoint.h>
14
15 LTTNG_UST_TRACEPOINT_EVENT(ust_tests_demo3, done,
16 LTTNG_UST_TP_ARGS(int, value),
17 LTTNG_UST_TP_FIELDS(
18 ctf_integer(int, value, value)
19 )
20 )
21 LTTNG_UST_TRACEPOINT_LOGLEVEL(ust_tests_demo3, done, LTTNG_UST_TRACEPOINT_LOGLEVEL_WARNING)
22
23 #endif /* _TRACEPOINT_UST_TESTS_DEMO3_H */
24
25 #undef TRACEPOINT_INCLUDE
26 #define TRACEPOINT_INCLUDE "./ust_tests_demo3.h"
27
28 /* This part must be outside ifdef protection */
29 #include <lttng/tracepoint-event.h>
This page took 0.030222 seconds and 3 git commands to generate.