TP_ARGS(str),
+ /*
+ * Not exactly a string: more a sequence of bytes (dynamic
+ * array) without the length. This is a dummy anyway: we only
+ * use this declaration to generate an event metadata entry.
+ */
TP_STRUCT__entry(
- __string( string, str )
+ __string( str, str )
),
TP_fast_assign(
- tp_strcpy(string, str)
+ tp_strcpy(str, str)
),
TP_printk("")
#endif /* _TRACE_LTTNG_H */
/* This part must be outside protection */
-#include "define_trace.h"
+#include "../../../probes/define_trace.h"