blob: 3b7be3b386a4f3976738a107fe4b7e0915ae58bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#undef TRACE_SYSTEM
#define TRACE_SYSTEM netlink
#if !defined(_TRACE_NETLINK_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_NETLINK_H
#include <linux/tracepoint.h>
TRACE_EVENT(netlink_extack,
TP_PROTO(const char *msg),
TP_ARGS(msg),
TP_STRUCT__entry(
__string( msg, msg )
),
TP_fast_assign(
__assign_str(msg, msg);
),
TP_printk("msg=%s", __get_str(msg))
);
#endif /* _TRACE_NETLINK_H */
/* This part must be outside protection */
#include <trace/define_trace.h>
|