Re: [Qemu-devel] [PATCH] simpletrace: document Analyzer method signatures

2017-04-11 Thread Stefan Hajnoczi
On Tue, Apr 11, 2017 at 10:56:54AM +0100, Stefan Hajnoczi wrote: > 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

Re: [Qemu-devel] [PATCH] simpletrace: document Analyzer method signatures

2017-04-11 Thread Alex Bennée
Stefan Hajnoczi writes: > 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 Hajno

[Qemu-devel] [PATCH] simpletrace: document Analyzer method signatures

2017-04-11 Thread Stefan Hajnoczi
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 --- scripts/simpletrace.py | 23