qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] simpletrace: refactor and general improvements
@ 2023-02-21  9:00 Mads Ynddal
  2023-02-21  9:00 ` [PATCH 1/9] simpletrace: Improve parsing of sys.argv; fix files never closed Mads Ynddal
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Mads Ynddal @ 2023-02-21  9:00 UTC (permalink / raw)
  To: qemu-devel; +Cc: John Snow, Stefan Hajnoczi, Cleber Rosa, Mads Ynddal

From: Mads Ynddal <m.ynddal@samsung.com>

I wanted to use simpletrace.py for an internal project, so I tried to update
and polish the code. Some of the commits resolve specific issues, while some
are more subjective.

I've tried to divide it into commits so we can discuss the
individual changes, and I'm ready to pull things out, if it isn't needed.

Mads Ynddal (9):
  simpletrace: Improve parsing of sys.argv; fix files never closed.
  simpletrace: Annotate magic constants from QEMU code
  simpletrace: changed naming of edict and idtoname to improve
    readability
  simpletrace: update code for Python 3.11
  simpletrace: Changed Analyzer class to become context-manager
  simpletrace: Simplify construction of tracing methods
  simpletrace: Improved error handling on struct unpack
  simpletrace: define exception and add handling
  simpletrace: Refactor to separate responsibilities

 scripts/simpletrace.py | 293 ++++++++++++++++++-----------------------
 1 file changed, 127 insertions(+), 166 deletions(-)

-- 
2.38.1



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-02-21  9:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-21  9:00 [PATCH 0/9] simpletrace: refactor and general improvements Mads Ynddal
2023-02-21  9:00 ` [PATCH 1/9] simpletrace: Improve parsing of sys.argv; fix files never closed Mads Ynddal
2023-02-21  9:00 ` [PATCH 2/9] simpletrace: Annotate magic constants from QEMU code Mads Ynddal
2023-02-21  9:00 ` [PATCH 3/9] simpletrace: changed naming of edict and idtoname to improve readability Mads Ynddal
2023-02-21  9:10   ` Philippe Mathieu-Daudé
2023-02-21  9:00 ` [PATCH 4/9] simpletrace: update code for Python 3.11 Mads Ynddal
2023-02-21  9:01 ` [PATCH 5/9] simpletrace: Changed Analyzer class to become context-manager Mads Ynddal
2023-02-21  9:01 ` [PATCH 6/9] simpletrace: Simplify construction of tracing methods Mads Ynddal
2023-02-21  9:01 ` [PATCH 7/9] simpletrace: Improved error handling on struct unpack Mads Ynddal
2023-02-21  9:01 ` [PATCH 8/9] simpletrace: define exception and add handling Mads Ynddal
2023-02-21  9:12   ` Philippe Mathieu-Daudé
2023-02-21  9:01 ` [PATCH 9/9] simpletrace: Refactor to separate responsibilities Mads Ynddal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).