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

2015-08-24 Thread Alexander Shishkin
This patch annotates a few semi-random error paths in perf core to illustrate the extended error reporting facility. Most of them can be triggered from perf tools. Signed-off-by: Alexander Shishkin --- kernel/events/core.c | 20 +++- 1 file changed, 11 insertions(+), 9

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

2015-08-24 Thread Alexander Shishkin
This patch annotates a few semi-random error paths in perf core to illustrate the extended error reporting facility. Most of them can be triggered from perf tools. Signed-off-by: Alexander Shishkin alexander.shish...@linux.intel.com --- kernel/events/core.c | 20 +++- 1 file