diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2025-04-27 11:02:25 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2025-04-30 12:45:05 -0700 |
commit | 81ef6a2295740c4b2de9db2f81ebb9ad346b8cfc (patch) | |
tree | 0bf93ec9115aab4af127ea68dd9dee6ceb038d7c | |
parent | 9a1e3713232f9641353e63fd279eb83cc723faf2 (diff) | |
download | qemu-81ef6a2295740c4b2de9db2f81ebb9ad346b8cfc.zip qemu-81ef6a2295740c4b2de9db2f81ebb9ad346b8cfc.tar.gz qemu-81ef6a2295740c4b2de9db2f81ebb9ad346b8cfc.tar.bz2 |
accel/tcg: Unconditionally use CPU_DUMP_CCOP in log_cpu_exec
This flag is only tested by target/i386, so including this
makes no functional change. This is similar to other places
like cpu-target.c which use CPU_DUMP_CCOP unconditionally.
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r-- | accel/tcg/cpu-exec.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c index 8ff4a34..ff979a2 100644 --- a/accel/tcg/cpu-exec.c +++ b/accel/tcg/cpu-exec.c @@ -285,14 +285,11 @@ static void log_cpu_exec(vaddr pc, CPUState *cpu, if (qemu_loglevel_mask(CPU_LOG_TB_CPU)) { FILE *logfile = qemu_log_trylock(); if (logfile) { - int flags = 0; + int flags = CPU_DUMP_CCOP; if (qemu_loglevel_mask(CPU_LOG_TB_FPU)) { flags |= CPU_DUMP_FPU; } -#if defined(TARGET_I386) - flags |= CPU_DUMP_CCOP; -#endif if (qemu_loglevel_mask(CPU_LOG_TB_VPU)) { flags |= CPU_DUMP_VPU; } |