Re: [RFC 2/2] perf/core: change errno for sampling event not supported in hardware

2016-05-09 Thread Vineet Gupta
On Monday 09 May 2016 07:24 PM, Vince Weaver wrote: > On Mon, 9 May 2016, Vineet Gupta wrote: > >> This allows userspace to identify this case specifically from the >> catch all error msg it prints currently. >> >> This is an ABI change > > An ABI change which will probably break things. Right

Re: [RFC 2/2] perf/core: change errno for sampling event not supported in hardware

2016-05-09 Thread Vince Weaver
On Mon, 9 May 2016, Vineet Gupta wrote: > This allows userspace to identify this case specifically from the > catch all error msg it prints currently. > > This is an ABI change An ABI change which will probably break things. The original change from ENODEV to ENOTSUPP managed to break things a

[RFC 0/2] report perf sampling failing due to PMU lacking overflow intr support

2016-05-09 Thread Vineet Gupta
Hi, A couple of minor patches to print better PMU lacking overflow intr support such as in ARC700 cores. This is an ABI change so might be controversial hence RFC. Despite triviality, I've seperated the change into 2 pacthes - for different maintainers and also kept userspace change first to ke

[RFC 1/2] tools/perf: Handle EOPNOTSUPP for sampling events

2016-05-09 Thread Vineet Gupta
This allows (with next change to perf core) for calling out in userspace the exact reason for perf record failing when PMU doesn't support overflow interrupts Note that this needs to be put ahead of existing precise_ip check as that gets hit otherwise for the sampling fail case as well. Signed-of

[RFC 2/2] perf/core: change errno for sampling event not supported in hardware

2016-05-09 Thread Vineet Gupta
This allows userspace to identify this case specifically from the catch all error msg it prints currently. This is an ABI change Before --- | # perf record ls | Error: | The sys_perf_event_open() syscall returned with 524 (Unknown error 524) | for event (cycles:ppp). | /bin/dmesg may provide

Re: [RESEND PATCH 2/2 v6] arc: axs10x: Add DT bindings for I2S PLL Clock

2016-05-09 Thread Jose Abreu
Hi Vineet, On 02-05-2016 10:39, Jose Abreu wrote: > Add device tree bindings for AXS10X I2S PLL Clock driver. > > Signed-off-by: Jose Abreu > Acked-by: Alexey Brodkin > Acked-by: Vineet Gupta > --- > > Changes v5 -> v6: > * Added 'clocks' field > > This patch was only introduced in v5. > > Cc: