Re: [PATCH 2/2] perf, tools: Support user regs in perf script

From: Arnaldo Carvalho de Melo
Date: Tue Sep 05 2017 - 14:50:06 EST


Em Tue, Sep 05, 2017 at 03:47:35PM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Tue, Sep 05, 2017 at 11:28:20AM -0700, Andi Kleen escreveu:
> > On Tue, Sep 05, 2017 at 02:48:30PM -0300, Arnaldo Carvalho de Melo wrote:
> > > Em Tue, Sep 05, 2017 at 10:00:29AM -0700, Andi Kleen escreveu:
> > > > From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> > > >
> > > > Teach perf script to print user regs.
> > > >
> > > > % perf record --user-regs=ip,sp ...
> > > > % perf script -F ip,sym,uregs
> > >
> > > Applied the first patch, but this one isn't applying, please check.
> >
> > It conflicts with the physical address patches, will rebase
> > and resend.
> >
> > Or it's usually just trivial conflicts with the perf script options
> > if you want to take a stab.
>
> yeah, done.

But you did it in a different order, i.e. in some hunks you put it
before the code handling phys_addr, so I'll use your patch instead,
since you did it anyway.

- Arnaldo