Add metadata channel, basic test passes
[lttng-modules.git] / instrumentation / events / lttng-module / lttng.h
CommitLineData
cd4bd11f
MD
1#undef TRACE_SYSTEM
2#define TRACE_SYSTEM lttng
3
4#if !defined(_TRACE_LTTNG_H) || defined(TRACE_HEADER_MULTI_READ)
5#define _TRACE_LTTNG_H
6
7#include <linux/tracepoint.h>
8
9TRACE_EVENT(lttng_metadata,
10
11 TP_PROTO(const char *str),
12
13 TP_ARGS(str),
14
15 TP_STRUCT__entry(
16 __string( string, str )
17 ),
18
19 TP_fast_assign(
20 tp_strcpy(string, str)
21 ),
22
23 TP_printk("")
24)
25
26#endif /* _TRACE_LTTNG_H */
27
28/* This part must be outside protection */
29#include "define_trace.h"
This page took 0.02329 seconds and 4 git commands to generate.