diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-06-29 07:09:35 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-07-09 09:38:33 -0700 |
commit | 1797b08d244ce496d0b0f5027a75542a82c29038 (patch) | |
tree | e4302648247d19303240101715e6a21cf2bcf373 /target/alpha | |
parent | 8973fe43bb6d80f01ea11686c29f98fc4dcae3a6 (diff) | |
download | qemu-1797b08d244ce496d0b0f5027a75542a82c29038.zip qemu-1797b08d244ce496d0b0f5027a75542a82c29038.tar.gz qemu-1797b08d244ce496d0b0f5027a75542a82c29038.tar.bz2 |
tcg: Avoid including 'trace-tcg.h' in target translate.c
The root trace-events only declares a single TCG event:
$ git grep -w tcg trace-events
trace-events:115:# tcg/tcg-op.c
trace-events:137:vcpu tcg guest_mem_before(TCGv vaddr, uint16_t info) "info=%d", "vaddr=0x%016"PRIx64" info=%d"
and only a tcg/tcg-op.c uses it:
$ git grep -l trace_guest_mem_before_tcg
tcg/tcg-op.c
therefore it is pointless to include "trace-tcg.h" in each target
(because it is not used). Remove it.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210629050935.2570721-1-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/alpha')
-rw-r--r-- | target/alpha/translate.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/alpha/translate.c b/target/alpha/translate.c index f2922f5..a607c89 100644 --- a/target/alpha/translate.c +++ b/target/alpha/translate.c @@ -28,7 +28,6 @@ #include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" -#include "trace-tcg.h" #include "exec/translator.h" #include "exec/log.h" |