| 1 | #undef TRACEPOINT_PROVIDER |
| 2 | #define TRACEPOINT_PROVIDER tp |
| 3 | |
| 4 | #if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ) |
| 5 | #define _TRACEPOINT_TP_H |
| 6 | |
| 7 | /* |
| 8 | * Copyright (C) 2017 Philippe Proulx <pproulx@efficios.com> |
| 9 | * |
| 10 | * SPDX-License-Identifier: LGPL-2.1-only |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | #include <lttng/tracepoint.h> |
| 15 | |
| 16 | TRACEPOINT_EVENT(tp, |
| 17 | the_string, |
| 18 | TP_ARGS(int, i, int, arg_i, const char *, str), |
| 19 | TP_FIELDS(ctf_integer(int, i, i) ctf_integer(long, arg_i, arg_i) |
| 20 | ctf_string(str, str))) |
| 21 | |
| 22 | #endif /* _TRACEPOINT_TP_H */ |
| 23 | |
| 24 | #undef TRACEPOINT_INCLUDE |
| 25 | #define TRACEPOINT_INCLUDE "./tp.h" |
| 26 | |
| 27 | /* This part must be outside ifdef protection */ |
| 28 | #include <lttng/tracepoint-event.h> |