Commit | Line | Data |
---|---|---|
8d8a24c8 MD |
1 | #undef TRACEPOINT_SYSTEM |
2 | #define TRACEPOINT_SYSTEM tp | |
81614639 | 3 | |
8d8a24c8 MD |
4 | #if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ) |
5 | #define _TRACEPOINT_TP_H | |
81614639 MD |
6 | |
7 | /* | |
8 | * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
a09dac63 PMF |
9 | * |
10 | * This library is free software; you can redistribute it and/or | |
11 | * modify it under the terms of the GNU Lesser General Public | |
12 | * License as published by the Free Software Foundation; either | |
13 | * version 2.1 of the License, or (at your option) any later version. | |
14 | * | |
15 | * This library is distributed in the hope that it will be useful, | |
16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
18 | * Lesser General Public License for more details. | |
19 | * | |
20 | * You should have received a copy of the GNU Lesser General Public | |
21 | * License along with this library; if not, write to the Free Software | |
22 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
23 | */ | |
24 | ||
93d0f2ea | 25 | #include <ust/tracepoint.h> |
6e71f8c9 | 26 | |
8d8a24c8 | 27 | TRACEPOINT_EVENT(ust_tests_hello_tptest, |
1dbfff0c MD |
28 | TP_PROTO(int anint), |
29 | TP_ARGS(anint), | |
30 | TP_FIELDS( | |
31 | ctf_integer(int, intfield, anint) | |
b0a710d6 MD |
32 | ctf_integer_hex(int, intfield, anint) |
33 | ctf_integer_network(int, intfield, anint) | |
34 | ctf_integer_network_hex(int, intfield, anint) | |
1dbfff0c | 35 | )) |
81614639 | 36 | |
8d8a24c8 MD |
37 | TRACEPOINT_EVENT_NOARGS(ust_tests_hello_tptest_sighandler, |
38 | TP_FIELDS()) | |
81614639 | 39 | |
8d8a24c8 | 40 | #endif /* _TRACEPOINT_TP_H */ |
81614639 | 41 | |
8d8a24c8 MD |
42 | #undef TRACEPOINT_INCLUDE_PATH |
43 | #define TRACEPOINT_INCLUDE_PATH . | |
44 | #undef TRACEPOINT_INCLUDE_FILE | |
45 | #define TRACEPOINT_INCLUDE_FILE tp | |
ad5c7b82 | 46 | |
81614639 | 47 | /* This part must be outside protection */ |
8d8a24c8 | 48 | #include <ust/tracepoint-event.h> |