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

Manos Pitsidianakis posted 6 patches 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1706544115.git.manos.pitsidianakis@linaro.org
Maintainers: Peter Maydell <peter.maydell@linaro.org>, Stefano Stabellini <sstabellini@kernel.org>, Anthony Perard <anthony.perard@citrix.com>, Paul Durrant <paul@xen.org>
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(-)
[PATCH v3 0/6] hw/{arm,xen} convert printfs to trace/reports
Posted by Manos Pitsidianakis 10 months ago
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
-- 
γαῖα πυρί μιχθήτω


Re: [PATCH v3 0/6] hw/{arm,xen} convert printfs to trace/reports
Posted by Peter Maydell 9 months, 4 weeks ago
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