Lines Matching full: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))
56 #define __BPF_DECLARE_TRACE_SYSCALL(call, proto, args) \ argument
58 __bpf_trace_##call(void *__data, proto) \
67 #define DECLARE_EVENT_SYSCALL_CLASS(call, proto, args, tstruct, assign, print) \ argument
68 __BPF_DECLARE_TRACE_SYSCALL(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, \
96 #define __CHECK_WRITABLE_BUF_SIZE(call, proto, args, size) \ argument
97 static inline void bpf_test_buffer_##call(void) \
108 #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \ argument
109 __CHECK_WRITABLE_BUF_SIZE(call, PARAMS(proto), PARAMS(args), size) \
110 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size)
113 #define DEFINE_EVENT(template, call, proto, args) \ argument
114 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), 0)
121 #define DECLARE_TRACE(call, proto, args) \ argument
122 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
123 __DEFINE_EVENT(call, call, PARAMS(proto), PARAMS(args), 0)
126 #define DECLARE_TRACE_WRITABLE(call, proto, args, size) \ argument
127 __CHECK_WRITABLE_BUF_SIZE(call, PARAMS(proto), PARAMS(args), size) \
128 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
129 __DEFINE_EVENT(call, call, PARAMS(proto), PARAMS(args), size)