[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 12/14] simpletrace: added simplified Analyzer2 class
From: |
Mads Ynddal |
Subject: |
Re: [PATCH v3 12/14] simpletrace: added simplified Analyzer2 class |
Date: |
Fri, 9 Jun 2023 21:20:07 +0200 |
> On 8 Jun 2023, at 14.41, Mads Ynddal <mads@ynddal.dk> wrote:
>
> From: Mads Ynddal <m.ynddal@samsung.com>
>
> 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>
> ---
> scripts/simpletrace.py | 72 ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 72 insertions(+)
I noticed I'm missing Analyzer2 in __all__
- [PATCH v3 03/14] simpletrace: improve parsing of sys.argv; fix files never closed., (continued)
- [PATCH v3 03/14] simpletrace: improve parsing of sys.argv; fix files never closed., Mads Ynddal, 2023/06/08
- [PATCH v3 04/14] simpletrace: changed naming of edict and idtoname to improve readability, Mads Ynddal, 2023/06/08
- [PATCH v3 05/14] simpletrace: update code for Python 3.11, Mads Ynddal, 2023/06/08
- [PATCH v3 06/14] simpletrace: improved error handling on struct unpack, Mads Ynddal, 2023/06/08
- [PATCH v3 07/14] simpletrace: define exception and add handling, Mads Ynddal, 2023/06/08
- [PATCH v3 08/14] simpletrace: made Analyzer into context-manager, Mads Ynddal, 2023/06/08
- [PATCH v3 09/14] simpletrace: refactor to separate responsibilities, Mads Ynddal, 2023/06/08
- [PATCH v3 10/14] simpletrace: move logic of process into internal function, Mads Ynddal, 2023/06/08
- [PATCH v3 11/14] simpletrace: move event processing to Analyzer class, Mads Ynddal, 2023/06/08
- [PATCH v3 12/14] simpletrace: added simplified Analyzer2 class, Mads Ynddal, 2023/06/08
- Re: [PATCH v3 12/14] simpletrace: added simplified Analyzer2 class,
Mads Ynddal <=
- [PATCH v3 13/14] MAINTAINERS: add maintainer of simpletrace.py, Mads Ynddal, 2023/06/08
- [PATCH v3 14/14] scripts/analyse-locks-simpletrace.py: changed iteritems() to items(), Mads Ynddal, 2023/06/08