Re: [RFC 2/3] perf tool: stat: say more about why event is not supported by the kernel

2017-10-24 Thread Kim Phillips
On Tue, 24 Oct 2017 14:35:30 +0100 Will Deacon wrote: > On Tue, Oct 24, 2017 at 03:04:08AM -0500, Kim Phillips wrote: > > +++ b/tools/perf/builtin-stat.c > > @@ -625,9 +625,13 @@ static int __run_perf_stat(int argc, const char **argv) > > if (errno == EINVAL || errno == ENOSYS

Re: [RFC 2/3] perf tool: stat: say more about why event is not supported by the kernel

2017-10-24 Thread Will Deacon
On Tue, Oct 24, 2017 at 03:04:08AM -0500, Kim Phillips wrote: > Call perf_evsel__open_strerror() to potentially expand upon why the > event was "not supported by the kernel." See the enhanced '-v' example > output messages in the next patch. Nit: it would be better if the commit message was self-