Lines Matching refs:call
45 #define __BPF_DECLARE_TRACE(call, proto, args) \ argument
47 __bpf_trace_##call(void *__data, proto) \
53 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
54 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args))
61 #define __DEFINE_EVENT(template, call, proto, args, size) \ argument
62 static inline void bpf_test_probe_##call(void) \
64 check_trace_callback_type_##call(__bpf_trace_##template); \
66 typedef void (*btf_trace_##call)(void *__data, proto); \
69 btf_trace_##call handler; \
70 } __bpf_trace_tp_map_##call __used \
73 .tp = &__tracepoint_##call, \
82 #define __CHECK_WRITABLE_BUF_SIZE(call, proto, args, size) \ argument
83 static inline void bpf_test_buffer_##call(void) \
94 #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \ argument
95 __CHECK_WRITABLE_BUF_SIZE(call, PARAMS(proto), PARAMS(args), size) \
96 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size)
99 #define DEFINE_EVENT(template, call, proto, args) \ argument
100 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), 0)
107 #define DECLARE_TRACE(call, proto, args) \ argument
108 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
109 __DEFINE_EVENT(call, call, PARAMS(proto), PARAMS(args), 0)
112 #define DECLARE_TRACE_WRITABLE(call, proto, args, size) \ argument
113 __CHECK_WRITABLE_BUF_SIZE(call, PARAMS(proto), PARAMS(args), size) \
114 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
115 __DEFINE_EVENT(call, call, PARAMS(proto), PARAMS(args), size)