All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/9] IDE: replace printfs with tracing
@ 2017-08-29 20:49 John Snow
  2017-08-29 20:49 ` [Qemu-devel] [PATCH v2 1/9] IDE: replace DEBUG_IDE with tracing system John Snow
                   ` (10 more replies)
  0 siblings, 11 replies; 22+ messages in thread
From: John Snow @ 2017-08-29 20:49 UTC (permalink / raw)
  To: qemu-block; +Cc: eblake, qemu-devel, f4bug, John Snow

Wherever possible, replace all printfs with proper tracing.
In most places I've tried to do a straight replacement, but
forthcoming patches may calibrate the tracing to be a little nicer.

For now, it's nice to just remove the all-or-nothing tracing.

For V2, I opted to leave in the nearly redundant tracers for now
with their individual names so that they can be targeted individually.

Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch
[down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively

001/9:[0020] [FC] 'IDE: replace DEBUG_IDE with tracing system'
002/9:[0004] [FC] 'IDE: Add register hints to tracing'
003/9:[0005] [FC] 'IDE: add tracing for data ports'
004/9:[0004] [FC] 'ATAPI: Replace DEBUG_IDE_ATAPI with tracing events'
005/9:[0013] [FC] 'IDE: replace DEBUG_AIO with trace events'
006/9:[0007] [FC] 'AHCI: Replace DPRINTF with trace-events'
007/9:[----] [--] 'AHCI: Rework IRQ constants'
008/9:[0001] [FC] 'AHCI: pretty-print FIS to buffer instead of stderr'
009/9:[----] [--] 'AHCI: remove DPRINTF macro'

===
v2:
===

01: Rehabilitate commit message.
    Fix switch () statement spacing. (Eric)
    Adjust spacing in ide-tracing file to maintain columns.
    Change filename orderings in trace-events. (Eric)
    Fixed newline issue in trace-events. (Eric)

02: Context / Added R-B.

03: Added trace-events items to appropriate patch (removed from 04) (Eric)
    Added a verbose warning for data tracers (Eric)

04: Shifted items to 03 (Eric)
    Fixed newline issue (Eric)

05: Changed __END to __COUNT (Philippe)
    Removed __BEGIN enumerator (Philippe)

06: Added more information to unknown write (Philippe)

08: Context (Entropy)

John Snow (9):
  IDE: replace DEBUG_IDE with tracing system
  IDE: Add register hints to tracing
  IDE: add tracing for data ports
  ATAPI: Replace DEBUG_IDE_ATAPI with tracing events
  IDE: replace DEBUG_AIO with trace events
  AHCI: Replace DPRINTF with trace-events
  AHCI: Rework IRQ constants
  AHCI: pretty-print FIS to buffer instead of stderr
  AHCI: remove DPRINTF macro

 Makefile.objs             |   1 +
 hw/ide/ahci.c             | 269 ++++++++++++++++++++++++++--------------------
 hw/ide/ahci_internal.h    |  44 ++++++--
 hw/ide/atapi.c            |  69 +++++-------
 hw/ide/cmd646.c           |  10 +-
 hw/ide/core.c             | 178 +++++++++++++++++++-----------
 hw/ide/pci.c              |  17 +--
 hw/ide/piix.c             |  11 +-
 hw/ide/trace-events       | 111 +++++++++++++++++++
 hw/ide/via.c              |  10 +-
 include/hw/ide/internal.h |   8 +-
 11 files changed, 456 insertions(+), 272 deletions(-)
 create mode 100644 hw/ide/trace-events

-- 
2.9.5

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

end of thread, other threads:[~2017-08-31 16:19 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-29 20:49 [Qemu-devel] [PATCH v2 0/9] IDE: replace printfs with tracing John Snow
2017-08-29 20:49 ` [Qemu-devel] [PATCH v2 1/9] IDE: replace DEBUG_IDE with tracing system John Snow
2017-08-29 20:49 ` [Qemu-devel] [PATCH v2 2/9] IDE: Add register hints to tracing John Snow
2017-08-29 20:49 ` [Qemu-devel] [PATCH v2 3/9] IDE: add tracing for data ports John Snow
2017-08-29 22:20   ` Philippe Mathieu-Daudé
2017-08-29 20:49 ` [Qemu-devel] [PATCH v2 4/9] ATAPI: Replace DEBUG_IDE_ATAPI with tracing events John Snow
2017-08-29 20:49 ` [Qemu-devel] [PATCH v2 5/9] IDE: replace DEBUG_AIO with trace events John Snow
2017-08-30  3:14   ` Philippe Mathieu-Daudé
2017-08-30 23:25     ` John Snow
2017-08-31 16:19       ` Laszlo Ersek
2017-08-29 20:49 ` [Qemu-devel] [PATCH v2 6/9] AHCI: Replace DPRINTF with trace-events John Snow
2017-08-29 22:22   ` Philippe Mathieu-Daudé
2017-08-29 20:49 ` [Qemu-devel] [PATCH v2 7/9] AHCI: Rework IRQ constants John Snow
2017-08-30  3:54   ` Philippe Mathieu-Daudé
2017-08-30 23:28     ` John Snow
2017-08-29 20:49 ` [Qemu-devel] [PATCH v2 8/9] AHCI: pretty-print FIS to buffer instead of stderr John Snow
2017-08-30  9:17   ` [Qemu-devel] [Qemu-block] " Stefan Hajnoczi
2017-08-30 22:50     ` John Snow
2017-08-29 20:49 ` [Qemu-devel] [PATCH v2 9/9] AHCI: remove DPRINTF macro John Snow
2017-08-29 22:24   ` Philippe Mathieu-Daudé
2017-08-29 21:14 ` [Qemu-devel] [PATCH v2 0/9] IDE: replace printfs with tracing no-reply
2017-08-30  9:21 ` [Qemu-devel] [Qemu-block] " Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.