]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/gpio/pl061: Add tracepoints for register read and write
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Jul 2021 10:40:11 +0000 (11:40 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 9 Jul 2021 15:09:12 +0000 (16:09 +0100)
commit74d359b52db760f8818476f4fbaab0ffab76a8ef
treed379544ff86080a8d700aa74b5ab54fb6d5da207
parente24a9f6a595cc4502b67046ea3860cae2be15b71
hw/gpio/pl061: Add tracepoints for register read and write

Add tracepoints for reads and writes to the PL061 registers. This requires
restructuring pl061_read() to only return after the tracepoint, rather
than having lots of early-returns.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
hw/gpio/pl061.c
hw/gpio/trace-events