include/trace/events/netlink.h

Source file repositories/reference/linux-study-clean/include/trace/events/netlink.h

File Facts

System
Linux kernel
Corpus path
include/trace/events/netlink.h
Extension
.h
Size
485 bytes
Lines
30
Domain
Repository Root And Misc
Bucket
include
Inferred role
Repository Root And Misc: implementation source
Status
source implementation candidate

Why This File Exists

Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.

Dependency Surface

Detected Declarations

Annotated Snippet

#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>

Annotation

Implementation Notes