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_sameline
10 #if !defined(_TRACEPOINT_UST_TESTS_SAMELINE_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ)
11 #define _TRACEPOINT_UST_TESTS_SAMELINE_H
13 #include <lttng/tracepoint.h>
15 LTTNG_UST_TRACEPOINT_EVENT(ust_tests_sameline
, event1
,
19 LTTNG_UST_TRACEPOINT_LOGLEVEL(ust_tests_sameline
, event1
, LTTNG_UST_TRACEPOINT_LOGLEVEL_CRIT
)
21 LTTNG_UST_TRACEPOINT_EVENT(ust_tests_sameline
, event2
,
25 LTTNG_UST_TRACEPOINT_LOGLEVEL(ust_tests_sameline
, event2
, LTTNG_UST_TRACEPOINT_LOGLEVEL_CRIT
)
27 #endif /* _TRACEPOINT_UST_TESTS_SAMELINE_H */
29 #undef LTTNG_UST_TRACEPOINT_INCLUDE
30 #define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_tests_sameline.h"
32 /* This part must be outside ifdef protection */
33 #include <lttng/tracepoint-event.h>