Re: [Qemu-devel] [PATCH 0/5] spapr: convert SPAPR devices to trace framework

2016-09-16 Thread Laurent Vivier
On 16/09/2016 05:04, David Gibson wrote: > On Thu, Sep 15, 2016 at 10:09:34AM +1000, David Gibson wrote: >> On Wed, Sep 14, 2016 at 08:48:22PM +0200, Laurent Vivier wrote: >>> Define and use trace_spapr_XXX functions instead of >>> DPRINTF to trace some SPAPR devices: spapr_vio, spapr_drc, spapr_

Re: [Qemu-devel] [PATCH 0/5] spapr: convert SPAPR devices to trace framework

2016-09-15 Thread David Gibson
On Thu, Sep 15, 2016 at 10:09:34AM +1000, David Gibson wrote: > On Wed, Sep 14, 2016 at 08:48:22PM +0200, Laurent Vivier wrote: > > 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. > > > > Th

Re: [Qemu-devel] [PATCH 0/5] spapr: convert SPAPR devices to trace framework

2016-09-14 Thread David Gibson
On Wed, Sep 14, 2016 at 08:48:22PM +0200, Laurent Vivier wrote: > 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

[Qemu-devel] [PATCH 0/5] spapr: convert SPAPR devices to trace framework

2016-09-14 Thread 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