Lines Matching refs:call
58 #define __BPF_DECLARE_TRACE(call, proto, args) \ argument
60 __bpf_trace_##call(void *__data, proto) \
67 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
68 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args))
75 #define __DEFINE_EVENT(template, call, proto, args, size) \ argument
76 static inline void bpf_test_probe_##call(void) \
78 check_trace_callback_type_##call(__bpf_trace_##template); \
80 typedef void (*btf_trace_##call)(void *__data, proto); \
83 btf_trace_##call handler; \
84 } __bpf_trace_tp_map_##call __used \
87 .tp = &__tracepoint_##call, \
97 #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \ argument
98 static inline void bpf_test_buffer_##call(void) \
107 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size)
110 #define DEFINE_EVENT(template, call, proto, args) \ argument
111 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), 0)
118 #define DECLARE_TRACE(call, proto, args) \ argument
119 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
120 __DEFINE_EVENT(call, call, PARAMS(proto), PARAMS(args), 0)