aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLee Essen <lee.essen@nowonline.co.uk>2012-03-20 17:02:40 +0000
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-03-30 11:55:21 +0100
commit60be795f0b9ca06030b942367a82d80f125a50f7 (patch)
tree6b2f4159f58a46e52f5ac88ddee0c820945f8b6a /scripts
parent2174e2380fcf853977a73be935b369218671a9a6 (diff)
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. Signed-off-by: Lee Essen <lee.essen@nowonline.co.uk> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tracetool12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/tracetool b/scripts/tracetool
index 65bd0a1b4c..a279c2c58b 100755
--- a/scripts/tracetool
+++ b/scripts/tracetool
@@ -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