On Thu, Jun 06, 2024 at 12:30:26PM +0200, Philippe Mathieu-Daudé wrote: > Commit c9274b6bf0 ("target/s390x: start moving TCG-only code > to tcg/") moved mem_helper.c, but the trace-events file is > still in the parent directory, so is the generated trace.h. > > Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> > --- > Ideally we should only use trace events from current directory.
Yes, that would be cleaner. Is it possible to move the relevant trace events to the trace-events file in target/s390x/tcg/? > --- > target/s390x/tcg/mem_helper.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/target/s390x/tcg/mem_helper.c b/target/s390x/tcg/mem_helper.c > index 6a308c5553..1fb6cbb6cf 100644 > --- a/target/s390x/tcg/mem_helper.c > +++ b/target/s390x/tcg/mem_helper.c > @@ -30,7 +30,7 @@ > #include "hw/core/tcg-cpu-ops.h" > #include "qemu/int128.h" > #include "qemu/atomic128.h" > -#include "trace.h" > +#include "../trace.h" > > #if !defined(CONFIG_USER_ONLY) > #include "hw/s390x/storage-keys.h" > -- > 2.41.0 >
signature.asc
Description: PGP signature