simpletrace: document Analyzer method signatures
commit659370f71f2c3d4105b04178abd751242e1c1b68
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 11 Apr 2017 09:56:54 +0000 (11 10:56 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 21 Apr 2017 09:45:35 +0000 (21 10:45 +0100)
treef7227dbed57f65b1a769280ad680fe149e3e3842
parent3d1baccb08562e2893085f102c863507917c0453
simpletrace: document Analyzer method signatures

Users can inherit from the simpletrace.Analyzer class and receive
callbacks when events of interest occur in a trace file.  The method
signature is a little magic because the timestamp and pid arguments are
optional.  Document this.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20170411095654.18383-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
scripts/simpletrace.py