[PATCH v2 16/32] perf/x86/intel/cqm: add cgroup support

2016-05-11 Thread David Carrillo-Cisneros
Create a monr per monitored cgroup. Inserts monrs in the monr hierarchy. Task events are leaves of the lowest monitored ancestor cgroup (the lowest cgroup ancestor with a monr). CQM starts after the cgroup subsystem, and uses the cqm_initialized_key static key to avoid interfering with the perf

[PATCH v2 16/32] perf/x86/intel/cqm: add cgroup support

2016-05-11 Thread David Carrillo-Cisneros
Create a monr per monitored cgroup. Inserts monrs in the monr hierarchy. Task events are leaves of the lowest monitored ancestor cgroup (the lowest cgroup ancestor with a monr). CQM starts after the cgroup subsystem, and uses the cqm_initialized_key static key to avoid interfering with the perf