Lines Matching full:call
45 #define __BPF_DECLARE_TRACE(call, proto, args) \ argument
47 __bpf_trace_##call(void *__data, proto) \
54 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
55 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args))
62 #define __DEFINE_EVENT(template, call, proto, args, size) \ argument
63 static inline void bpf_test_probe_##call(void) \
65 check_trace_callback_type_##call(__bpf_trace_##template); \
67 typedef void (*btf_trace_##call)(void *__data, proto); \
70 btf_trace_##call handler; \
71 } __bpf_trace_tp_map_##call __used \
74 .tp = &__tracepoint_##call, \
83 #define __CHECK_WRITABLE_BUF_SIZE(call, proto, args, size) \ argument
84 static inline void bpf_test_buffer_##call(void) \
95 #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \ argument
96 __CHECK_WRITABLE_BUF_SIZE(call, PARAMS(proto), PARAMS(args), size) \
97 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size)
100 #define DEFINE_EVENT(template, call, proto, args) \ argument
101 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), 0)
108 #define DECLARE_TRACE(call, proto, args) \ argument
109 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
110 __DEFINE_EVENT(call, call, PARAMS(proto), PARAMS(args), 0)
113 #define DECLARE_TRACE_WRITABLE(call, proto, args, size) \ argument
114 __CHECK_WRITABLE_BUF_SIZE(call, PARAMS(proto), PARAMS(args), size) \
115 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
116 __DEFINE_EVENT(call, call, PARAMS(proto), PARAMS(args), size)