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
, starting
,
19 ctf_integer(int, value
, value
)
22 TRACEPOINT_LOGLEVEL(ust_tests_demo
, starting
, TRACE_CRIT
)
24 TRACEPOINT_EVENT(ust_tests_demo
, done
,
27 ctf_integer(int, value
, value
)
30 TRACEPOINT_LOGLEVEL(ust_tests_demo
, done
, TRACE_CRIT
)
32 #endif /* _TRACEPOINT_UST_TESTS_DEMO_H */
34 #undef TRACEPOINT_INCLUDE
35 #define TRACEPOINT_INCLUDE "./ust_tests_demo.h"
37 /* This part must be outside ifdef protection */
38 #include <lttng/tracepoint-event.h>
This page took 0.030723 seconds and 5 git commands to generate.