dtrace backend: add function to reserved words
PATCH 1/1 dtrace backend: add function to reserved words
Signed-off-by Alon Levy <[email protected]>
--- scripts/tracetool/backend/dtrace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/tracetool/backend/dtrace.py +1 -1
@@ -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
Signature · 1 line
1.7.12
Stefan Hajnoczi
AppliedQuoted 4 lines · Alon Levy
Signed-off-by Alon Levy <[email protected]>--- scripts/tracetool/backend/dtrace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan