qemu-e2k/scripts
Stefan Hajnoczi 840d835177 simpletrace: fix flight recorder --no-header option
The simpletrace.py script can pretty-print flight recorder ring buffers.
These are not full simpletrace binary trace files but just the end of a
trace file.  There is no header and the event ID mapping information is
often unavailable since the ring buffer may have filled up and discarded
event ID mapping records.

The simpletrace.stp script that generates ring buffer traces uses the
same trace-events-all input file as simpletrace.py.  Therefore both
scripts have the same global ordering of trace events.  A dynamic event
ID mapping isn't necessary: just use the trace-events-all file as the
reference for how event IDs are numbered.

It is now possible to analyze simpletrace.stp ring buffers again using:

  $ ./simpletrace.py trace-events-all path/to/ring-buffer

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20170815084430.7128-3-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2017-08-15 12:50:29 +01:00
..
coccinelle coccinelle: add a script to optimize tcg op using tcg_gen_extract() 2017-07-19 14:45:15 -07:00
kvm vmxcap: update for September 2016 SDM 2017-03-03 16:40:02 +01:00
modules
qemu-guest-agent
qemugdb scripts/qemugdb/mtree.py: fix up mtree dump 2017-04-07 15:24:56 +01:00
qmp scripts/qmp/qom-set: fix the value argument passed to srv.command() 2017-05-23 13:28:17 +02:00
tracetool trace: use static event ID mapping in simpletrace.stp 2017-08-15 12:50:29 +01:00
analyse-9p-simpletrace.py
analyze-inclusions
analyze-migration.py
check-qerror.sh
checkpatch.pl checkpatch: check trace-events code style 2017-08-01 12:13:07 +01:00
clean-header-guards.pl scripts: Switch to more portable Perl shebang 2017-05-10 10:19:24 +03:00
clean-includes
cleanup-trace-events.pl scripts: Switch to more portable Perl shebang 2017-05-10 10:19:24 +03:00
cocci-macro-file.h
coverity-model.c coverity-model: model address_space_read/write 2017-03-15 13:59:16 +01:00
create_config
device-crash-test device-crash-test: Fix regexp on whitelist 2017-07-17 15:41:29 -03:00
disas-objdump.pl scripts: Switch to more portable Perl shebang 2017-05-10 10:19:24 +03:00
dump-guest-memory.py scripts/dump-guest-memory.py: fix int128_get64 on recent gcc 2017-03-14 13:26:36 +01:00
extract-vsssdk-headers
feature_to_c.sh
get_maintainer.pl trivial patches for 2017-05-10 2017-05-10 12:31:19 -04:00
git.orderfile add scripts/git.orderfile 2017-07-20 09:56:41 +02:00
gtester-cat
hxtool hxtool: remove dead -q option 2017-07-11 17:42:49 +03:00
make-release
make_device_config.sh
ordereddict.py
qapi-commands.py scripts: use build_ prefix for string not piped through cgen() 2017-07-12 17:51:54 +02:00
qapi-event.py scripts: use build_ prefix for string not piped through cgen() 2017-07-12 17:51:54 +02:00
qapi-introspect.py qapi: Prefer single-quoted strings more consistently 2017-03-16 07:13:02 +01:00
qapi-types.py qapi: Prefer single-quoted strings more consistently 2017-03-16 07:13:02 +01:00
qapi-visit.py qapi: Remove visit_start_alternate() parameter promote_int 2017-06-20 14:31:31 +02:00
qapi.py qapi: Introduce a first class 'null' type 2017-07-24 13:35:11 +02:00
qapi2texi.py docs: fix broken paths to docs/devel/qapi-code-gen.txt 2017-07-31 13:12:41 +03:00
qemu-binfmt-conf.sh scripts/qemu-binfmt-conf.sh: Fix shell portability issue 2017-05-10 10:19:23 +03:00
qemu-gdb.py
qemu.py qemu.py: Add QEMUMachine.exitcode() method 2017-06-05 14:59:09 -03:00
qtest.py
refresh-pxe-roms.sh
shaderinclude.pl scripts: Switch to more portable Perl shebang 2017-05-10 10:19:24 +03:00
show-fixed-bugs.sh
signrom.py
simpletrace.py simpletrace: fix flight recorder --no-header option 2017-08-15 12:50:29 +01:00
switch-timer-api scripts: Switch to more portable Perl shebang 2017-05-10 10:19:24 +03:00
texi2pod.pl scripts: Switch to more portable Perl shebang 2017-05-10 10:19:24 +03:00
tracetool.py
update-linux-headers.sh linux-headers: update 2017-05-19 12:29:01 +02:00
vmstate-static-checker.py