Tracetool cleanup
Status from this message: Thanks, applied to my tracing-next tree:
Get series with b4
b4 am [email protected]Versions newest first
Changes in v2 from the cover letter
* Rebase on 6f0b22d.
* Remove "API" variable in forntend modules.
* Further split changes.
* Bump up trace format version for the simple backend.
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | trace: [tracetool] Add method 'Event.api' to build event namesscripts/ scripts/ scripts/ +3 more | +27 | 0 replies | |
| 2/8 | trace: [tracetool] Add methods 'Event.copy' and 'Arguments.copy'scripts/ | +9 | 0 replies | |
| 3/8 | trace: [tracetool] Spacing changesscripts/ | +4 | 0 replies | |
| 4/8 | trace: [tracetool] Cosmetic changesscripts/ | +7 | 0 replies | |
| 5/8 | trace: [tracetool] Show list of frontends and backends sorted by namescripts/ scripts/ | +3 | 0 replies | |
| 6/8 | trace: [tracetool] Change format docs to point to the generated filescripts/ scripts/ scripts/ +4 more | +11 | 0 replies | |
| 7/8 | trace: [simple] Bump up log version numberscripts/ trace/ | +6 | 3 replies | |
| 8/8 | trace: [tracetool] Minimize the amount of per-backend codescripts/ scripts/ scripts/ +16 more | +310 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/8] Tracetool cleanup
Minimizes the amount of backend code, making it simpler to add new/different backends.
Also performs other cleanups all around.
---
Changes in v2:
* Rebase on 6f0b22d.
* Remove "API" variable in forntend modules.
* Further split changes.
* Bump up trace format version for the simple backend.
Lluís Vilanova (8):
trace: [tracetool] Add method 'Event.api' to build event names
trace: [tracetool] Add methods 'Event.copy' and 'Arguments.copy'
trace: [tracetool] Spacing changes
trace: [tracetool] Cosmetic changes
trace: [tracetool] Show list of frontends and backends sorted by name
trace: [tracetool] Change format docs to point to the generated file
trace: [simple] Bump up log version number
trace: [tracetool] Minimize the amount of per-backend code
scripts/simpletrace.py | 16 +--- scripts/tracetool/__init__.py | 53 ++++++------ scripts/tracetool/backend/__init__.py | 74 ++++++++--------- scripts/tracetool/backend/dtrace.py | 81 ++---------------- scripts/tracetool/backend/events.py | 23 ----- scripts/tracetool/backend/ftrace.py | 56 ++++++------- scripts/tracetool/backend/simple.py | 132 +++++++++++++++--------------- scripts/tracetool/backend/stderr.py | 43 ++++------ scripts/tracetool/backend/ust.py | 65 ++------------- scripts/tracetool/format/__init__.py | 50 ++++------- scripts/tracetool/format/c.py | 16 +++- scripts/tracetool/format/d.py | 30 ++++++- scripts/tracetool/format/events_c.py | 15 +-- scripts/tracetool/format/events_h.py | 15 +-- scripts/tracetool/format/h.py | 30 ++++--- scripts/tracetool/format/stap.py | 42 +++++++++- scripts/tracetool/format/ust_events_c.py | 7 +- scripts/tracetool/format/ust_events_h.py | 42 +++++++++- trace/Makefile.objs | 4 - trace/simple.c | 2 20 files changed, 362 insertions(+), 434 deletions(-) delete mode 100644 scripts/tracetool/backend/events.py
To: [email protected]
Cc: Stefan Hajnoczi <[email protected]>
Cc: Kazuya Saito <[email protected]>