tracetool dtrace disabled-events fix
PATCH 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.
Signed-off-by Lee Essen <[email protected]>
--
scripts/tracetool +6 -0
@@ -161,6 +161,12 @@ linetoc_nop() return } +linetod_nop() +{ + # Used when "disabled" events are processed + return +} + linetoc_end_nop() { return
Quoted 15 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.Signed-off-by Lee Essen <[email protected]>--
scripts/tracetool +0
-0@@ -161,6 +161,12 @@ linetoc_nop()return
}
scripts/tracetool linetoc_nop() · line 168
Quoted 5 lines
scripts/tracetool +5
-0+linetod_nop() +{ + # Used when "disabled" events are processed + return +}
Please also add linetostap_nop() for SystemTap builds - the nop function was missing there too.
Otherwise looks good.
Stefan