Re: [PATCHv2] perf stat: Ensure group is defined on top of the same cpu mask

2020-06-02 Thread Arnaldo Carvalho de Melo
Em Tue, Jun 02, 2020 at 02:10:17PM +0200, Jiri Olsa escreveu: > On Tue, Jun 02, 2020 at 08:50:17PM +0900, Namhyung Kim wrote: > > Hi Jiri, > > > > On Tue, Jun 2, 2020 at 5:16 PM Jiri Olsa wrote: > > > > > > On Tue, Jun 02, 2020 at 11:47:19AM +0900, Namhyung Kim wrote: > > > > On Tue, Jun 2, 2020

Re: [PATCHv2] perf stat: Ensure group is defined on top of the same cpu mask

2020-06-02 Thread Jiri Olsa
On Tue, Jun 02, 2020 at 08:50:17PM +0900, Namhyung Kim wrote: > Hi Jiri, > > On Tue, Jun 2, 2020 at 5:16 PM Jiri Olsa wrote: > > > > On Tue, Jun 02, 2020 at 11:47:19AM +0900, Namhyung Kim wrote: > > > On Tue, Jun 2, 2020 at 1:21 AM Ian Rogers wrote: > > > > > > > > On Mon, Jun 1, 2020 at 1:20

Re: [PATCHv2] perf stat: Ensure group is defined on top of the same cpu mask

2020-06-02 Thread Namhyung Kim
Hi Jiri, On Tue, Jun 2, 2020 at 5:16 PM Jiri Olsa wrote: > > On Tue, Jun 02, 2020 at 11:47:19AM +0900, Namhyung Kim wrote: > > On Tue, Jun 2, 2020 at 1:21 AM Ian Rogers wrote: > > > > > > On Mon, Jun 1, 2020 at 1:20 AM Jiri Olsa wrote: > > > > > > > > Jin Yao reported the issue (and posted

Re: [PATCHv2] perf stat: Ensure group is defined on top of the same cpu mask

2020-06-02 Thread Jiri Olsa
On Tue, Jun 02, 2020 at 11:47:19AM +0900, Namhyung Kim wrote: > On Tue, Jun 2, 2020 at 1:21 AM Ian Rogers wrote: > > > > On Mon, Jun 1, 2020 at 1:20 AM Jiri Olsa wrote: > > > > > > Jin Yao reported the issue (and posted first versions of this change) > > > with groups being defined over events

Re: [PATCHv2] perf stat: Ensure group is defined on top of the same cpu mask

2020-06-01 Thread Namhyung Kim
On Tue, Jun 2, 2020 at 1:21 AM Ian Rogers wrote: > > On Mon, Jun 1, 2020 at 1:20 AM Jiri Olsa wrote: > > > > Jin Yao reported the issue (and posted first versions of this change) > > with groups being defined over events with different cpu mask. > > > > This causes assert aborts in get_group_fd,

Re: [PATCHv2] perf stat: Ensure group is defined on top of the same cpu mask

2020-06-01 Thread Ian Rogers
On Mon, Jun 1, 2020 at 1:20 AM Jiri Olsa wrote: > > Jin Yao reported the issue (and posted first versions of this change) > with groups being defined over events with different cpu mask. > > This causes assert aborts in get_group_fd, like: > > # perf stat -M "C2_Pkg_Residency" -a -- sleep 1 >

[PATCHv2] perf stat: Ensure group is defined on top of the same cpu mask

2020-06-01 Thread Jiri Olsa
Jin Yao reported the issue (and posted first versions of this change) with groups being defined over events with different cpu mask. This causes assert aborts in get_group_fd, like: # perf stat -M "C2_Pkg_Residency" -a -- sleep 1 perf: util/evsel.c:1464: get_group_fd: Assertion `!(fd == -1)'