linux-user: log page table changes under -d page
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 5 Dec 2019 12:25:15 +0000 (12:25 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 19 Dec 2019 08:20:16 +0000 (08:20 +0000)
commit10d0d505de750590c21a78c0652bf5a9c142302a
tree3b1038de85afaa311646fcd2f1cba666db4d22f1
parentd0e165ae2bdf107f3c63bf11138097869d91ef2e
linux-user: log page table changes under -d page

The CPU_LOG_PAGE flag is woefully underused and could stand to do
extra duty tracking page changes. If the user doesn't want to see the
details as things change they still have the tracepoints available.

We push the locking into log_page_dump and pass a reason for the
banner text.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20191205122518.10010-5-alex.bennee@linaro.org>
bsd-user/main.c
include/exec/log.h
linux-user/main.c
linux-user/mmap.c