Fix: remove unused gfpflags.h from btrfs and compaction instrumentation
[lttng-modules.git] / instrumentation / events / lttng-module / lttng.h
index cd766d29496ccd639706d879d55f98c59745c44f..9f7eadf9dee60b4452613bad102a5ca4b0af2c8c 100644 (file)
@@ -4,21 +4,17 @@
 #if !defined(LTTNG_TRACE_LTTNG_H) || defined(TRACE_HEADER_MULTI_READ)
 #define LTTNG_TRACE_LTTNG_H
 
-#include "../../../probes/lttng-tracepoint-event.h"
+#include <probes/lttng-tracepoint-event.h>
 
 LTTNG_TRACEPOINT_EVENT(lttng_logger,
        TP_PROTO(const char __user *text, size_t len),
        TP_ARGS(text, len),
-       TP_STRUCT__entry(
-               __dynamic_array_text(char, msg, len)
-       ),
-       TP_fast_assign(
-               tp_memcpy_dyn_from_user(msg, text)
-       ),
-       TP_printk("")
+       TP_FIELDS(
+               ctf_user_sequence_text(char, msg, text, size_t, len)
+       )
 )
 
 #endif /* LTTNG_TRACE_LTTNG_H */
 
 /* This part must be outside protection */
-#include "../../../probes/define_trace.h"
+#include <probes/define_trace.h>
This page took 0.023951 seconds and 4 git commands to generate.