[PATCH 10/12] perf/core,x86/cqm: Add read for Cgroup events,per pkg reads.

2017-01-06 Thread Vikas Shivappa
For cqm cgroup events, the events can be read even if the event was not active on the cpu on which the event is being read. This is because the RMIDs are per package and hence if we read the llc_occupancy value on a cpu x, we are really reading the occupancy for the package where cpu x belongs.

[PATCH 10/12] perf/core,x86/cqm: Add read for Cgroup events,per pkg reads.

2017-01-06 Thread Vikas Shivappa
For cqm cgroup events, the events can be read even if the event was not active on the cpu on which the event is being read. This is because the RMIDs are per package and hence if we read the llc_occupancy value on a cpu x, we are really reading the occupancy for the package where cpu x belongs.

[PATCH 10/12] perf/core,x86/cqm: Add read for Cgroup events,per pkg reads.

2017-01-06 Thread Vikas Shivappa
For cqm cgroup events, the events can be read even if the event was not active on the cpu on which the event is being read. This is because the RMIDs are per package and hence if we read the llc_occupancy value on a cpu x, we are really reading the occupancy for the package where cpu x belongs.

[PATCH 10/12] perf/core,x86/cqm: Add read for Cgroup events,per pkg reads.

2017-01-06 Thread Vikas Shivappa
For cqm cgroup events, the events can be read even if the event was not active on the cpu on which the event is being read. This is because the RMIDs are per package and hence if we read the llc_occupancy value on a cpu x, we are really reading the occupancy for the package where cpu x belongs.