[RFC 0/2] report perf sampling failing due to PMU lacking overflow intr support

From: Vineet Gupta
Date: Mon May 09 2016 - 05:38:08 EST


Hi,

A couple of minor patches to print better PMU lacking overflow intr support
such as in ARC700 cores.

This is an ABI change so might be controversial hence RFC.

Despite triviality, I've seperated the change into 2 pacthes - for different maintainers
and also kept userspace change first to keep it bisectable.

Comments welcome !

Thx,
-Vineet

Vineet Gupta (2):
tools/perf: Handle EOPNOTSUPP for sampling events
perf/core: change errno for sampling event not supported in hardware

kernel/events/core.c | 2 +-
tools/perf/util/evsel.c | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)

--
2.5.0