simpletrace: added simplified Analyzer2 class
authorMads Ynddal <m.ynddal@samsung.com>
Tue, 26 Sep 2023 10:34:34 +0000 (12:34 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 26 Sep 2023 16:28:51 +0000 (12:28 -0400)
commit3470fef15a7bff730b00633346d28b889027a609
tree2ce85f80ac997539752f45fdf0a4a908b6f4660b
parentd1f89c23bd93e40e180d4fc727e691a698a6d522
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>
scripts/simpletrace.py