Commit | Line | Data |
---|---|---|
9d16b343 MJ |
1 | /* |
2 | * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
3 | * | |
4 | * SPDX-License-Identifier: MIT | |
5 | * | |
6 | */ | |
7 | ||
8a558304 MJ |
8 | #undef TRACEPOINT_PROVIDER |
9 | #define TRACEPOINT_PROVIDER tp | |
10 | ||
11 | #if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ) | |
12 | #define _TRACEPOINT_TP_H | |
13 | ||
8a558304 MJ |
14 | #include <lttng/tracepoint.h> |
15 | ||
16 | TRACEPOINT_EVENT(tp, tptest, | |
17 | TP_ARGS(ino_t, ns_ino), | |
18 | TP_FIELDS( | |
19 | ctf_integer(ino_t, ns_ino, ns_ino) | |
20 | ) | |
21 | ) | |
22 | ||
23 | #endif /* _TRACEPOINT_TP_H */ | |
24 | ||
25 | #undef TRACEPOINT_INCLUDE_FILE | |
26 | #define TRACEPOINT_INCLUDE_FILE ./tp.h | |
27 | ||
28 | /* This part must be outside ifdef protection */ | |
29 | #include <lttng/tracepoint-event.h> |