qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PULL 3/5] tcg: add perfmap and jitdump


From: Ilya Leoshkevich
Subject: Re: [PULL 3/5] tcg: add perfmap and jitdump
Date: Fri, 30 Jun 2023 14:39:06 +0200
User-agent: Evolution 3.48.3 (3.48.3-1.fc38)

On Thu, 2023-06-29 at 14:59 +0200, Richard Henderson wrote:
> On 6/29/23 13:31, Philippe Mathieu-Daudé wrote:
> > > diff --git a/tcg/tcg.c b/tcg/tcg.c
> > > index da91779890..9b7df71e7a 100644
> > > --- a/tcg/tcg.c
> > > +++ b/tcg/tcg.c
> > > @@ -61,6 +61,7 @@
> > >   #include "exec/log.h"
> > >   #include "tcg/tcg-ldst.h"
> > >   #include "tcg-internal.h"
> > > +#include "accel/tcg/perf.h"
> > 
> > Is it OK to include an header from QEMU's accel/tcg/ here?
> > I thought we wanted to keep tcg/ kinda independant (or maybe
> > this is already too late and this isn't a concern anymore).
> 
> It's not ideal, no.  Perf really should live in tcg/.
> 
> 
> r~

This would require to somehow get rid of this:

#if defined(TARGET_I386)
            q[insn].address -= tb->cs_base;
#endif

I'll try to come up with a patch.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]