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