diff options
author | Alex Bennée | 2016-03-15 15:30:24 +0100 |
---|---|---|
committer | Paolo Bonzini | 2016-03-22 22:20:18 +0100 |
commit | 8526e1f4e418443a4d6ed0714487e47d45ef9c98 (patch) | |
tree | 3f5728d2c2d7311234b426df77cc8355e34c9c06 /hw/arm | |
parent | qemu-log: support simple pid substitution for logs (diff) | |
download | qemu-8526e1f4e418443a4d6ed0714487e47d45ef9c98.tar.gz qemu-8526e1f4e418443a4d6ed0714487e47d45ef9c98.tar.xz qemu-8526e1f4e418443a4d6ed0714487e47d45ef9c98.zip |
cputlb: modernise the debug support
To avoid cluttering the code with #ifdef legs we wrap up the print
statements into a tlb_debug() macro. As access to the virtual TLB can
get quite heavy defining DEBUG_TLB_LOG will ensure all the logs go to
the qemu_log target of CPU_LOG_MMU instead of stderr. This remains
compile time optional as these debug statements haven't been considered
for usefulness for user visible logging.
I've also removed DEBUG_TLB_CHECK which wasn't used.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-Id: <1458052224-9316-11-git-send-email-alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/arm')
0 files changed, 0 insertions, 0 deletions