[PATCH v2 4/6] perf/x86: Annotate some of the error codes with perf_err()

2015-08-24 Thread Alexander Shishkin
This patch annotates a few x86-specific error paths with perf's extended error reporting facility. Signed-off-by: Alexander Shishkin --- arch/x86/kernel/cpu/perf_event.c | 8 ++-- arch/x86/kernel/cpu/perf_event_intel_lbr.c | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-)

[PATCH v2 4/6] perf/x86: Annotate some of the error codes with perf_err()

2015-08-24 Thread Alexander Shishkin
This patch annotates a few x86-specific error paths with perf's extended error reporting facility. Signed-off-by: Alexander Shishkin alexander.shish...@linux.intel.com --- arch/x86/kernel/cpu/perf_event.c | 8 ++-- arch/x86/kernel/cpu/perf_event_intel_lbr.c | 2 +- 2 files changed,