Re: [PATCH v2 09/32] perf/x86/intel/cqm: basic RMID hierarchy with per package RMIDs

2016-05-18 Thread Thomas Gleixner
On Wed, 11 May 2016, David Carrillo-Cisneros wrote: > /* > * A cache groups is a group of perf_events with the same target (thread, > * cgroup, CPU or system-wide). Each cache group receives has one RMID. > @@ -80,8 +85,68 @@ static inline int __cqm_prmid_update(struct prmid *prmid, > static

[PATCH v2 09/32] perf/x86/intel/cqm: basic RMID hierarchy with per package RMIDs

2016-05-11 Thread David Carrillo-Cisneros
Cgroups and/or tasks that require to be monitored using a RMID are abstracted as a MOnitored Resources (monr's). A CQM event is associated to a monr in order to monitor and read llc_occupancy (and in the future other attributes, such as memory bandwidth). The monrs form a hierarchy that captures t