All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] spapr: convert SPAPR devices to trace framework
@ 2016-09-14 18:48 Laurent Vivier
  2016-09-14 18:48 ` [Qemu-devel] [PATCH 1/5] spapr_drc: convert to trace framework instead of DPRINTF Laurent Vivier
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Laurent Vivier @ 2016-09-14 18:48 UTC (permalink / raw)
  To: david; +Cc: qemu-ppc, qemu-devel, Laurent Vivier

Define and use trace_spapr_XXX functions instead of
DPRINTF to trace some SPAPR devices: spapr_vio, spapr_drc, spapr_rtas,
spapr_llan, spapr_vscsi.

This allows to enable dynamically (instead of recompiling the source)
the traces for these devices. Messages are close as possible as
messages used by DPRINTF. Sometime, I've removed some text to
avoid redundancy between information given by the tracing function name
and the text displayed. I've also updated print format to use
the good conversion specifier ('u' instead of 'd' when the type is unsigned,
PRIx32 instead of 'x' when the type is uint32_t or int32_t, ...)

Laurent Vivier (5):
  spapr_drc: convert to trace framework instead of DPRINTF
  spapr_rtas: convert to trace framework instead of DPRINTF
  spapr_vio: convert to trace framework instead of DPRINTF
  spapr_llan: convert to trace framework instead of DPRINTF
  spapr_vscsi: convert to trace framework instead of DPRINTF

 hw/net/spapr_llan.c   | 61 +++++++++++++++--------------------
 hw/net/trace-events   | 17 ++++++++++
 hw/ppc/spapr_drc.c    | 54 ++++++++++++-------------------
 hw/ppc/spapr_rtas.c   | 30 +++++------------
 hw/ppc/spapr_vio.c    | 17 ++--------
 hw/ppc/trace-events   | 36 +++++++++++++++++++++
 hw/scsi/spapr_vscsi.c | 89 +++++++++++++++++++++------------------------------
 hw/scsi/trace-events  | 27 ++++++++++++++++
 8 files changed, 172 insertions(+), 159 deletions(-)

-- 
2.5.5

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

end of thread, other threads:[~2016-09-16 10:24 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-14 18:48 [Qemu-devel] [PATCH 0/5] spapr: convert SPAPR devices to trace framework Laurent Vivier
2016-09-14 18:48 ` [Qemu-devel] [PATCH 1/5] spapr_drc: convert to trace framework instead of DPRINTF Laurent Vivier
2016-09-14 19:04   ` Eric Blake
2016-09-14 18:48 ` [Qemu-devel] [PATCH 2/5] spapr_rtas: " Laurent Vivier
2016-09-14 19:11   ` Eric Blake
2016-09-14 18:48 ` [Qemu-devel] [PATCH 3/5] spapr_vio: " Laurent Vivier
2016-09-14 19:48   ` Eric Blake
2016-09-14 18:48 ` [Qemu-devel] [PATCH 4/5] spapr_llan: " Laurent Vivier
2016-09-14 20:07   ` Eric Blake
2016-09-14 18:48 ` [Qemu-devel] [PATCH 5/5] spapr_vscsi: " Laurent Vivier
2016-09-14 19:56   ` Thomas Huth
2016-09-15  0:09     ` David Gibson
2016-09-14 20:09   ` Eric Blake
2016-09-15  0:10     ` David Gibson
2016-09-15  7:37     ` Laurent Vivier
2016-09-15  0:09 ` [Qemu-devel] [PATCH 0/5] spapr: convert SPAPR devices to trace framework David Gibson
2016-09-16  3:04   ` David Gibson
2016-09-16 10:24     ` Laurent Vivier

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.