include/trace/events/objagg.h

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

File Facts

System
Linux kernel
Corpus path
include/trace/events/objagg.h
Extension
.h
Size
4691 bytes
Lines
229
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 objagg

#if !defined(__TRACE_OBJAGG_H) || defined(TRACE_HEADER_MULTI_READ)
#define __TRACE_OBJAGG_H

#include <linux/tracepoint.h>

struct objagg;
struct objagg_obj;

TRACE_EVENT(objagg_create,
	TP_PROTO(const struct objagg *objagg),

	TP_ARGS(objagg),

	TP_STRUCT__entry(
		__field(const void *, objagg)
	),

	TP_fast_assign(
		__entry->objagg = objagg;
	),

	TP_printk("objagg %p", __entry->objagg)
);

TRACE_EVENT(objagg_destroy,
	TP_PROTO(const struct objagg *objagg),

	TP_ARGS(objagg),

	TP_STRUCT__entry(
		__field(const void *, objagg)
	),

	TP_fast_assign(
		__entry->objagg = objagg;
	),

	TP_printk("objagg %p", __entry->objagg)
);

TRACE_EVENT(objagg_obj_create,
	TP_PROTO(const struct objagg *objagg,
		 const struct objagg_obj *obj),

	TP_ARGS(objagg, obj),

	TP_STRUCT__entry(
		__field(const void *, objagg)
		__field(const void *, obj)
	),

	TP_fast_assign(
		__entry->objagg = objagg;
		__entry->obj = obj;
	),

	TP_printk("objagg %p, obj %p", __entry->objagg, __entry->obj)
);

TRACE_EVENT(objagg_obj_destroy,
	TP_PROTO(const struct objagg *objagg,
		 const struct objagg_obj *obj),

	TP_ARGS(objagg, obj),

	TP_STRUCT__entry(
		__field(const void *, objagg)
		__field(const void *, obj)
	),

	TP_fast_assign(
		__entry->objagg = objagg;
		__entry->obj = obj;
	),

	TP_printk("objagg %p, obj %p", __entry->objagg, __entry->obj)
);

TRACE_EVENT(objagg_obj_get,
	TP_PROTO(const struct objagg *objagg,
		 const struct objagg_obj *obj,
		 unsigned int refcount),

	TP_ARGS(objagg, obj, refcount),

	TP_STRUCT__entry(
		__field(const void *, objagg)

Annotation

Implementation Notes