aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/xml-preprocess.py
diff options
context:
space:
mode:
authorMads Ynddal <m.ynddal@samsung.com>2023-09-26 12:34:33 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2023-09-26 12:28:51 -0400
commitd1f89c23bd93e40e180d4fc727e691a698a6d522 (patch)
treee6091700482c0b9881d0f466f28462357ee6d775 /scripts/xml-preprocess.py
parentsimpletrace: move logic of process into internal function (diff)
downloadqemu-d1f89c23bd93e40e180d4fc727e691a698a6d522.tar.xz
qemu-d1f89c23bd93e40e180d4fc727e691a698a6d522.zip
simpletrace: move event processing to Analyzer class
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. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Mads Ynddal <m.ynddal@samsung.com> Message-id: 20230926103436.25700-12-mads@ynddal.dk Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/xml-preprocess.py')
0 files changed, 0 insertions, 0 deletions