tracetool: dtrace disabled-events fix
authorLee Essen <lee.essen@nowonline.co.uk>
Tue, 20 Mar 2012 17:02:40 +0000 (17:02 +0000)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 30 Mar 2012 10:55:21 +0000 (11:55 +0100)
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 <lee.essen@nowonline.co.uk>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
scripts/tracetool

index 65bd0a1..a279c2c 100755 (executable)
@@ -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