summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2016-03-15 14:30:24 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2016-03-22 22:20:18 +0100
commit8526e1f4e418443a4d6ed0714487e47d45ef9c98 (patch)
tree3f5728d2c2d7311234b426df77cc8355e34c9c06 /exec.c
parentf6880b7f48ffd4aa038d7a964a3820b1c18d5307 (diff)
downloadqemu-8526e1f4e418443a4d6ed0714487e47d45ef9c98.tar.gz
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 'exec.c')
0 files changed, 0 insertions, 0 deletions