Re: perf error codes

From: stephane eranian
Date: Tue Jul 12 2011 - 09:09:44 EST


Hi,

On Tue, Jul 12, 2011 at 8:41 AM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> Hi Stephane, Vince,
>
> Linus recently expressed dislike of our -ENOSPC usage for indicating the
> pmu is 'full'. Do either of your projects (libpfm, libpapi resp.) rely
> on this particular error code for this condition?
>
libpfm does not make perf syscalls. It would not be impacted
by a change in the error code.

I wonder what other meaningful code you might be able to use, though.

Thanks for asking.


>
>
--
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/