Lines Matching full:call
80 #define __BPF_DECLARE_TRACE(call, proto, args) \ argument
82 __bpf_trace_##call(void *__data, proto) \
89 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
90 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args))
97 #define __DEFINE_EVENT(template, call, proto, args, size) \ argument
98 static inline void bpf_test_probe_##call(void) \
100 check_trace_callback_type_##call(__bpf_trace_##template); \
102 typedef void (*btf_trace_##call)(void *__data, proto); \
105 btf_trace_##call handler; \
106 } __bpf_trace_tp_map_##call __used \
109 .tp = &__tracepoint_##call, \
118 #define __CHECK_WRITABLE_BUF_SIZE(call, proto, args, size) \ argument
119 static inline void bpf_test_buffer_##call(void) \
130 #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \ argument
131 __CHECK_WRITABLE_BUF_SIZE(call, PARAMS(proto), PARAMS(args), size) \
132 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size)
135 #define DEFINE_EVENT(template, call, proto, args) \ argument
136 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), 0)
143 #define DECLARE_TRACE(call, proto, args) \ argument
144 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
145 __DEFINE_EVENT(call, call, PARAMS(proto), PARAMS(args), 0)
148 #define DECLARE_TRACE_WRITABLE(call, proto, args, size) \ argument
149 __CHECK_WRITABLE_BUF_SIZE(call, PARAMS(proto), PARAMS(args), size) \
150 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
151 __DEFINE_EVENT(call, call, PARAMS(proto), PARAMS(args), size)