mbox series

[v3,0/6] hw/{arm,xen} convert printfs to trace/reports

Message ID cover.1706544115.git.manos.pitsidianakis@linaro.org (mailing list archive)
Headers show
Series hw/{arm,xen} convert printfs to trace/reports | expand

Message

Manos Pitsidianakis Jan. 29, 2024, 4:09 p.m. UTC
This series changes some printfs to use the trace event framework. 
Additionally, it converts some error/warning reporting fprintfs to 
error_report/warn_report.

v2 -> v3
<cover.1705670342.git.manos.pitsidianakis@linaro.org>:
    - addressed Peter Maydells's review

v1 -> v2
<cover.1705662313.git.manos.pitsidianakis@linaro.org>:
    - addressed Alex's review


Manos Pitsidianakis (6):
  hw/arm/strongarm.c: convert DPRINTF to trace events and guest errors
  hw/arm/z2: convert DPRINTF to trace events and guest errors
  hw/arm/xen_arm.c: convert DPRINTF to trace events and error/warn
    reports
  hw/xen/xen-mapcache.c: convert DPRINTF to tracepoints
  hw/xen/xen-hvm-common.c: convert DPRINTF to tracepoints
  hw/xen: convert stderr prints to error/warn reports

 hw/arm/strongarm.c      | 82 ++++++++++++++++++++++++++---------------
 hw/arm/trace-events     | 15 ++++++++
 hw/arm/xen_arm.c        | 23 ++++++------
 hw/arm/z2.c             | 27 ++++----------
 hw/xen/trace-events     | 21 ++++++++++-
 hw/xen/xen-hvm-common.c | 47 +++++++++++------------
 hw/xen/xen-mapcache.c   | 59 +++++++++++++----------------
 7 files changed, 156 insertions(+), 118 deletions(-)


base-commit: 7a1dc45af581d2b643cdbf33c01fd96271616fbd

Comments

Peter Maydell Feb. 1, 2024, 3:32 p.m. UTC | #1
On Mon, 29 Jan 2024 at 16:10, Manos Pitsidianakis
<manos.pitsidianakis@linaro.org> wrote:
>
> This series changes some printfs to use the trace event framework.
> Additionally, it converts some error/warning reporting fprintfs to
> error_report/warn_report.
>
> v2 -> v3
> <cover.1705670342.git.manos.pitsidianakis@linaro.org>:
>     - addressed Peter Maydells's review
>
> v1 -> v2
> <cover.1705662313.git.manos.pitsidianakis@linaro.org>:
>     - addressed Alex's review
>
>
> Manos Pitsidianakis (6):
>   hw/arm/strongarm.c: convert DPRINTF to trace events and guest errors
>   hw/arm/z2: convert DPRINTF to trace events and guest errors
>   hw/arm/xen_arm.c: convert DPRINTF to trace events and error/warn
>     reports
>   hw/xen/xen-mapcache.c: convert DPRINTF to tracepoints
>   hw/xen/xen-hvm-common.c: convert DPRINTF to tracepoints
>   hw/xen: convert stderr prints to error/warn reports


Applied to target-arm.next, thanks.

-- PMM