Lines Matching refs:proto
43 #define __BPF_DECLARE_TRACE(call, proto, args) \ argument
45 __bpf_trace_##call(void *__data, proto) \
52 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
53 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args))
60 #define __DEFINE_EVENT(template, call, proto, args, size) \ argument
65 typedef void (*btf_trace_##call)(void *__data, proto); \
81 #define __CHECK_WRITABLE_BUF_SIZE(call, proto, args, size) \ argument
88 FIRST(proto); \
93 #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \ argument
94 __CHECK_WRITABLE_BUF_SIZE(call, PARAMS(proto), PARAMS(args), size) \
95 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size)
98 #define DEFINE_EVENT(template, call, proto, args) \ argument
99 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), 0)
102 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
103 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
106 #define DECLARE_TRACE(call, proto, args) \ argument
107 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
108 __DEFINE_EVENT(call, call, PARAMS(proto), PARAMS(args), 0)
111 #define DECLARE_TRACE_WRITABLE(call, proto, args, size) \ argument
112 __CHECK_WRITABLE_BUF_SIZE(call, PARAMS(proto), PARAMS(args), size) \
113 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
114 __DEFINE_EVENT(call, call, PARAMS(proto), PARAMS(args), size)