]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/char/pl011: Display register name in trace events
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 22 May 2023 08:31:40 +0000 (10:31 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 31 Aug 2023 17:47:43 +0000 (19:47 +0200)
commit51141cab3ba2e1e317667a2a32f3a42ca28c2819
treec8deee51948c26bdaafa083fd5df4378999daf1e
parent7e66d52b0c4d12c8d8c9fc11630908bc630070c0
hw/char/pl011: Display register name in trace events

To avoid knowing the register addresses by heart,
display their name along in the trace events.

Since the MMIO region is 4K wide (0x1000 bytes),
displaying the address with 3 digits is enough,
so reduce the address format.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230522153144.30610-5-philmd@linaro.org>
hw/char/pl011.c
hw/char/trace-events