We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aecdfcc + 27e08ba commit b6d7e9bCopy full SHA for b6d7e9b
scripts/tracetool/backend/dtrace.py
@@ -40,6 +40,12 @@ def generate_h_begin(events, group):
40
else:
41
header = "trace-dtrace.h"
42
43
+ # Workaround for ust backend, which also includes <sys/sdt.h> and may
44
+ # require SDT_USE_VARIADIC to be defined. If dtrace includes <sys/sdt.h>
45
+ # first without defining SDT_USE_VARIADIC then ust breaks because the
46
+ # STAP_PROBEV() macro is not defined.
47
+ out('#define SDT_USE_VARIADIC 1')
48
+
49
out('#include "%s"' % header,
50
'')
51
0 commit comments