target/mips: Move TCG trace events to tcg/ sub directory
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 30 May 2021 07:02:16 +0000 (09:02 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 24 Jun 2021 14:48:07 +0000 (16:48 +0200)
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>

meson.build
target/mips/tcg/trace-events [new file with mode: 0644]
target/mips/tcg/trace.h [new file with mode: 0644]
target/mips/tcg/translate.c
target/mips/trace-events [deleted file]
target/mips/trace.h [deleted file]

index d8a92666fbcd8988e790480b4eb934f95d10d305..a91b39465c7704b827c1b76d5df49df13aafb9d1 100644 (file)
@@ -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/tcg/trace-events b/target/mips/tcg/trace-events
new file mode 100644 (file)
index 0000000..0c55e0b
--- /dev/null
@@ -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 (file)
index 0000000..b8c6c45
--- /dev/null
@@ -0,0 +1 @@
+#include "trace/trace-target_mips_tcg.h"
index 4b7229a868ae9db48ff21aa76d360abf552d4507..0a4257db2a9d2ebea3545a299bc2b0049ae8a403 100644 (file)
@@ -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-events b/target/mips/trace-events
deleted file mode 100644 (file)
index 0c55e0b..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# 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/trace.h b/target/mips/trace.h
deleted file mode 100644 (file)
index f25b88c..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "trace/trace-target_mips.h"