Re: perf_event_open() ABI compatability

From: Ingo Molnar
Date: Mon Jan 11 2016 - 06:28:11 EST



* Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx> wrote:

> >> Ideally we would somehow want E2BIG returned plus the size of __reserved_1 if
> >> the value of __reserved_1 is not zero. I suppose at this point in the game
> >> it's too late for this to be much help and we're going to have to work around
> >> the problem forever anyway.
> >
> > Right :/ So I was hoping some of that extended error reporting stuff from
> > Alexander Shishkin would help out with this. Not sure where that stranded -- I
> > think in the attempt to make it too generic or so.
>
> Yep. I can respin it back into perf-specific shape, so do we still want it?

Yeah, please do!

Thanks,

Ingo