OSDN Git Service

hw/mips/malta: Trace FPGA LEDs/ASCII display updates
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 30 Dec 2022 14:35:24 +0000 (15:35 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Jan 2023 08:31:19 +0000 (09:31 +0100)
commit9f81e43f10496bc225a9bbed3d56a26b9f759fd6
tree7cbcec6b20cb6440e9093ceac9b2b1ea5ec776ef
parente7a65ba694d84592d190644d8d0ae4ea9137c35d
hw/mips/malta: Trace FPGA LEDs/ASCII display updates

The FPGA LEDs/ASCII display is mostly used by the bootloader
to show very low-level debug info. QEMU connects its output
to a character device backend, which is not very practical
to correlate with ASM instruction executed, interrupts or
MMIO accesses. Also, the display discard the previous states.

To ease bootloader debugging experience, add a pair of trace
events. Such events can be analyzed over time or diff-ed
between different runs.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230104133935.4639-4-philmd@linaro.org>
hw/mips/malta.c
hw/mips/trace-events