Re: [PATCH] perf tools: Move precise_ip detection into perf_evsel__open

From: Andi Kleen
Date: Fri Mar 15 2019 - 10:05:48 EST


On Fri, Mar 15, 2019 at 01:15:46PM +0100, Jiri Olsa wrote:
> On Thu, Mar 14, 2019 at 08:49:11AM -0700, Andi Kleen wrote:
> > > > Still seems like a hack. Even though I don't know of a case that
> > > > would break now. But it would be better to have the precise probing
> > > > in the open retry loop, instead of trying to reinvent it here.
> > >
> > > how about something like below?
> >
> > Yes looks reasonable.
>
> full patch attached,

Acked-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>

-Andi