2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * SPDX-License-Identifier: MIT
8 #undef TRACEPOINT_PROVIDER
9 #define TRACEPOINT_PROVIDER ust_tests_demo
11 #if !defined(_TRACEPOINT_UST_TESTS_DEMO_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
12 #define _TRACEPOINT_UST_TESTS_DEMO_H
14 #include <lttng/tracepoint.h>
16 TRACEPOINT_EVENT(ust_tests_demo
,
19 TP_FIELDS(ctf_integer(int, value
, value
)))
20 TRACEPOINT_LOGLEVEL(ust_tests_demo
, starting
, TRACE_CRIT
)
22 TRACEPOINT_EVENT(ust_tests_demo
,
25 TP_FIELDS(ctf_integer(int, value
, value
)))
26 TRACEPOINT_LOGLEVEL(ust_tests_demo
, done
, TRACE_CRIT
)
28 #endif /* _TRACEPOINT_UST_TESTS_DEMO_H */
30 #undef TRACEPOINT_INCLUDE
31 #define TRACEPOINT_INCLUDE "./ust_tests_demo.h"
33 /* This part must be outside ifdef protection */
34 #include <lttng/tracepoint-event.h>
This page took 0.029035 seconds and 4 git commands to generate.