diff options
author | 2015-01-23 18:45:42 +0000 | |
---|---|---|
committer | 2015-02-25 13:53:30 +0100 | |
commit | 79dff51e900fd26a073be8b23acfbd8c15edb181 (patch) | |
tree | 9e10aa04dbe2513fcfba2b9f18da154b70025f0d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | perf: Add ->count() function to read per-package counters (diff) | |
download | linux-dev-79dff51e900fd26a073be8b23acfbd8c15edb181.tar.xz linux-dev-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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions