2 * SPDX-License-Identifier: MIT
4 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 #undef LTTNG_UST_TRACEPOINT_PROVIDER
8 #define LTTNG_UST_TRACEPOINT_PROVIDER ust_tests_demo3
10 #if !defined(_TRACEPOINT_UST_TESTS_DEMO3_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ)
11 #define _TRACEPOINT_UST_TESTS_DEMO3_H
13 #include <lttng/tracepoint.h>
15 LTTNG_UST_TRACEPOINT_EVENT(ust_tests_demo3
, done
,
16 LTTNG_UST_TP_ARGS(int, value
),
18 lttng_ust_field_integer(int, value
, value
)
21 LTTNG_UST_TRACEPOINT_LOGLEVEL(ust_tests_demo3
, done
, LTTNG_UST_TRACEPOINT_LOGLEVEL_WARNING
)
23 #endif /* _TRACEPOINT_UST_TESTS_DEMO3_H */
25 #undef LTTNG_UST_TRACEPOINT_INCLUDE
26 #define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_tests_demo3.h"
28 /* This part must be outside ifdef protection */
29 #include <lttng/tracepoint-event.h>