lkml.org 
[lkml]   [2012]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf record: Change error message on failure

* Robert Richter <robert.richter@amd.com> wrote:

> Only report
>
> No CONFIG_PERF_EVENTS=y kernel support configured?
>
> if the syscall fails with ENOSYS. In other cases CONFIG_PERF_EVENTS is
> set and might confuse users. The default message is now:
>
> Not all events could be opened.

Indeed, and it would be nice to be even less passive-aggressive
and figure out and display the exact error condition?

Thanks,

Ingo


\
 
 \ /
  Last update: 2012-09-13 18:41    [W:0.036 / U:2.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site