Lines Matching refs:args
45 #define __BPF_DECLARE_TRACE(call, proto, args) \ argument
49 CONCATENATE(bpf_trace_run, COUNT_ARGS(args))(__data, CAST_TO_U64(args)); \
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
62 CONCATENATE(bpf_trace_run, COUNT_ARGS(args))(__data, CAST_TO_U64(args)); \
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
89 .num_args = COUNT_ARGS(args), \
96 #define __CHECK_WRITABLE_BUF_SIZE(call, proto, args, size) \ argument
104 (void)BUILD_BUG_ON_ZERO(size != sizeof(*FIRST(args))); \
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)
117 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
118 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
121 #define DECLARE_TRACE(call, proto, args) \ argument
122 __BPF_DECLARE_TRACE(call##_tp, PARAMS(proto), PARAMS(args)) \
123 __DEFINE_EVENT(call##_tp, call##_tp, 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##_tp, PARAMS(proto), PARAMS(args)) \
129 __DEFINE_EVENT(call##_tp, call##_tp, PARAMS(proto), PARAMS(args), size)