Re: [PATCH] perf record: Change error message on failure
From: Ingo Molnar
Date: Thu Sep 13 2012 - 11:07:40 EST
* Robert Richter <robert.richter@xxxxxxx> 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?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/