[PATCH 05/11] perf: Move cgroup init before PMU ->event_init()

2014-11-14 Thread Matt Fleming
From: Matt Fleming The Intel QoS PMU needs to know whether an event is part of a cgroup during ->event_init(), because tasks in the same cgroup share a monitoring ID. Move the cgroup initialisation before calling into the PMU driver. Cc: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter

[PATCH 05/11] perf: Move cgroup init before PMU -event_init()

2014-11-14 Thread Matt Fleming
From: Matt Fleming matt.flem...@intel.com The Intel QoS PMU needs to know whether an event is part of a cgroup during -event_init(), because tasks in the same cgroup share a monitoring ID. Move the cgroup initialisation before calling into the PMU driver. Cc: Jiri Olsa jo...@redhat.com Cc: