[PATCH 3/9] target/mips: Move TCG trace events to tcg/ sub directory

Philippe Mathieu-Daudé posted 9 patches 4 years, 7 months ago
Maintainers: Jiaxun Yang <jiaxun.yang@flygoat.com>, Aurelien Jarno <aurelien@aurel32.net>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>
[PATCH 3/9] target/mips: Move TCG trace events to tcg/ sub directory
Posted by Philippe Mathieu-Daudé 4 years, 7 months ago
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>
---
 meson.build                        | 2 +-
 target/mips/tcg/translate.c        | 1 +
 target/mips/{ => tcg}/trace-events | 0
 3 files changed, 2 insertions(+), 1 deletion(-)
 rename target/mips/{ => tcg}/trace-events (100%)

diff --git a/meson.build b/meson.build
index a2311eda6ec..196adef6f8d 100644
--- a/meson.build
+++ b/meson.build
@@ -1882,7 +1882,7 @@
     'target/hppa',
     'target/i386',
     'target/i386/kvm',
-    'target/mips',
+    'target/mips/tcg',
     'target/ppc',
     'target/riscv',
     'target/s390x',
diff --git a/target/mips/tcg/translate.c b/target/mips/tcg/translate.c
index 4b7229a868a..a4cab66d338 100644
--- a/target/mips/tcg/translate.c
+++ b/target/mips/tcg/translate.c
@@ -33,6 +33,7 @@
 
 #include "target/mips/trace.h"
 #include "trace-tcg.h"
+#include "trace.h"
 #include "exec/translator.h"
 #include "exec/log.h"
 #include "qemu/qemu-print.h"
diff --git a/target/mips/trace-events b/target/mips/tcg/trace-events
similarity index 100%
rename from target/mips/trace-events
rename to target/mips/tcg/trace-events
-- 
2.31.1

Re: [PATCH 3/9] target/mips: Move TCG trace events to tcg/ sub directory
Posted by Richard Henderson 4 years, 7 months ago
On 6/17/21 10:43 AM, Philippe Mathieu-Daudé wrote:
> 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>
> ---
>   meson.build                        | 2 +-
>   target/mips/tcg/translate.c        | 1 +
>   target/mips/{ => tcg}/trace-events | 0
>   3 files changed, 2 insertions(+), 1 deletion(-)
>   rename target/mips/{ => tcg}/trace-events (100%)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~