qemu-e2k/scripts
Stefan Hajnoczi b3c09bde48 kvm: add flightrecorder script
The kvm kernel module includes a number of trace events which can be
useful when debugging system behavior.  Even on production systems these
trace events can be used to observe guest behavior and identify the
source of problems.

The kvm_flightrecorder script is a command-line wrapper for the
/sys/kernel/debug/tracing interface.  Kernel symbols do not need to be
installed.

This script captures a fixed-size buffer of KVM trace events.  Recent
events overwrite the oldest events when the buffer size is exceeded and
it is possible to leave KVM tracing enabled for any period of time with
just a fixed-size buffer.  If the buffer is large enough this script is
a useful tool for collecting detailed information after an issue occurs
with a guest.  Hence the name "flight recorder".

The script can also be used in 'tail' mode to simply view KVM trace
events as they occur.  This is handy for development and to ensure that
the guest is indeed running.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2012-04-12 19:01:41 -03:00
..
kvm kvm: add flightrecorder script 2012-04-12 19:01:41 -03: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.sh Add scripts directory 2011-01-20 20:54:21 +00: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 tracetool: Forbid argument name 'next' 2012-04-05 14:54:39 +02:00
update-linux-headers.sh Add kernel header update script 2011-06-20 15:12:22 -03:00