Re: [PATCH 5/8] perf tools: Get precise_ip from the pmu config

Andi Kleen
2019-03-05T16:13:23Z

On Tue, Mar 05, 2019 at 04:25:33PM +0100, Jiri Olsa wrote:
> Getting precise_ip field from the perf_pmu::max_precise
> config read from sysfs. If it's not available falling
> back to current detection function.

max_precise depends on the event. This won't work for all
events. For example only instructions and cycles support
ppp

The previous method handled it by event.

-Andi