diff options
author | 2023-09-26 12:34:33 +0200 | |
---|---|---|
committer | 2023-09-26 12:28:51 -0400 | |
commit | d1f89c23bd93e40e180d4fc727e691a698a6d522 (patch) | |
tree | e6091700482c0b9881d0f466f28462357ee6d775 /scripts/coverage/compare_gcov_json.py | |
parent | simpletrace: move logic of process into internal function (diff) | |
download | qemu-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/coverage/compare_gcov_json.py')
0 files changed, 0 insertions, 0 deletions