Re: Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-05-05 Thread Vineet Gupta
On Tuesday 26 April 2016 06:12 PM, Vineet Gupta wrote: > On Friday 22 April 2016 06:56 PM, Lada Trimasova wrote: >> I have a question about user-space perf handling error numbers. >> The problem is that PMU interrupts are not supported in arc700 >> architecture and it is impossible to evaluate

Re: Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-05-05 Thread Vineet Gupta
On Tuesday 26 April 2016 06:12 PM, Vineet Gupta wrote: > On Friday 22 April 2016 06:56 PM, Lada Trimasova wrote: >> I have a question about user-space perf handling error numbers. >> The problem is that PMU interrupts are not supported in arc700 >> architecture and it is impossible to evaluate

Re: Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-04-27 Thread Vineet Gupta
On Wednesday 27 April 2016 08:43 PM, Lada Trimasova wrote: > On Tue, 2016-04-26 at 12:42 +, Vineet Gupta wrote: > > On Friday 22 April 2016 06:56 PM, Lada Trimasova wrote: > I think what we have now is sufficient - but u seem to want a prettier > failure output. > > Anyhow, this print is

Re: Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-04-27 Thread Vineet Gupta
On Wednesday 27 April 2016 08:43 PM, Lada Trimasova wrote: > On Tue, 2016-04-26 at 12:42 +, Vineet Gupta wrote: > > On Friday 22 April 2016 06:56 PM, Lada Trimasova wrote: > I think what we have now is sufficient - but u seem to want a prettier > failure output. > > Anyhow, this print is

Re: Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-04-27 Thread Lada Trimasova
On Tue, 2016-04-26 at 12:42 +, Vineet Gupta wrote: On Friday 22 April 2016 06:56 PM, Lada Trimasova wrote: I think what we have now is sufficient - but u seem to want a prettier failure output. Anyhow, this print is coming from util/evsel.c: perf_evsel__open_strerror() At the very least you

Re: Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-04-27 Thread Lada Trimasova
On Tue, 2016-04-26 at 12:42 +, Vineet Gupta wrote: On Friday 22 April 2016 06:56 PM, Lada Trimasova wrote: I think what we have now is sufficient - but u seem to want a prettier failure output. Anyhow, this print is coming from util/evsel.c: perf_evsel__open_strerror() At the very least you

Re: Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-04-26 Thread Vineet Gupta
On Friday 22 April 2016 06:56 PM, Lada Trimasova wrote: > I have a question about user-space perf handling error numbers. > The problem is that PMU interrupts are not supported in arc700 > architecture and it is impossible to evaluate `perf record` command. > In our perf implementation we set

Re: Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-04-26 Thread Vineet Gupta
On Friday 22 April 2016 06:56 PM, Lada Trimasova wrote: > I have a question about user-space perf handling error numbers. > The problem is that PMU interrupts are not supported in arc700 > architecture and it is impossible to evaluate `perf record` command. > In our perf implementation we set

Re: Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-04-26 Thread Lada Trimasova
I wonder if there are any thoughts about this question. Please treat this as a polite reminder to take a look to this problem. Regards, Lada On Fri, 2016-04-22 at 16:25 +0300, Lada Trimasova wrote: I have a question about user-space perf handling error numbers. The problem is that PMU

Re: Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-04-26 Thread Lada Trimasova
I wonder if there are any thoughts about this question. Please treat this as a polite reminder to take a look to this problem. Regards, Lada On Fri, 2016-04-22 at 16:25 +0300, Lada Trimasova wrote: I have a question about user-space perf handling error numbers. The problem is that PMU

Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-04-22 Thread Lada Trimasova
I have a question about user-space perf handling error numbers. The problem is that PMU interrupts are not supported in arc700 architecture and it is impossible to evaluate `perf record` command. In our perf implementation we set PERF_PMU_CAP_NO_INTERRUPT flag so core perf infrastructure knows we

Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-04-22 Thread Lada Trimasova
I have a question about user-space perf handling error numbers. The problem is that PMU interrupts are not supported in arc700 architecture and it is impossible to evaluate `perf record` command. In our perf implementation we set PERF_PMU_CAP_NO_INTERRUPT flag so core perf infrastructure knows we