[PATCH v2 23/32] perf/x86/intel/cqm: use PERF_INACTIVE_*_READ_* flags in CQM

2016-05-11 Thread David Carrillo-Cisneros
Use newly added pmu_event flags to: - Allow thread events to be read from any CPU even if not in ACTIVE state. Since inter-package values are polled, a thread's occupancy is always: local occupancy (read from hw) + remote occupancy (polled values) - Allow cpu/cgroup events to be read

[PATCH v2 23/32] perf/x86/intel/cqm: use PERF_INACTIVE_*_READ_* flags in CQM

2016-05-11 Thread David Carrillo-Cisneros
Use newly added pmu_event flags to: - Allow thread events to be read from any CPU even if not in ACTIVE state. Since inter-package values are polled, a thread's occupancy is always: local occupancy (read from hw) + remote occupancy (polled values) - Allow cpu/cgroup events to be read