diff mbox series

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

Message ID 20210617174323.2900831-4-f4bug@amsat.org (mailing list archive)
State New, archived
Headers show
Series target/mips: Various fixes & cleanups | expand

Commit Message

Philippe Mathieu-Daudé June 17, 2021, 5:43 p.m. UTC
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%)

Comments

Richard Henderson June 18, 2021, 10:32 p.m. UTC | #1
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~
diff mbox series

Patch

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