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))
61 #define __DEFINE_EVENT(template, call, proto, args, size) \ argument
75 .num_args = COUNT_ARGS(args), \
82 #define __CHECK_WRITABLE_BUF_SIZE(call, proto, args, size) \ argument
90 (void)BUILD_BUG_ON_ZERO(size != sizeof(*FIRST(args))); \
94 #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \ argument
95 __CHECK_WRITABLE_BUF_SIZE(call, PARAMS(proto), PARAMS(args), size) \
96 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size)
99 #define DEFINE_EVENT(template, call, proto, args) \ argument
100 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), 0)
103 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
104 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
107 #define DECLARE_TRACE(call, proto, args) \ argument
108 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
109 __DEFINE_EVENT(call, call, PARAMS(proto), PARAMS(args), 0)
112 #define DECLARE_TRACE_WRITABLE(call, proto, args, size) \ argument
113 __CHECK_WRITABLE_BUF_SIZE(call, PARAMS(proto), PARAMS(args), size) \
114 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
115 __DEFINE_EVENT(call, call, PARAMS(proto), PARAMS(args), size)