simpletrace: add simpletrace.py --no-header option
commit15327c3df049c9621ff9b542ccbfc3d17203d1f7
authorStefan Hajnoczi <stefanha@redhat.com>
Sun, 22 Jun 2014 13:46:06 +0000 (22 21:46 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 12 Aug 2014 13:26:11 +0000 (12 14:26 +0100)
treefb427a256ce8c6570719f12971c1bf5f54f5c9c5
parent3f8b112d6b9ab65e165096582c78154dda1adc69
simpletrace: add simpletrace.py --no-header option

It can be useful to read simpletrace files that have no header.  For
example, a ring buffer may not have a header record but can still be
processed if the user is sure the file format version is compatible.

  $ scripts/simpletrace.py --no-header trace-events trace-file

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
scripts/simpletrace.py