qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] dtrace backend: add function to reserved words
@ 2012-09-01 23:04 Alon Levy
  2012-09-22 15:53 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
  0 siblings, 1 reply; 3+ messages in thread
From: Alon Levy @ 2012-09-01 23:04 UTC (permalink / raw)
  To: qemu-devel, qemu-trivial

Signed-off-by: Alon Levy <alevy@redhat.com>
---
 scripts/tracetool/backend/dtrace.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/tracetool/backend/dtrace.py b/scripts/tracetool/backend/dtrace.py
index 9cab75c..6be7047 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
-- 
1.7.12

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Qemu-devel] [PATCH] dtrace backend: add function to reserved words
@ 2012-09-11  6:55 Alon Levy
  0 siblings, 0 replies; 3+ messages in thread
From: Alon Levy @ 2012-09-11  6:55 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Hajnoczi

Signed-off-by: Alon Levy <alevy@redhat.com>
---
 scripts/tracetool/backend/dtrace.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/tracetool/backend/dtrace.py b/scripts/tracetool/backend/dtrace.py
index 9cab75c..6be7047 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
-- 
1.7.12

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [Qemu-trivial] [PATCH] dtrace backend: add function to reserved words
  2012-09-01 23:04 [Qemu-devel] [PATCH] dtrace backend: add function to reserved words Alon Levy
@ 2012-09-22 15:53 ` Stefan Hajnoczi
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2012-09-22 15:53 UTC (permalink / raw)
  To: Alon Levy; +Cc: qemu-trivial, qemu-devel

On Sun, Sep 02, 2012 at 02:04:16AM +0300, Alon Levy wrote:
> Signed-off-by: Alon Levy <alevy@redhat.com>
> ---
>  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-22 15:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-01 23:04 [Qemu-devel] [PATCH] dtrace backend: add function to reserved words Alon Levy
2012-09-22 15:53 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
  -- strict thread matches above, loose matches on Subject: below --
2012-09-11  6:55 [Qemu-devel] " Alon Levy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).