Re: [PATCH] perf evlist: Fix error out while applying initial delay and LBR

2018-07-26 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 09, 2018 at 05:20:54PM +0200, Jiri Olsa escreveu: > On Mon, Jul 09, 2018 at 07:15:22AM -0700, kan.li...@linux.intel.com wrote: > > After applying the patch: > > perf record -D 1000 -a -e cycles -j any -- sleep 2 > > [ perf record: Woken up 1 times to write data ] > > [ perf

Re: [PATCH] perf evlist: Fix error out while applying initial delay and LBR

2018-07-26 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 09, 2018 at 05:20:54PM +0200, Jiri Olsa escreveu: > On Mon, Jul 09, 2018 at 07:15:22AM -0700, kan.li...@linux.intel.com wrote: > > After applying the patch: > > perf record -D 1000 -a -e cycles -j any -- sleep 2 > > [ perf record: Woken up 1 times to write data ] > > [ perf

Re: [PATCH] perf evlist: Fix error out while applying initial delay and LBR

2018-07-09 Thread Jiri Olsa
On Mon, Jul 09, 2018 at 07:15:22AM -0700, kan.li...@linux.intel.com wrote: > From: Kan Liang > > Perf record will error out if both --delay and LBR are applied. > For example: > perf record -D 1000 -a -e cycles -j any -- sleep 2 > Error: > dummy:HG: PMU Hardware doesn't support

Re: [PATCH] perf evlist: Fix error out while applying initial delay and LBR

2018-07-09 Thread Jiri Olsa
On Mon, Jul 09, 2018 at 07:15:22AM -0700, kan.li...@linux.intel.com wrote: > From: Kan Liang > > Perf record will error out if both --delay and LBR are applied. > For example: > perf record -D 1000 -a -e cycles -j any -- sleep 2 > Error: > dummy:HG: PMU Hardware doesn't support

[PATCH] perf evlist: Fix error out while applying initial delay and LBR

2018-07-09 Thread kan . liang
From: Kan Liang Perf record will error out if both --delay and LBR are applied. For example: perf record -D 1000 -a -e cycles -j any -- sleep 2 Error: dummy:HG: PMU Hardware doesn't support sampling/overflow-interrupts. Try 'perf stat' A dummy event is added implicitly for initial

[PATCH] perf evlist: Fix error out while applying initial delay and LBR

2018-07-09 Thread kan . liang
From: Kan Liang Perf record will error out if both --delay and LBR are applied. For example: perf record -D 1000 -a -e cycles -j any -- sleep 2 Error: dummy:HG: PMU Hardware doesn't support sampling/overflow-interrupts. Try 'perf stat' A dummy event is added implicitly for initial