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

From: Andi Kleen
Date: Tue Mar 05 2019 - 11:13:22 EST

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

The previous method handled it by event.