On Wed, Aug 23, 2023 at 10:54:26AM +0200, Mads Ynddal wrote: > From: Mads Ynddal <m.ynd...@samsung.com> > > Moved event processing to the Analyzer class to separate specific analyzer > logic (like caching and function signatures) from the _process function. > This allows for new types of Analyzer-based subclasses without changing > the core code. > > Note, that the fn_cache is important for performance in cases where the > analyzer is branching away from the catch-all a lot. The cache has no > measurable performance penalty. > > Signed-off-by: Mads Ynddal <m.ynd...@samsung.com> > --- > scripts/simpletrace.py | 60 +++++++++++++++++++++++++----------------- > 1 file changed, 36 insertions(+), 24 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature