| 1 | #undef TRACE_SYSTEM |
| 2 | #define TRACE_SYSTEM lttng |
| 3 | |
| 4 | #if !defined(LTTNG_TRACE_LTTNG_H) || defined(TRACE_HEADER_MULTI_READ) |
| 5 | #define LTTNG_TRACE_LTTNG_H |
| 6 | |
| 7 | #include <probes/lttng-tracepoint-event.h> |
| 8 | |
| 9 | LTTNG_TRACEPOINT_EVENT(lttng_logger, |
| 10 | TP_PROTO(const char __user *text, size_t len), |
| 11 | TP_ARGS(text, len), |
| 12 | TP_FIELDS( |
| 13 | ctf_user_sequence_text(char, msg, text, size_t, len) |
| 14 | ) |
| 15 | ) |
| 16 | |
| 17 | #endif /* LTTNG_TRACE_LTTNG_H */ |
| 18 | |
| 19 | /* This part must be outside protection */ |
| 20 | #include <probes/define_trace.h> |