summary refs log tree commit diff stats
path: root/scripts/tracetool/backend/ust.py
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-07-24 15:33:12 +0100
committerPeter Maydell <peter.maydell@linaro.org>2017-07-31 13:05:04 +0100
commit709e4407add7acacc593cb6cdac026558c9a8fb6 (patch)
treecb62a3190dfc1a0cee398a84f8c9ab3879b8dd07 /scripts/tracetool/backend/ust.py
parent25dd0e77898c3e10796d4cbeb35e8af5ba6ce975 (diff)
downloadfocaccia-qemu-709e4407add7acacc593cb6cdac026558c9a8fb6.tar.gz
focaccia-qemu-709e4407add7acacc593cb6cdac026558c9a8fb6.zip
target/arm: Correct MPU trace handling of write vs execute
Correct off-by-one bug in the PSMAv7 MPU tracing where it would print
a write access as "reading", an insn fetch as "writing", and a read
access as "execute".

Since we have an MMUAccessType enum now, we can make the code clearer
in the process by using that rather than the raw 0/1/2 values.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-id: 1500906792-18010-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'scripts/tracetool/backend/ust.py')
0 files changed, 0 insertions, 0 deletions