On 2024-10-27 21:22, Andrii Nakryiko wrote:
-#define DEFINE_TRACE(name, proto, args) \ - DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args)); +#define DEFINE_TRACE_FN(_name, _reg, _unreg, _proto, _args) \ + struct tracepoint_ext __tracepoint_ext_##_name = { \can be static, no?
Yes, sorry, I'll update the series for a v5. Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. https://www.efficios.com