[PATCH RFC v3 2/6] perf: Use extended syscall error reporting

2015-09-11 Thread Alexander Shishkin
This patch makes use of the extended syscall error reporting infrastructure to relay error messages that result from perf_event_open() attribute validation. On top of the default error report bits, it also transfers the name of the attribute field that triggered the error. Signed-off-by:

[PATCH RFC v3 2/6] perf: Use extended syscall error reporting

2015-09-11 Thread Alexander Shishkin
This patch makes use of the extended syscall error reporting infrastructure to relay error messages that result from perf_event_open() attribute validation. On top of the default error report bits, it also transfers the name of the attribute field that triggered the error. Signed-off-by: