summary refs log tree commit diff stats
path: root/scripts/analyse-locks-simpletrace.py
diff options
context:
space:
mode:
authorMads Ynddal <m.ynddal@samsung.com>2023-09-26 12:34:34 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2023-09-26 12:28:51 -0400
commit3470fef15a7bff730b00633346d28b889027a609 (patch)
tree2ce85f80ac997539752f45fdf0a4a908b6f4660b /scripts/analyse-locks-simpletrace.py
parentd1f89c23bd93e40e180d4fc727e691a698a6d522 (diff)
downloadfocaccia-qemu-3470fef15a7bff730b00633346d28b889027a609.tar.gz
focaccia-qemu-3470fef15a7bff730b00633346d28b889027a609.zip
simpletrace: added simplified Analyzer2 class
By moving the dynamic argument construction to keyword-arguments,
we can remove all of the specialized handling, and streamline it.
If a tracing method wants to access these, they can define the
kwargs, or ignore it be placing `**kwargs` at the end of the
function's arguments list.

Added deprecation warning to Analyzer class to make users aware
of the Analyzer2 class. No removal date is planned.

Signed-off-by: Mads Ynddal <m.ynddal@samsung.com>
Message-id: 20230926103436.25700-13-mads@ynddal.dk
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/analyse-locks-simpletrace.py')
0 files changed, 0 insertions, 0 deletions