qemu-patch-raspberry4/scripts
Lluís Vilanova 650ab98d1d tracetool: Rewrite infrastructure as python modules
The tracetool script is written in shell and has hit several portability
problems due to shell quirks or external tools across host platforms.
Additionally the amount of string processing and lack of real data
structures makes it tough to implement code generator backends for
tracers that are more complex.

This patch replaces the shell version of tracetool with a Python
version.  The new tracetool design is:

  scripts/tracetool.py - top-level script
  scripts/tracetool/backend/ - tracer backends live here (simple, ust)
  scripts/tracetool/format/  - output formats live here (.c, .h)

There is common code for trace-events definition parsing so that
backends can focus on generating code rather than parsing input.

Support for all existing backends (nop, stderr, simple, ust,
and dtrace) is added back in follow-up patches.

[Commit description written by Stefan Hajnoczi]

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2012-04-18 14:02:59 +01:00
..
kvm kvm: add flightrecorder script 2012-04-12 19:01:41 -03:00
tracetool tracetool: Rewrite infrastructure as python modules 2012-04-18 14:02:59 +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: Rewrite infrastructure as python modules 2012-04-18 14:02:59 +01:00
update-linux-headers.sh Add kernel header update script 2011-06-20 15:12:22 -03:00