Lines Matching refs:proto
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))
61 #define __DEFINE_EVENT(template, call, proto, args, size) \ argument
66 typedef void (*btf_trace_##call)(void *__data, proto); \
82 #define __CHECK_WRITABLE_BUF_SIZE(call, proto, args, size) \ argument
89 FIRST(proto); \
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)