diff options
author | Richard Henderson | 2020-09-10 21:15:04 +0200 |
---|---|---|
committer | Richard Henderson | 2020-10-03 11:25:14 +0200 |
commit | 4c389f6edf4a6bbdbc3dbcd7c4d639d868d0cf0c (patch) | |
tree | 154fe3eee670f58542de95ccb88d5f3fb15fa5a0 /include/exec | |
parent | capstone: Require version 4.0 from a system library (diff) | |
download | qemu-4c389f6edf4a6bbdbc3dbcd7c4d639d868d0cf0c.tar.gz qemu-4c389f6edf4a6bbdbc3dbcd7c4d639d868d0cf0c.tar.xz qemu-4c389f6edf4a6bbdbc3dbcd7c4d639d868d0cf0c.zip |
disas: Move host asm annotations to tb_gen_code
Instead of creating GStrings and passing them into log_disas,
just print the annotations directly in tb_gen_code.
Fix the annotations for the slow paths of the TB, after the
part implementing the final guest instruction.
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec')
-rw-r--r-- | include/exec/log.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/exec/log.h b/include/exec/log.h index 86871f403a..e02fff5de1 100644 --- a/include/exec/log.h +++ b/include/exec/log.h @@ -56,13 +56,13 @@ static inline void log_target_disas(CPUState *cpu, target_ulong start, rcu_read_unlock(); } -static inline void log_disas(void *code, unsigned long size, const char *note) +static inline void log_disas(void *code, unsigned long size) { QemuLogFile *logfile; rcu_read_lock(); logfile = qatomic_rcu_read(&qemu_logfile); if (logfile) { - disas(logfile->fd, code, size, note); + disas(logfile->fd, code, size); } rcu_read_unlock(); } |