trace: push reading of events up a level to tracetool main
commit9096b78a38a22963ca59bb16d54a772aa86d5159
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 4 Oct 2016 13:35:57 +0000 (4 14:35 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 12 Oct 2016 07:54:52 +0000 (12 09:54 +0200)
tree4e779f2acd0f30ccfe295cf14c0e165eb48bb49a
parentd1b97bcea3586bad572879f22437f44c690874cb
trace: push reading of events up a level to tracetool main

Move the reading of events out of the 'tracetool.generate'
method and into tracetool.main, so that the latter is not
tied to generating from a single source of events.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: LluĂ­s Vilanova <vilanova@ac.upc.edu>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1475588159-30598-19-git-send-email-berrange@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
scripts/tracetool.py
scripts/tracetool/__init__.py