tracetool dtrace disabled-events fix
PATCH v2 1/1 tracetool dtrace disabled-events fix
If there are "disabled" entries in the trace-events file then linetod_nop() is called if the backend is dtrace, it's currently not present. Also equivalent fix for stap.
--
scripts/tracetool +12 -0
@@ -161,6 +161,18 @@ linetoc_nop() return } +linetod_nop() +{ + # Used when "disabled" events are processed + return +} + +linetostap_nop() +{ + # Used when "disabled" events are processed + return +} + linetoc_end_nop() { return
Stefan Hajnoczi
AppliedQuoted 7 lines · Lee Essen
If there are "disabled" entries in the trace-events file then
linetod_nop()is called if the backend is dtrace, it's currently not present. Also equivalent fix for stap.Signed-off-by Lee Essen<[email protected]>--
Thanks, applied to the tracing patches tree:
https://github.com/stefanha/qemu/commits/tracing
Note that this patch has whitespace damage. I hat to apply it manually because git-am(1) would not accept it. Please check your patch sending process - using git-send-email(1) works best and shouldn't mangle whitespace.
Also please use "Lee Essen <[email protected]>" with a space between the name and email address. I'm not sure if any parsers have problems when the space is missing, but it normally needs to be there.
Stefan