hw/arm/strongarm.c: convert DPRINTF to trace events and guest errors
authorManos Pitsidianakis <manos.pitsidianakis@linaro.org>
Mon, 29 Jan 2024 16:09:36 +0000 (18:09 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Feb 2024 13:51:58 +0000 (13:51 +0000)
commit5e5deca183388c31c28d600e9a2d97792fc1f211
tree0f8a7ab94824d01de339852ac31234b4ada6e822
parent8a73152020337a7fbf34daf0a006d4d89ec1494e
hw/arm/strongarm.c: convert DPRINTF to trace events and guest errors

Tracing DPRINTFs to stderr might not be desired. A developer that relies
on trace events should be able to opt-in to each trace event and rely on
QEMU's log redirection, instead of stderr by default.

This commit converts DPRINTFs in this file that are used for tracing
into trace events. DPRINTFs that report guest errors are logged with
LOG_GUEST_ERROR.#

Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 39db71dd87bf2007cf7812f3d91dde53887f1f2f.1706544115.git.manos.pitsidianakis@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/strongarm.c
hw/arm/trace-events