Re: [PATCH 1/2] perf tests: Fix switch tracking test for P4

2017-06-04 Thread Jiri Olsa
On Fri, Jun 02, 2017 at 02:35:59PM +0300, Adrian Hunter wrote: > On 01/06/17 16:11, Arnaldo Carvalho de Melo wrote: > > Em Fri, May 26, 2017 at 02:31:40PM +0200, Jiri Olsa escreveu: > >> The switch tracking test keeps failing on P4 cpu, > >> when NMI watchdog is enabled. > >> > >> The reason is

Re: [PATCH 1/2] perf tests: Fix switch tracking test for P4

2017-06-04 Thread Jiri Olsa
On Fri, Jun 02, 2017 at 02:35:59PM +0300, Adrian Hunter wrote: > On 01/06/17 16:11, Arnaldo Carvalho de Melo wrote: > > Em Fri, May 26, 2017 at 02:31:40PM +0200, Jiri Olsa escreveu: > >> The switch tracking test keeps failing on P4 cpu, > >> when NMI watchdog is enabled. > >> > >> The reason is

Re: [PATCH 1/2] perf tests: Fix switch tracking test for P4

2017-06-02 Thread Adrian Hunter
On 01/06/17 16:11, Arnaldo Carvalho de Melo wrote: > Em Fri, May 26, 2017 at 02:31:40PM +0200, Jiri Olsa escreveu: >> The switch tracking test keeps failing on P4 cpu, >> when NMI watchdog is enabled. >> >> The reason is that P4 pmu uses substitute event for cycles >> when it's already taken (in

Re: [PATCH 1/2] perf tests: Fix switch tracking test for P4

2017-06-02 Thread Adrian Hunter
On 01/06/17 16:11, Arnaldo Carvalho de Melo wrote: > Em Fri, May 26, 2017 at 02:31:40PM +0200, Jiri Olsa escreveu: >> The switch tracking test keeps failing on P4 cpu, >> when NMI watchdog is enabled. >> >> The reason is that P4 pmu uses substitute event for cycles >> when it's already taken (in

Re: [PATCH 1/2] perf tests: Fix switch tracking test for P4

2017-06-01 Thread Arnaldo Carvalho de Melo
Em Fri, May 26, 2017 at 02:31:40PM +0200, Jiri Olsa escreveu: > The switch tracking test keeps failing on P4 cpu, > when NMI watchdog is enabled. > > The reason is that P4 pmu uses substitute event for cycles > when it's already taken (in our case by NMI watchdog), but > this event does not give

Re: [PATCH 1/2] perf tests: Fix switch tracking test for P4

2017-06-01 Thread Arnaldo Carvalho de Melo
Em Fri, May 26, 2017 at 02:31:40PM +0200, Jiri Olsa escreveu: > The switch tracking test keeps failing on P4 cpu, > when NMI watchdog is enabled. > > The reason is that P4 pmu uses substitute event for cycles > when it's already taken (in our case by NMI watchdog), but > this event does not give

[PATCH 1/2] perf tests: Fix switch tracking test for P4

2017-05-26 Thread Jiri Olsa
The switch tracking test keeps failing on P4 cpu, when NMI watchdog is enabled. The reason is that P4 pmu uses substitute event for cycles when it's already taken (in our case by NMI watchdog), but this event does not give even results like cycles, and we could end up with no samples at all for

[PATCH 1/2] perf tests: Fix switch tracking test for P4

2017-05-26 Thread Jiri Olsa
The switch tracking test keeps failing on P4 cpu, when NMI watchdog is enabled. The reason is that P4 pmu uses substitute event for cycles when it's already taken (in our case by NMI watchdog), but this event does not give even results like cycles, and we could end up with no samples at all for