Remove the definition of DPRINTF() in include/hw/unicore32/puv3.h and convert to trace event all the puv3_*.c files.
Compile tested but I didn't find any unicore32 kernel to test the trace output. Laurent Vivier (6): hw/dma/puv3_dma: Convert from DPRINTF() macro to trace event hw/dma/puv3_gpio: Convert from DPRINTF() macro to trace event hw/dma/puv3_intc: Convert from DPRINTF() macro to trace event hw/misc/puv3_pm: Convert from DPRINTF() macro to trace event hw/timer/puv3_ost: Convert from DPRINTF() macro to trace event unicore32/puv3: remove definition of DPRINTF Makefile.objs | 1 + hw/dma/puv3_dma.c | 11 +++++------ hw/dma/trace-events | 6 ++++++ hw/gpio/puv3_gpio.c | 15 +++++++-------- hw/gpio/trace-events | 6 ++++++ hw/intc/puv3_intc.c | 13 ++++++------- hw/intc/trace-events | 7 +++++++ hw/misc/puv3_pm.c | 11 +++++------ hw/misc/trace-events | 6 ++++++ hw/timer/puv3_ost.c | 14 ++++++-------- hw/timer/trace-events | 7 +++++++ include/hw/unicore32/puv3.h | 7 ------- 12 files changed, 62 insertions(+), 42 deletions(-) create mode 100644 hw/gpio/trace-events -- 2.19.2