tests: Move to kernel style SPDX license identifiers
[lttng-tools.git] / tests / regression / ust / baddr-statedump / tp.h
1 /*
2 * Copyright (C) 2015 Antoine Busque <abusque@efficios.com>
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
8 #undef TRACEPOINT_PROVIDER
9 #define TRACEPOINT_PROVIDER my_provider
10
11 #undef TRACEPOINT_INCLUDE
12 #define TRACEPOINT_INCLUDE "./tp.h"
13
14 #if !defined(_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
15 #define _TP_H
16
17 #include <lttng/tracepoint.h>
18
19 TRACEPOINT_EVENT(
20 my_provider,
21 my_first_tracepoint,
22 TP_ARGS(
23 int, my_integer_arg,
24 char*, my_string_arg
25 ),
26 TP_FIELDS(
27 ctf_string(my_string_field, my_string_arg)
28 ctf_integer(int, my_integer_field, my_integer_arg)
29 )
30 )
31
32 #endif /* _TP_H */
33
34 #include <lttng/tracepoint-event.h>
This page took 0.030066 seconds and 5 git commands to generate.