Re: [PATCH v2 17/27] perf evsel: Adjust hybrid event and global event mixed group

2021-03-15 Thread Jin, Yao
Hi Jiri, On 3/16/2021 7:04 AM, Jiri Olsa wrote: On Thu, Mar 11, 2021 at 03:07:32PM +0800, Jin Yao wrote: A group mixed with hybrid event and global event is allowed. For example, group leader is 'cpu-clock' and the group member is 'cpu_atom/cycles/'. e.g. perf stat -e '{cpu-clock,cpu_atom/cycl

Re: [PATCH v2 17/27] perf evsel: Adjust hybrid event and global event mixed group

2021-03-15 Thread Jiri Olsa
On Thu, Mar 11, 2021 at 03:07:32PM +0800, Jin Yao wrote: > A group mixed with hybrid event and global event is allowed. For example, > group leader is 'cpu-clock' and the group member is 'cpu_atom/cycles/'. > > e.g. > perf stat -e '{cpu-clock,cpu_atom/cycles/}' -a > > The challenge is their avail

[PATCH v2 17/27] perf evsel: Adjust hybrid event and global event mixed group

2021-03-10 Thread Jin Yao
A group mixed with hybrid event and global event is allowed. For example, group leader is 'cpu-clock' and the group member is 'cpu_atom/cycles/'. e.g. perf stat -e '{cpu-clock,cpu_atom/cycles/}' -a The challenge is their available cpus are not fully matched. For example, 'cpu-clock' is available