Move current compile tests to 'api1'
[lttng-ust.git] / tests / compile / api1 / same_line_tracepoint / ust_tests_sameline.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 */
6
7 #undef LTTNG_UST_TRACEPOINT_PROVIDER
8 #define LTTNG_UST_TRACEPOINT_PROVIDER ust_tests_sameline
9
10 #if !defined(_TRACEPOINT_UST_TESTS_SAMELINE_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ)
11 #define _TRACEPOINT_UST_TESTS_SAMELINE_H
12
13 #include <lttng/tracepoint.h>
14
15 LTTNG_UST_TRACEPOINT_EVENT(ust_tests_sameline, event1,
16 LTTNG_UST_TP_ARGS(),
17 LTTNG_UST_TP_FIELDS()
18 )
19 LTTNG_UST_TRACEPOINT_LOGLEVEL(ust_tests_sameline, event1, LTTNG_UST_TRACEPOINT_LOGLEVEL_CRIT)
20
21 LTTNG_UST_TRACEPOINT_EVENT(ust_tests_sameline, event2,
22 LTTNG_UST_TP_ARGS(),
23 LTTNG_UST_TP_FIELDS()
24 )
25 LTTNG_UST_TRACEPOINT_LOGLEVEL(ust_tests_sameline, event2, LTTNG_UST_TRACEPOINT_LOGLEVEL_CRIT)
26
27 #endif /* _TRACEPOINT_UST_TESTS_SAMELINE_H */
28
29 #undef LTTNG_UST_TRACEPOINT_INCLUDE
30 #define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_tests_sameline.h"
31
32 /* This part must be outside ifdef protection */
33 #include <lttng/tracepoint-event.h>
This page took 0.029567 seconds and 4 git commands to generate.