Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / trace / events / netlink.h
blobf036b8a20505b1fd4986c14bd4be1e0b70e606af
1 #undef TRACE_SYSTEM
2 #define TRACE_SYSTEM netlink
4 #if !defined(_TRACE_NETLINK_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define _TRACE_NETLINK_H
7 #include <linux/tracepoint.h>
9 TRACE_EVENT(netlink_extack,
11 TP_PROTO(const char *msg),
13 TP_ARGS(msg),
15 TP_STRUCT__entry(
16 __string( msg, msg )
19 TP_fast_assign(
20 __assign_str(msg);
23 TP_printk("msg=%s", __get_str(msg))
26 #endif /* _TRACE_NETLINK_H */
28 /* This part must be outside protection */
29 #include <trace/define_trace.h>