| 1 | /* |
| 2 | * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: MIT |
| 5 | * |
| 6 | */ |
| 7 | |
| 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 | |
| 14 | #include <lttng/tracepoint.h> |
| 15 | |
| 16 | #include <stdint.h> |
| 17 | |
| 18 | TRACEPOINT_EVENT(tp, main, TP_ARGS(), TP_FIELDS()) |
| 19 | |
| 20 | TRACEPOINT_EVENT(tp, constructor_c_across_units_before_define, TP_ARGS(), TP_FIELDS()) |
| 21 | |
| 22 | TRACEPOINT_EVENT(tp, destructor_c_across_units_before_define, TP_ARGS(), TP_FIELDS()) |
| 23 | |
| 24 | TRACEPOINT_EVENT(tp, constructor_c_across_units_after_define, TP_ARGS(), TP_FIELDS()) |
| 25 | |
| 26 | TRACEPOINT_EVENT(tp, destructor_c_across_units_after_define, TP_ARGS(), TP_FIELDS()) |
| 27 | |
| 28 | TRACEPOINT_EVENT(tp, constructor_c_across_units_after_provider, TP_ARGS(), TP_FIELDS()) |
| 29 | |
| 30 | TRACEPOINT_EVENT(tp, destructor_c_across_units_after_provider, TP_ARGS(), TP_FIELDS()) |
| 31 | |
| 32 | TRACEPOINT_EVENT(tp, constructor_c_same_unit_before_define, TP_ARGS(), TP_FIELDS()) |
| 33 | |
| 34 | TRACEPOINT_EVENT(tp, destructor_c_same_unit_before_define, TP_ARGS(), TP_FIELDS()) |
| 35 | |
| 36 | TRACEPOINT_EVENT(tp, constructor_c_same_unit_after_define, TP_ARGS(), TP_FIELDS()) |
| 37 | |
| 38 | TRACEPOINT_EVENT(tp, destructor_c_same_unit_after_define, TP_ARGS(), TP_FIELDS()) |
| 39 | |
| 40 | TRACEPOINT_EVENT(tp, constructor_c_same_unit_before_provider, TP_ARGS(), TP_FIELDS()) |
| 41 | |
| 42 | TRACEPOINT_EVENT(tp, destructor_c_same_unit_before_provider, TP_ARGS(), TP_FIELDS()) |
| 43 | |
| 44 | TRACEPOINT_EVENT(tp, constructor_c_same_unit_after_provider, TP_ARGS(), TP_FIELDS()) |
| 45 | |
| 46 | TRACEPOINT_EVENT(tp, destructor_c_same_unit_after_provider, TP_ARGS(), TP_FIELDS()) |
| 47 | |
| 48 | TRACEPOINT_EVENT(tp, |
| 49 | constructor_cplusplus, |
| 50 | TP_ARGS(const char *, msg), |
| 51 | TP_FIELDS(ctf_string(msg, msg))) |
| 52 | |
| 53 | TRACEPOINT_EVENT(tp, |
| 54 | destructor_cplusplus, |
| 55 | TP_ARGS(const char *, msg), |
| 56 | TP_FIELDS(ctf_string(msg, msg))) |
| 57 | |
| 58 | #endif /* _TRACEPOINT_TP_H */ |
| 59 | |
| 60 | #undef TRACEPOINT_INCLUDE |
| 61 | #define TRACEPOINT_INCLUDE "./tp.h" |
| 62 | |
| 63 | /* This part must be outside ifdef protection */ |
| 64 | #include <lttng/tracepoint-event.h> |