summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLee Essen2012-03-20 18:02:40 +0100
committerStefan Hajnoczi2012-03-30 12:55:21 +0200
commit60be795f0b9ca06030b942367a82d80f125a50f7 (patch)
tree6b2f4159f58a46e52f5ac88ddee0c820945f8b6a /scripts
parentMakefile.target: code stp dependency on trace-events (diff)
downloadqemu-60be795f0b9ca06030b942367a82d80f125a50f7.tar.gz
qemu-60be795f0b9ca06030b942367a82d80f125a50f7.tar.xz
qemu-60be795f0b9ca06030b942367a82d80f125a50f7.zip
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