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

2020-06-01 Thread Jiri Olsa
On Sun, May 31, 2020 at 05:04:47PM -0700, Ian Rogers wrote: > On Sun, May 31, 2020 at 9:22 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

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

2020-06-01 Thread Jiri Olsa
On Sun, May 31, 2020 at 05:04:47PM -0700, Ian Rogers wrote: > On Sun, May 31, 2020 at 9:22 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

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

2020-05-31 Thread Ian Rogers
On Sun, May 31, 2020 at 9:22 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 >

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

2020-05-31 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)'