[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 00/12] simpletrace: refactor and general improvements
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v2 00/12] simpletrace: refactor and general improvements |
Date: |
Mon, 8 May 2023 11:16:07 -0400 |
On Mon, May 08, 2023 at 03:28:04PM +0200, Mads Ynddal wrote:
>
> > A question for you: do you think it's possible to move simpletrace into
> > qemu/python/utils? This requires cleaning up the code to some fairly
> > pedantic standards, but helps protect it against rot as we change target
> > python versions.
> >
> > No problem if that's too much to ask. just want to know if you had looked
> > into it.
>
> Potentially, this would be possible. But `simpletrace.py` imports
> `qemu/scripts/tracetool/`, so that would have to be moved as well, or
> installed
> as a package. I haven't touched the `tracetool` code itself, so I'm not sure
> how
> feasible it is (i.e. how many other places use `tracetool`).
tracetool is only used by QEMU's build system to generate code from the
trace-events files. In theory it's possible to move it.
I'm not sure I understand the purpose of moving it to python/. What
infrastructure does python/ provide that's not available to
simpletrace.py in its current location?
Stefan
signature.asc
Description: PGP signature
- Re: [PATCH v2 06/12] simpletrace: Simplify construction of tracing methods, (continued)
- [PATCH v2 07/12] simpletrace: Improved error handling on struct unpack, Mads Ynddal, 2023/05/02
- [PATCH v2 08/12] simpletrace: define exception and add handling, Mads Ynddal, 2023/05/02
- [PATCH v2 09/12] simpletrace: Refactor to separate responsibilities, Mads Ynddal, 2023/05/02
- [PATCH v2 10/12] MAINTAINERS: add maintainer of simpletrace.py, Mads Ynddal, 2023/05/02
- [PATCH v2 11/12] scripts/analyse-locks-simpletrace.py: changed iteritems() to items(), Mads Ynddal, 2023/05/02
- [PATCH v2 12/12] scripts/analyse-locks-simpletrace.py: reflect changes to process in simpletrace.py, Mads Ynddal, 2023/05/02
- Re: [PATCH v2 00/12] simpletrace: refactor and general improvements, John Snow, 2023/05/03
- Re: [PATCH v2 00/12] simpletrace: refactor and general improvements, Stefan Hajnoczi, 2023/05/04