On Fri, Sep 27, 2019 at 10:53 AM Richard Henderson
<richard.hender...@linaro.org> wrote:
>
> On 9/27/19 10:23 AM, Alistair Francis wrote:
> >> I'm curious about the motivation here.
> >>
> >> In particular, what difference does it make what cpu the TB is generated 
> >> for?
> >> It would seem like the more relevant place to look for this is with -d cpu 
> >> or
> >> -d exec where the TB is actually executed, which could well be multiple 
> >> cpus.
> >
> > The main reason is that the sifive_u machine now has two RISC-V
> > clusters so it's useful to see what is happening on each CPU. -d cpu
> > and -d exec are much more difficult to comprehend so aren't always as
> > useful.
>
> Hmm.  I wonder if it might be time to find a way to be able to optionally 
> split
> the qemu_log output on a per-cpu basis.  It wouldn't necessarily always be
> helpful, because we'd still have the case of a given TB being translated by 
> one
> cpu and executed on another, but it could make some things easier to follow.

A per cpu-cluster basis would be useful.

Until then though this patch helps.

Alistair

>
>
> r~

Reply via email to