diff options
author | Alon Levy | 2012-09-02 01:04:16 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2012-09-23 08:11:28 +0200 |
commit | d8f8a860f2403533fc73f541122c65a34b21e42f (patch) | |
tree | 96685416012cea22bf95bf69ca5b1b8430c71ff1 /scripts | |
parent | pflash_cfi01: Fix warning caused by unreachable code (diff) | |
download | qemu-d8f8a860f2403533fc73f541122c65a34b21e42f.tar.gz qemu-d8f8a860f2403533fc73f541122c65a34b21e42f.tar.xz qemu-d8f8a860f2403533fc73f541122c65a34b21e42f.zip |
dtrace backend: add function to reserved words
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/tracetool/backend/dtrace.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tracetool/backend/dtrace.py b/scripts/tracetool/backend/dtrace.py index 9cab75cde8..6be7047018 100644 --- a/scripts/tracetool/backend/dtrace.py +++ b/scripts/tracetool/backend/dtrace.py @@ -87,7 +87,7 @@ def stap(events): if len(e.args) > 0: for name in e.args.names(): # Append underscore to reserved keywords - if name in ('limit', 'in', 'next', 'self'): + if name in ('limit', 'in', 'next', 'self', 'function'): name += '_' out(' %s = $arg%d;' % (name, i)) i += 1 |