Lines Matching refs:proto
45 #define __BPF_DECLARE_TRACE(call, proto, args) \ argument
47 __bpf_trace_##call(void *__data, proto) \
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
67 typedef void (*btf_trace_##call)(void *__data, proto); \
83 #define __CHECK_WRITABLE_BUF_SIZE(call, proto, args, size) \ argument
90 FIRST(proto); \
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)