qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH v4 0/8] Rewrite tracetool using python modules
@ 2012-03-30 17:57 Lluís Vilanova
  2012-03-30 17:57 ` [Qemu-devel] [RFC PATCH v4 1/8] tracetool: Rewrite infrastructure as " Lluís Vilanova
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Lluís Vilanova @ 2012-03-30 17:57 UTC (permalink / raw)
  To: qemu-devel; +Cc: stefanha

A full rewrite of the tracetool script using per-format and per-backend modules,
so that it's easier to read and extend it in the future.

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
---
NOTE: This series applies in current master, ignoring the "Rewrite tracetool
      using python" series.

Changes in v4:

* Some code cleanups according to comments from Stefan Hajnoczi:
** Removed the "public backend" concept (will be introduced only when necessary).
** Moved 'tracetool.generate' from "kwargs" to explicitly named arguments.

Changes in v3:

* Some minor fixes according to comments from Alon Levy:
** Fixed some rogue tabs.
** Fixed definition of '_SCRIPT' in "tracetool.py".
** Fixed some documentation.
** Defensively treat results from 'try_import' in 'get_list'.
** Fixed the no-arguments case in 'tracetool.backend.dtrace.d'.
** Fixed the commandline checks for the "stap" format.
** Added '__repr__' methods for both Event and Arguments objects.


Changes in v2:

* Fixed a strange import error.
* Add a pointer to 'tracetool.out' in the format and backend documentation.

Lluís Vilanova (8):
      tracetool: Rewrite infrastructure as python modules
      tracetool: Add module for the 'c' format
      tracetool: Add module for the 'h' format
      tracetool: Add support for the 'stderr' backend
      tracetool: Add support for the 'simple' backend
      tracetool: Add support for the 'ust' backend
      tracetool: Add support for the 'dtrace' backend
      tracetool: Add MAINTAINERS info


 MAINTAINERS                           |    2 
 Makefile.objs                         |    6 
 Makefile.target                       |   13 -
 configure                             |    4 
 scripts/tracetool                     |  648 ---------------------------------
 scripts/tracetool.py                  |  138 +++++++
 scripts/tracetool/__init__.py         |  231 ++++++++++++
 scripts/tracetool/backend/__init__.py |  105 +++++
 scripts/tracetool/backend/dtrace.py   |  104 +++++
 scripts/tracetool/backend/simple.py   |   60 +++
 scripts/tracetool/backend/stderr.py   |   61 +++
 scripts/tracetool/backend/ust.py      |  102 +++++
 scripts/tracetool/format/__init__.py  |   96 +++++
 scripts/tracetool/format/c.py         |   20 +
 scripts/tracetool/format/d.py         |   20 +
 scripts/tracetool/format/h.py         |   45 ++
 scripts/tracetool/format/stap.py      |   20 +
 17 files changed, 1016 insertions(+), 659 deletions(-)
 delete mode 100755 scripts/tracetool
 create mode 100755 scripts/tracetool.py
 create mode 100644 scripts/tracetool/__init__.py
 create mode 100644 scripts/tracetool/backend/__init__.py
 create mode 100644 scripts/tracetool/backend/dtrace.py
 create mode 100644 scripts/tracetool/backend/simple.py
 create mode 100644 scripts/tracetool/backend/stderr.py
 create mode 100644 scripts/tracetool/backend/ust.py
 create mode 100644 scripts/tracetool/format/__init__.py
 create mode 100644 scripts/tracetool/format/c.py
 create mode 100644 scripts/tracetool/format/d.py
 create mode 100644 scripts/tracetool/format/h.py
 create mode 100644 scripts/tracetool/format/stap.py

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

end of thread, other threads:[~2012-03-30 17:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-30 17:57 [Qemu-devel] [RFC PATCH v4 0/8] Rewrite tracetool using python modules Lluís Vilanova
2012-03-30 17:57 ` [Qemu-devel] [RFC PATCH v4 1/8] tracetool: Rewrite infrastructure as " Lluís Vilanova
2012-03-30 17:57 ` [Qemu-devel] [RFC PATCH v4 2/8] tracetool: Add module for the 'c' format Lluís Vilanova
2012-03-30 17:57 ` [Qemu-devel] [RFC PATCH v4 3/8] tracetool: Add module for the 'h' format Lluís Vilanova
2012-03-30 17:57 ` [Qemu-devel] [RFC PATCH v4 4/8] tracetool: Add support for the 'stderr' backend Lluís Vilanova
2012-03-30 17:57 ` [Qemu-devel] [RFC PATCH v4 5/8] tracetool: Add support for the 'simple' backend Lluís Vilanova
2012-03-30 17:57 ` [Qemu-devel] [RFC PATCH v4 6/8] tracetool: Add support for the 'ust' backend Lluís Vilanova
2012-03-30 17:58 ` [Qemu-devel] [RFC PATCH v4 7/8] tracetool: Add support for the 'dtrace' backend Lluís Vilanova
2012-03-30 17:58 ` [Qemu-devel] [RFC PATCH v4 8/8] tracetool: Add MAINTAINERS info Lluís Vilanova

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).