diff options
| author | Lee Essen <lee.essen@nowonline.co.uk> | 2012-03-20 17:02:40 +0000 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-03-30 11:55:21 +0100 |
| commit | 60be795f0b9ca06030b942367a82d80f125a50f7 (patch) | |
| tree | 6b2f4159f58a46e52f5ac88ddee0c820945f8b6a | |
| parent | 2174e2380fcf853977a73be935b369218671a9a6 (diff) | |
| download | focaccia-qemu-60be795f0b9ca06030b942367a82d80f125a50f7.tar.gz focaccia-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>
| -rwxr-xr-x | scripts/tracetool | 12 |
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 |