diff options
author | Matt Fleming <matt.fleming@intel.com> | 2015-01-23 18:45:42 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-02-25 13:53:30 +0100 |
commit | 79dff51e900fd26a073be8b23acfbd8c15edb181 (patch) | |
tree | 9e10aa04dbe2513fcfba2b9f18da154b70025f0d /usr | |
parent | eacd3ecc34472ce3751eedfc94e44c7cc6eb6305 (diff) | |
download | blackbird-op-linux-79dff51e900fd26a073be8b23acfbd8c15edb181.tar.gz blackbird-op-linux-79dff51e900fd26a073be8b23acfbd8c15edb181.zip |
perf: Move cgroup init before PMU ->event_init()
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.
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kanaka Juvva <kanaka.d.juvva@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Vikas Shivappa <vikas.shivappa@linux.intel.com>
Link: http://lkml.kernel.org/r/1422038748-21397-4-git-send-email-matt@codeblueprint.co.uk
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions