diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-04-16 12:47:58 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-04-18 14:03:00 +0100 |
commit | 256a721d46a112d8807a488ec0176985c09bbbf1 (patch) | |
tree | 45c6fd636d58700858467f6fe5871f5b913dec7a /aes.c | |
parent | f70fd8fdf646714c3f75d3b27a33f42caf856fc6 (diff) |
tracetool: handle DTrace keywords 'in', 'next', 'self'
Language keywords cannot be used as argument names. The DTrace backend
appends an underscore to the argument name in order to make the argument
name legal.
This patch adds 'in', 'next', and 'self' keywords to dtrace.py.
Also drop the unnecessary argument name lstrip() call. The
Arguments.build() method already ensures there is no space around
argument names. Furthermore it is misleading to do the lstrip() *after*
checking against keywords because the keyword check would not match if
spaces were in the name.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Reviewed-by: Alon Levy <alevy@redhat.com>
Reviewed-by: LluĂs Vilanova <vilanova@ac.upc.edu>
Diffstat (limited to 'aes.c')
0 files changed, 0 insertions, 0 deletions