diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-05-15 14:58:44 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-05-15 14:58:44 +0100 |
commit | ae7651804748c6b479d5ae09aeac4edb9c44f76e (patch) | |
tree | c68f377430d1a11d50bf05d62c494c7cc0ff47a7 /include | |
parent | f6fb1f9b319feac09119848d206b07640ddd39e7 (diff) | |
download | qemu-ae7651804748c6b479d5ae09aeac4edb9c44f76e.zip qemu-ae7651804748c6b479d5ae09aeac4edb9c44f76e.tar.gz qemu-ae7651804748c6b479d5ae09aeac4edb9c44f76e.tar.bz2 |
tcg: Optionally log FPU state in TCG -d cpu logging
Usually the logging of the CPU state produced by -d cpu is sufficient
to diagnose problems, but sometimes you want to see the state of
the floating point registers as well. We don't want to enable that
by default as it adds a lot of extra data to the log; instead,
allow it to be optionally enabled via -d fpu.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180510130024.31678-1-peter.maydell@linaro.org
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/log.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/log.h b/include/qemu/log.h index ff92a8b..b097a6c 100644 --- a/include/qemu/log.h +++ b/include/qemu/log.h @@ -44,6 +44,7 @@ static inline bool qemu_log_separate(void) #define CPU_LOG_PAGE (1 << 14) /* LOG_TRACE (1 << 15) is defined in log-for-trace.h */ #define CPU_LOG_TB_OP_IND (1 << 16) +#define CPU_LOG_TB_FPU (1 << 17) /* Lock output for a series of related logs. Since this is not needed * for a single qemu_log / qemu_log_mask / qemu_log_mask_and_addr, we |