Lines Matching refs:args
45 #define __BPF_DECLARE_TRACE(call, proto, args) \ argument
50 CONCATENATE(bpf_trace_run, COUNT_ARGS(args))(prog, CAST_TO_U64(args)); \
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
76 .num_args = COUNT_ARGS(args), \
83 #define __CHECK_WRITABLE_BUF_SIZE(call, proto, args, size) \ argument
91 (void)BUILD_BUG_ON_ZERO(size != sizeof(*FIRST(args))); \
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)
104 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
105 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
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)