summaryrefslogtreecommitdiff
path: root/include/trace/events/netlink.h
blob: f036b8a20505b1fd4986c14bd4be1e0b70e606af (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);
	),

	TP_printk("msg=%s", __get_str(msg))
);

#endif /* _TRACE_NETLINK_H */

/* This part must be outside protection */
#include <trace/define_trace.h>