qemu-e2k/scripts
Eduardo Habkost 749c1d8e3e simpletrace: Convert name from mapping record to str
The rest of the code assumes that idtoname is a (int -> str)
dictionary, so convert the data accordingly.

This is necessary to make the script work with Python 3 (where
reads from a binary file return 'bytes' objects, not 'str').

Fixes the following error:

  $ python3 ./scripts/simpletrace.py trace-events-all trace-27445
  b'object_class_dynamic_cast_assert' event is logged but is not \
  declared in the trace events file, try using trace-events-all instead.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-id: 20180619194549.15584-1-ehabkost@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2018-06-29 15:04:18 +01:00
..
coccinelle qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
kvm python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00
modules
qapi qapi/introspect: Eliminate pointless variable in .visit_end() 2018-06-22 16:33:47 +02:00
qemu-guest-agent
qemugdb
qmp Partially revert "python: futurize -f libfuturize.fixes.fix_absolute_import" 2018-06-22 15:45:42 -03:00
tracetool trace: forbid floating point types 2018-06-27 11:09:29 +01:00
analyse-9p-simpletrace.py python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00
analyse-locks-simpletrace.py python: futurize -f lib2to3.fixes.fix_tuple_params 2018-06-08 14:39:24 -03:00
analyze-inclusions
analyze-migration.py python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00
archive-source.sh
check-qerror.sh
checkpatch.pl checkpatch: generalize xen handle matching in the list of types 2018-05-22 11:43:21 -07:00
clean-header-guards.pl
clean-includes
cleanup-trace-events.pl
cocci-macro-file.h
coverity-model.c coverity-model: replay data is considered trusted 2018-06-13 13:47:35 +02:00
create_config Makefile: Rename TARGET_DIRS to TARGET_LIST 2018-06-05 16:25:42 +01:00
decodetree.py scripts/decodetree: Fix insnmask not marked as global in main() 2018-03-26 22:34:07 +08:00
device-crash-test python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00
disas-objdump.pl
dump-guest-memory.py python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00
extract-vsssdk-headers
feature_to_c.sh
get_maintainer.pl scripts/get_maintainer.pl: Print proper error message for missing $file 2018-03-26 14:37:12 +02:00
git-submodule.sh
git.orderfile
gtester-cat
hxtool
make_device_config.sh
make-release
qapi-gen.py
qemu-binfmt-conf.sh qemu-binfmt-conf.sh: ignore the OS/ABI field 2018-06-11 14:42:01 +02:00
qemu-gdb.py
qemu.py scripts/qemu.py: introduce set_console() method 2018-06-15 16:10:11 -03:00
qtest.py
refresh-pxe-roms.sh
replay-dump.py python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00
shaderinclude.pl
show-fixed-bugs.sh
signrom.py python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00
simpletrace.py simpletrace: Convert name from mapping record to str 2018-06-29 15:04:18 +01:00
switch-timer-api
texi2pod.pl
tracetool.py trace: include filename when printing parser error messages 2018-03-12 11:10:20 +00:00
update-linux-headers.sh scripts/update-linux-headers: Handle kernel license no longer being one file 2018-06-01 15:14:31 +02:00
vmstate-static-checker.py python: futurize -f libfuturize.fixes.fix_next_call 2018-06-08 14:39:24 -03:00