aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-05-30 09:02:16 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-06-24 16:48:07 +0200
commit34b8ff25db3eff9c8c02371ac976b16389d0fcb7 (patch)
treea8b019be97aeeff8ff05be4c2fb136cce517bf33
parent05d9d0359e6da7dc8255712d745d079a04fa5ae5 (diff)
downloadqemu-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>
-rw-r--r--meson.build2
-rw-r--r--target/mips/tcg/trace-events (renamed from target/mips/trace-events)0
-rw-r--r--target/mips/tcg/trace.h1
-rw-r--r--target/mips/tcg/translate.c2
-rw-r--r--target/mips/trace.h1
5 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index d8a9266..a91b394 100644
--- a/meson.build
+++ b/meson.build
@@ -1882,7 +1882,7 @@ if have_system or have_user
'target/hppa',
'target/i386',
'target/i386/kvm',
- 'target/mips',
+ 'target/mips/tcg',
'target/ppc',
'target/riscv',
'target/s390x',
diff --git a/target/mips/trace-events b/target/mips/tcg/trace-events
index 0c55e0b..0c55e0b 100644
--- a/target/mips/trace-events
+++ b/target/mips/tcg/trace-events
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"
diff --git a/target/mips/trace.h b/target/mips/trace.h
deleted file mode 100644
index f25b88c..0000000
--- a/target/mips/trace.h
+++ /dev/null
@@ -1 +0,0 @@
-#include "trace/trace-target_mips.h"