qemu-patch-raspberry4/scripts
Stefan Hajnoczi 256a721d46 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>
2012-04-18 14:03:00 +01:00
..
kvm kvm: add flightrecorder script 2012-04-12 19:01:41 -03:00
tracetool tracetool: handle DTrace keywords 'in', 'next', 'self' 2012-04-18 14:03:00 +01:00
analyse-9p-simpletrace.py scripts/analyse-9p-simpletrace.py: Add symbolic names for 9p operations. 2011-12-21 12:37:23 +05:30
check-qerror.sh qerror: add check-qerror.sh to verify alphabetical order 2012-01-18 10:23:39 -02:00
checkpatch.pl Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
create_config Fix conversion from lower to upper case with Turkish locale 2012-03-31 12:03:43 +00:00
feature_to_c.sh gdbstub-xml: avoid a warning from sparse 2011-01-23 11:43:25 +00:00
get_maintainer.pl get_maintainer: update to match qemu tree 2011-06-16 00:20:06 +03:00
gtester-cat test makefile overhaul 2012-03-30 08:14:11 -05:00
hxtool vl.c: In qemu -h output, only print options for the arch we are running as 2011-12-19 10:27:33 -06:00
make_device_config.sh Add scripts directory 2011-01-20 20:54:21 +00:00
ordereddict.py qapi: add ordereddict.py helper library 2011-07-21 16:48:14 -03:00
qapi-commands.py qmp: parse commands in strict mode 2012-03-27 09:15:41 -03:00
qapi-types.py qapi: add c_fun to escape function names 2012-03-26 13:21:46 -05:00
qapi-visit.py qapi: untangle next_list 2012-03-27 09:14:19 -03:00
qapi.py qapi: add c_fun to escape function names 2012-03-26 13:21:46 -05:00
qemu-binfmt-conf.sh s390x: s390x-linux-user support 2011-05-20 17:35:12 +02:00
qemu-gdb.py scripts: add gdb support script 2012-03-24 12:57:02 +00:00
qtest qtest: add test framework 2012-03-30 08:14:11 -05:00
refresh-pxe-roms.sh PXE: Refresh all PXE ROMs from the ipxe submodule 2011-04-18 11:46:41 -06:00
signrom.py signrom: Rewrite as python script 2012-04-16 15:41:20 +02:00
simpletrace.py simpletrace: fix process() argument count 2011-09-01 10:34:54 +01:00
texi2pod.pl Support utf8 chars in pod docs 2012-03-24 14:10:25 +00:00
tracetool.py tracetool: Add support for the 'dtrace' backend 2012-04-18 14:03:00 +01:00
update-linux-headers.sh Add kernel header update script 2011-06-20 15:12:22 -03:00