diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-05-30 09:02:16 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-06-24 16:48:07 +0200 |
commit | 34b8ff25db3eff9c8c02371ac976b16389d0fcb7 (patch) | |
tree | a8b019be97aeeff8ff05be4c2fb136cce517bf33 /target/mips/tcg | |
parent | 05d9d0359e6da7dc8255712d745d079a04fa5ae5 (diff) | |
download | qemu-34b8ff25db3eff9c8c02371ac976b16389d0fcb7.zip qemu-34b8ff25db3eff9c8c02371ac976b16389d0fcb7.tar.gz qemu-34b8ff25db3eff9c8c02371ac976b16389d0fcb7.tar.bz2 |
target/mips: Move TCG trace events to tcg/ sub directory
Commit a2b0a27d33e ("target/mips: Move TCG source files under
tcg/ sub directory") forgot to move the trace-event file.
As it only contains TCG events, move it for consistency.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210617174323.2900831-4-f4bug@amsat.org>
Diffstat (limited to 'target/mips/tcg')
-rw-r--r-- | target/mips/tcg/trace-events | 5 | ||||
-rw-r--r-- | target/mips/tcg/trace.h | 1 | ||||
-rw-r--r-- | target/mips/tcg/translate.c | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/target/mips/tcg/trace-events b/target/mips/tcg/trace-events new file mode 100644 index 0000000..0c55e0b --- /dev/null +++ b/target/mips/tcg/trace-events @@ -0,0 +1,5 @@ +# See docs/devel/tracing.rst for syntax documentation. + +# translate.c +mips_translate_c0(const char *instr, const char *rn, int reg, int sel) "%s %s (reg %d sel %d)" +mips_translate_tr(const char *instr, int rt, int u, int sel, int h) "%s (reg %d u %d sel %d h %d)" diff --git a/target/mips/tcg/trace.h b/target/mips/tcg/trace.h new file mode 100644 index 0000000..b8c6c45 --- /dev/null +++ b/target/mips/tcg/trace.h @@ -0,0 +1 @@ +#include "trace/trace-target_mips_tcg.h" diff --git a/target/mips/tcg/translate.c b/target/mips/tcg/translate.c index 4b7229a..0a4257d 100644 --- a/target/mips/tcg/translate.c +++ b/target/mips/tcg/translate.c @@ -31,7 +31,7 @@ #include "exec/helper-gen.h" #include "semihosting/semihost.h" -#include "target/mips/trace.h" +#include "trace.h" #include "trace-tcg.h" #include "exec/translator.h" #include "exec/log.h" |