]> git.proxmox.com Git - mirror_qemu.git/commit - target/microblaze/translate.c
exec/translator: Pass the locked filepointer to disas_log hook
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 17 Apr 2022 18:29:52 +0000 (11:29 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 20 Apr 2022 17:51:11 +0000 (10:51 -0700)
commit8eb806a763f4a804ac80a6d4f4679c60fd66d8fa
treea4213aaee91394dd4e8b927aa46d4ad35e28b864
parentb7a83ff8df76d7f5a4abddcc01d2478f026dc9e8
exec/translator: Pass the locked filepointer to disas_log hook

We have fetched and locked the logfile in translator_loop.
Pass the filepointer down to the disas_log hook so that it
need not be fetched and locked again.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220417183019.755276-13-richard.henderson@linaro.org>
23 files changed:
accel/tcg/translator.c
include/exec/translator.h
target/alpha/translate.c
target/arm/translate-a64.c
target/arm/translate.c
target/avr/translate.c
target/cris/translate.c
target/hexagon/translate.c
target/hppa/translate.c
target/i386/tcg/translate.c
target/m68k/translate.c
target/microblaze/translate.c
target/mips/tcg/translate.c
target/nios2/translate.c
target/openrisc/translate.c
target/ppc/translate.c
target/riscv/translate.c
target/rx/translate.c
target/s390x/tcg/translate.c
target/sh4/translate.c
target/sparc/translate.c
target/tricore/translate.c
target/xtensa/translate.c