Split up the trace-events file
Status from this message: Thanks, applied to my tracing tree:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest40 patches 9 repliesApplied
- v140 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- Don't include docs header in all trace-events files (Lluís, Stefan)
- Fix make install rule to use BUILD_DIR instead of SRC_PATH (Gerd)
- Update docs/tracing.txt & qemu-options.hx (Stefan)
- Install to /usr/share/qemu/trace-events-all so that filename to pass to simpletrace.py is the same both in tree & out of tree, to avoid confusion.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/40 | trace: add build framework for merging trace-events files.gitignore Makefile Makefile.objs +4 more | +45 | 0 replies | |
| 2/40 | trace: split out trace events for util/ directoryMakefile.objs trace-events util/ | +14 | 0 replies | |
| 3/40 | trace: split out trace events for crypto/ directoryMakefile.objs crypto/ trace-events | +20 | 0 replies | |
| 4/40 | trace: split out trace events for io/ directoryMakefile.objs io/ trace-events | +64 | 0 replies | |
| 5/40 | trace: split out trace events for migration/ directoryMakefile.objs migration/ trace-events | +209 | 0 replies | |
| 6/40 | trace: split out trace events for block/ directoryMakefile.objs block/ trace-events | +117 | 0 replies | |
| 7/40 | trace: split out trace events for hw/block/ directoryMakefile.objs hw/ trace-events | +18 | 0 replies | |
| 8/40 | trace: split out trace events for hw/char/ directoryMakefile.objs hw/ trace-events | +50 | 0 replies | |
| 9/40 | trace: split out trace events for hw/intc/ directoryMakefile.objs hw/ trace-events | +83 | 0 replies | |
| 10/40 | trace: split out trace events for hw/net/ directoryMakefile.objs hw/ trace-events | +273 | 0 replies | |
| 11/40 | trace: split out trace events for hw/virtio/ directoryMakefile.objs hw/ trace-events | +17 | 0 replies | |
| 12/40 | trace: split out trace events for hw/audio/ directoryMakefile.objs hw/ trace-events | +20 | 0 replies | |
| 13/40 | trace: split out trace events for hw/misc/ directoryMakefile.objs hw/ trace-events | +53 | 0 replies | |
| 14/40 | trace: split out trace events for hw/usb/ directoryMakefile.objs hw/ trace-events | +269 | 0 replies | |
| 15/40 | trace: split out trace events for hw/scsi/ directoryMakefile.objs hw/ trace-events | +205 | 0 replies | |
| 16/40 | trace: split out trace events for hw/nvram/ directoryMakefile.objs hw/ trace-events | +11 | 0 replies | |
| 17/40 | trace: split out trace events for hw/display/ directoryMakefile.objs hw/ trace-events | +123 | 0 replies | |
| 18/40 | trace: split out trace events for hw/input/ directoryMakefile.objs hw/ trace-events | +26 | 0 replies | |
| 19/40 | trace: split out trace events for hw/timer/ directoryMakefile.objs hw/ trace-events | +52 | 0 replies | |
| 20/40 | trace: split out trace events for hw/dma/ directoryMakefile.objs hw/ trace-events | +33 | 0 replies | |
| 21/40 | trace: split out trace events for hw/sparc/ directoryMakefile.objs hw/ trace-events | +12 | 0 replies | |
| 22/40 | trace: split out trace events for hw/sd/ directoryMakefile.objs hw/ trace-events | +6 | 0 replies | |
| 23/40 | trace: split out trace events for hw/isa/ directoryMakefile.objs hw/ trace-events | +10 | 0 replies | |
| 24/40 | trace: split out trace events for hw/i386/ directoryMakefile.objs hw/ trace-events | +13 | 0 replies | |
| 25/40 | trace: split out trace events for hw/9pfs/ directoryMakefile.objs hw/ trace-events | +48 | 0 replies | |
| 26/40 | trace: split out trace events for hw/ppc/ directoryMakefile.objs hw/ trace-events | +40 | 1 reply | |
| 27/40 | trace: split out trace events for hw/pci/ directoryMakefile.objs hw/ trace-events | +10 | 0 replies | |
| 28/40 | trace: split out trace events for hw/s390x/ directoryMakefile.objs hw/ trace-events | +16 | 1 reply | |
| 29/40 | trace: split out trace events for hw/vfio/ directoryMakefile.objs hw/ trace-events | +117 | 0 replies | |
| 30/40 | trace: split out trace events for hw/acpi/ directoryMakefile.objs hw/ trace-events | +19 | 0 replies | |
| 31/40 | trace: split out trace events for hw/arm/ directoryMakefile.objs hw/ trace-events | +5 | 0 replies | |
| 32/40 | trace: split out trace events for hw/alpha/ directoryMakefile.objs hw/ trace-events | +5 | 0 replies | |
| 33/40 | trace: split out trace events for ui/ directoryMakefile.objs trace-events ui/ | +49 | 0 replies | |
| 34/40 | trace: split out trace events for audio/ directoryMakefile.objs audio/ trace-events | +18 | 0 replies | |
| 35/40 | trace: split out trace events for net/ directoryMakefile.objs net/ trace-events | +5 | 0 replies | |
| 36/40 | trace: split out trace events for target-sparc/ directoryMakefile.objs target-sparc/ trace-events | +29 | 0 replies | |
| 37/40 | trace: split out trace events for target-s390x/ directoryMakefile.objs target-s390x/ trace-events | +22 | 2 replies | |
| 38/40 | trace: split out trace events for target-ppc/ directoryMakefile.objs target-ppc/ trace-events | +6 | 1 reply | |
| 39/40 | trace: split out trace events for qom/ directoryMakefile.objs qom/ trace-events | +6 | 0 replies | |
| 40/40 | trace: split out trace events for linux-user/ directoryMakefile.objs linux-user/ trace-events | +13 | 1 reply |
Reviews trailers per patch
5 of 40 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Huth | Cornelia Huck | Laurent Vivier |
|---|---|---|---|
| 1/40 | |||
| 2/40 | |||
| 3/40 | |||
| 4/40 | |||
| 5/40 | |||
| 6/40 | |||
| 7/40 | |||
| 8/40 | |||
| 9/40 | |||
| 10/40 | |||
| 11/40 | |||
| 12/40 | |||
| 13/40 | |||
| 14/40 | |||
| 15/40 | |||
| 16/40 | |||
| 17/40 | |||
| 18/40 | |||
| 19/40 | |||
| 20/40 | |||
| 21/40 | |||
| 22/40 | |||
| 23/40 | |||
| 24/40 | |||
| 25/40 | |||
| 26/40 | R-b | ||
| 27/40 | |||
| 28/40 | A-b | ||
| 29/40 | |||
| 30/40 | |||
| 31/40 | |||
| 32/40 | |||
| 33/40 | |||
| 34/40 | |||
| 35/40 | |||
| 36/40 | |||
| 37/40 | A-b | ||
| 38/40 | R-b | ||
| 39/40 | |||
| 40/40 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [Qemu-devel] [PATCH v2 00/40] Split up the trace-events file
This is a followup to:
v1: https://lists.gnu.org/archive/html/qemu-devel/2016-06/msg02537.html
To quote Peter:
pm215: "trace-events: causing merge conflicts since 2010"
There's really no good reason why we should continue to suffer from this. Even if the trace tool generator can't yet generate multiple independant output files, we can still trivially have multiple independant input files.
This series splits up trace-events so that there is one trace-events file per sub-directory that has tracing events defined. This means that the trace-events files now get assoociated with the subsystem maintainers if you run get_maintainer.pl on a patch. It also means that responsibility for resolving conflicts is now delegated to subsystem maintainers, and overall such conflicts should be much rarer.
Finally, we will likely need this kind of split work done when we do finally get the ability to generate multiple output files, so it is a worthwhile thing to change now regardless.
Changed in v2:
- Don't include docs header in all trace-events files (Lluís, Stefan)
- Fix make install rule to use BUILD_DIR instead of SRC_PATH (Gerd)
- Update docs/tracing.txt & qemu-options.hx (Stefan)
- Install to /usr/share/qemu/trace-events-all so that filename to pass to simpletrace.py is the same both in tree & out of tree, to avoid confusion.
Daniel P. Berrange (40):
trace: add build framework for merging trace-events files
trace: split out trace events for util/ directory
trace: split out trace events for crypto/ directory
trace: split out trace events for io/ directory
trace: split out trace events for migration/ directory
trace: split out trace events for block/ directory
trace: split out trace events for hw/block/ directory
trace: split out trace events for hw/char/ directory
trace: split out trace events for hw/intc/ directory
trace: split out trace events for hw/net/ directory
trace: split out trace events for hw/virtio/ directory
trace: split out trace events for hw/audio/ directory
trace: split out trace events for hw/misc/ directory
trace: split out trace events for hw/usb/ directory
trace: split out trace events for hw/scsi/ directory
trace: split out trace events for hw/nvram/ directory
trace: split out trace events for hw/display/ directory
trace: split out trace events for hw/input/ directory
trace: split out trace events for hw/timer/ directory
trace: split out trace events for hw/dma/ directory
trace: split out trace events for hw/sparc/ directory
trace: split out trace events for hw/sd/ directory
trace: split out trace events for hw/isa/ directory
trace: split out trace events for hw/i386/ directory
trace: split out trace events for hw/9pfs/ directory
trace: split out trace events for hw/ppc/ directory
trace: split out trace events for hw/pci/ directory
trace: split out trace events for hw/s390x/ directory
trace: split out trace events for hw/vfio/ directory
trace: split out trace events for hw/acpi/ directory
trace: split out trace events for hw/arm/ directory
trace: split out trace events for hw/alpha/ directory
trace: split out trace events for ui/ directory
trace: split out trace events for audio/ directory
trace: split out trace events for net/ directory
trace: split out trace events for target-sparc/ directory
trace: split out trace events for target-s390x/ directory
trace: split out trace events for target-ppc/ directory
trace: split out trace events for qom/ directory
trace: split out trace events for linux-user/ directory
.gitignore | 1 + Makefile | 2 +- Makefile.objs | 43 + Makefile.target | 6 +- audio/trace-events | 17 + block/trace-events | 116 +++ crypto/trace-events | 19 + docs/tracing.txt | 32 +- hw/9pfs/trace-events | 47 ++ hw/acpi/trace-events | 18 + hw/alpha/trace-events | 4 + hw/arm/trace-events | 4 + hw/audio/trace-events | 19 + hw/block/trace-events | 17 + hw/char/trace-events | 49 ++ hw/display/trace-events | 122 +++ hw/dma/trace-events | 32 + hw/i386/trace-events | 12 + hw/input/trace-events | 25 + hw/intc/trace-events | 82 ++ hw/isa/trace-events | 9 + hw/misc/trace-events | 52 ++ hw/net/trace-events | 272 ++++++ hw/nvram/trace-events | 10 + hw/pci/trace-events | 9 + hw/ppc/trace-events | 39 + hw/s390x/trace-events | 15 + hw/scsi/trace-events | 204 +++++ hw/sd/trace-events | 5 + hw/sparc/trace-events | 11 + hw/timer/trace-events | 51 ++ hw/usb/trace-events | 268 ++++++ hw/vfio/trace-events | 116 +++ hw/virtio/trace-events | 16 + io/trace-events | 63 ++ linux-user/trace-events | 12 + migration/trace-events | 208 +++++ net/trace-events | 4 + qemu-options.hx | 8 +- qom/trace-events | 5 + target-ppc/trace-events | 5 + target-s390x/trace-events | 21 + target-sparc/trace-events | 28 + trace-events | 2029 --------------------------------------------- trace/Makefile.objs | 25 +- ui/trace-events | 48 ++ util/trace-events | 13 + 47 files changed, 2151 insertions(+), 2062 deletions(-) create mode 100644 audio/trace-events create mode 100644 block/trace-events create mode 100644 crypto/trace-events create mode 100644 hw/9pfs/trace-events create mode 100644 hw/acpi/trace-events create mode 100644 hw/alpha/trace-events create mode 100644 hw/arm/trace-events create mode 100644 hw/audio/trace-events create mode 100644 hw/block/trace-events create mode 100644 hw/char/trace-events create mode 100644 hw/display/trace-events create mode 100644 hw/dma/trace-events create mode 100644 hw/i386/trace-events create mode 100644 hw/input/trace-events create mode 100644 hw/intc/trace-events create mode 100644 hw/isa/trace-events create mode 100644 hw/misc/trace-events create mode 100644 hw/net/trace-events create mode 100644 hw/nvram/trace-events create mode 100644 hw/pci/trace-events create mode 100644 hw/ppc/trace-events create mode 100644 hw/s390x/trace-events create mode 100644 hw/scsi/trace-events create mode 100644 hw/sd/trace-events create mode 100644 hw/sparc/trace-events create mode 100644 hw/timer/trace-events create mode 100644 hw/usb/trace-events create mode 100644 hw/vfio/trace-events create mode 100644 hw/virtio/trace-events create mode 100644 io/trace-events create mode 100644 linux-user/trace-events create mode 100644 migration/trace-events create mode 100644 net/trace-events create mode 100644 qom/trace-events create mode 100644 target-ppc/trace-events create mode 100644 target-s390x/trace-events create mode 100644 target-sparc/trace-events create mode 100644 ui/trace-events create mode 100644 util/trace-events
Signature · 1 line
2.5.5