[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 0/5] spapr: convert SPAPR devices to trace framework
From: |
Laurent Vivier |
Subject: |
[Qemu-ppc] [PATCH 0/5] spapr: convert SPAPR devices to trace framework |
Date: |
Wed, 14 Sep 2016 20:48:22 +0200 |
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
- [Qemu-ppc] [PATCH 0/5] spapr: convert SPAPR devices to trace framework,
Laurent Vivier <=
- [Qemu-ppc] [PATCH 1/5] spapr_drc: convert to trace framework instead of DPRINTF, Laurent Vivier, 2016/09/14
- [Qemu-ppc] [PATCH 2/5] spapr_rtas: convert to trace framework instead of DPRINTF, Laurent Vivier, 2016/09/14
- [Qemu-ppc] [PATCH 3/5] spapr_vio: convert to trace framework instead of DPRINTF, Laurent Vivier, 2016/09/14
- [Qemu-ppc] [PATCH 4/5] spapr_llan: convert to trace framework instead of DPRINTF, Laurent Vivier, 2016/09/14
- [Qemu-ppc] [PATCH 5/5] spapr_vscsi: convert to trace framework instead of DPRINTF, Laurent Vivier, 2016/09/14