hw/xen/xen-mapcache.c: convert DPRINTF to tracepoints
authorManos Pitsidianakis <manos.pitsidianakis@linaro.org>
Mon, 29 Jan 2024 16:09:40 +0000 (18:09 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Feb 2024 13:51:59 +0000 (13:51 +0000)
commit0402b96830dbc282c6d52e90eacb7b9da1da503c
tree9530e844388606600d7ce454dd1b6ff5df54199a
parent6b4a990b42e647b3b2ad5991cd8b931036531f3f
hw/xen/xen-mapcache.c: convert DPRINTF to tracepoints

Tracing DPRINTFs to stderr might not be desired. A developer that relies
on tracepoints should be able to opt-in to each tracepoint 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 tracepoints.

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