[PATCH v2] perf tool: report user-friendly errors from trace

2013-10-03 Thread Ramkumar Ramachandra
Currently, execution of 'perf trace' reports the following cryptic message to the user: $ perf trace Couldn't read the raw_syscalls tracepoints information! Typically this happens because the user does not have permissions to read the debugfs filesystem. Also handle the case when the kernel was

[PATCH v2] perf tool: report user-friendly errors from trace

2013-10-03 Thread Ramkumar Ramachandra
Currently, execution of 'perf trace' reports the following cryptic message to the user: $ perf trace Couldn't read the raw_syscalls tracepoints information! Typically this happens because the user does not have permissions to read the debugfs filesystem. Also handle the case when the kernel was