Move to kernel style SPDX license identifiers
[babeltrace.git] / tests / data / plugins / flt.lttng-utils.debug-info / tp.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright (C) 2016 Antoine Busque <antoine.busque@efficios.com>
5 *
6 * Debug Info - Tests
7 */
8
9 #undef TRACEPOINT_PROVIDER
10 #define TRACEPOINT_PROVIDER my_provider
11
12 #undef TRACEPOINT_INCLUDE
13 #define TRACEPOINT_INCLUDE "./tp.h"
14
15 #if !defined(_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
16 #define _TP_H
17
18 #include <lttng/tracepoint.h>
19
20 TRACEPOINT_EVENT(
21 my_provider,
22 my_first_tracepoint,
23 TP_ARGS(
24 int, my_integer_arg,
25 char*, my_string_arg
26 ),
27 TP_FIELDS(
28 ctf_string(my_string_field, my_string_arg)
29 ctf_integer(int, my_integer_field, my_integer_arg)
30 )
31 )
32
33 TRACEPOINT_EVENT(
34 my_provider,
35 my_other_tracepoint,
36 TP_ARGS(
37 int, my_int
38 ),
39 TP_FIELDS(
40 ctf_integer(int, some_field, my_int)
41 )
42 )
43
44 #endif /* _TP_H */
45
46 #include <lttng/tracepoint-event.h>
This page took 0.030285 seconds and 4 git commands to generate.