These occur for all tracepoints when using Clang 15 and a system installed systemtap
:
0# clang --version
1Debian clang version 15.0.7
2
3./autogen.sh
4./configure CC=clang-15 CXX=clang++-15
5make
6...
7net_processing.cpp:4892:5: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
8 TRACE6(net, inbound_message,
9 ^
10./util/trace.h:18:50: note: expanded from macro 'TRACE6'
11#define TRACE6(context, event, a, b, c, d, e, f) DTRACE_PROBE6(context, event, a, b, c, d, e, f)
12 ^
13/usr/include/aarch64-linux-gnu/sys/sdt.h:494:3: note: expanded from macro 'DTRACE_PROBE6'
14 STAP_PROBE6(provider,probe,parm1,parm2,parm3,parm4,parm5,parm6)
15 ^
16/usr/include/aarch64-linux-gnu/sys/sdt.h:380:3: note: expanded from macro 'STAP_PROBE6'
17 _SDT_PROBE(provider, name, 6, (arg1, arg2, arg3, arg4, arg5, arg6))
18 ^
19/usr/include/aarch64-linux-gnu/sys/sdt.h:78:75: note: expanded from macro '_SDT_PROBE'
20 __asm__ __volatile__ (_SDT_ASM_BODY(provider, name, _SDT_ASM_ARGS, (n)) \
21 ^
22/usr/include/aarch64-linux-gnu/sys/sdt.h:283:9: note: macro '_SDT_ASM_BODY' defined here
23#define _SDT_ASM_BODY(provider, name, pack_args, args, ...) \
24 ^
251 warning generated.