diff options
author | Alon Levy <alevy@redhat.com> | 2012-09-02 02:04:16 +0300 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@gmail.com> | 2012-09-23 07:11:28 +0100 |
commit | d8f8a860f2403533fc73f541122c65a34b21e42f (patch) | |
tree | 96685416012cea22bf95bf69ca5b1b8430c71ff1 /scripts/tracetool/backend | |
parent | 12dabc79f976d66755025272f7e2e8e4da31715a (diff) |
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/tracetool/backend')
-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 |