Tracing: Fix simpletrace.py error on tcg enabled binary traces
commit776ec96f790e2c943c13313d8ecab4713b47ab65
authorChristoph Seifert <christoph.seifert@posteo.de>
Sun, 2 Nov 2014 21:37:59 +0000 (2 22:37 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 18 Nov 2014 14:05:58 +0000 (18 14:05 +0000)
tree1bd90c0e45deeff9c76256ddbdbf597453b75eaf
parentb73e8bd414b70f7ee63474cbddce0fb809e56a5d
Tracing: Fix simpletrace.py error on tcg enabled binary traces

simpletrace.py does not recognize the tcg option while reading trace-events  file. In result simpletrace does not work on binary traces and tcg enabled events. Moved transformation of tcg enabled events to _read_events() which is used by simpletrace.

Signed-off-by: Christoph Seifert <christoph.seifert@posteo.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
scripts/tracetool/__init__.py