On Fri, Sep 16, 2016 at 02:39:06PM +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 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, ...) > > v2: > - fix spapr_vscsi with "ust" backend (limited number of arguments) > - Remove blank line after the comment line in trace-events files > - add Eric's R-b > > David, you can take only patch 5/5, all the other patches are like they > are in your branch ppc-for-2.8.
Done, thanks. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature