Commit graph

9 commits

Author SHA1 Message Date
Stefan Sauer
e8fffa073d tracer/parser: use local vars in the iterator function
This saves variable lookups in this thight loop.
2016-12-20 09:25:30 +01:00
Stefan Sauer
876f3994ca tracer: pep8 cleanup 2016-12-20 08:24:57 +01:00
Stefan Sauer
52ce3ef666 tracer: update docstrings 2016-12-20 08:24:57 +01:00
Stefan Sauer
64ce582313 tracer/structure: improve performance
Use local vars in the parser. This way we can make them static methods.
2016-12-20 08:24:57 +01:00
Stefan Sauer
b2576972ce tracer/gsttr-stats: adding some filtering options
Also adding a way to show what is in the file.
2016-12-20 08:24:57 +01:00
Stefan Sauer
2239c8b7ac tracer/Makefile: fix test invocation
And fix a deprecation warning.
2016-12-20 08:24:57 +01:00
Stefan Sauer
91ac5089cf tracer/structure: add more tests and a benchmark 2016-12-20 08:24:57 +01:00
Stefan Sauer
68d1925826 tracer/gsttr-stats: split Analyzer into Analyzer and AnalysisRunner
This lets us run chain analyzers. Move the stats collection into the
gsttr-stats tool.
2016-12-20 08:24:57 +01:00
Stefan Sauer
896201af35 tracer: add new python library to process tracer logs
This is the beginning of a python library for wrting tools that process tracer
logs. This library contains a structure parser written in python to avoid the
dependency on gobject introspection (and the slowness and non pythoness that
comes with it).
2016-12-20 08:24:57 +01:00