[PATCH 03/11] perf: Make perf_cgroup_from_task() global

2014-11-14 Thread Matt Fleming
From: Matt Fleming Move perf_cgroup_from_task() from kernel/events/ to include/linux/ along with the necessary struct definitions, so that it can be used by the PMU code. When the upcoming Intel Cache Monitoring PMU driver assigns monitoring IDs to perf events, it needs to be able to check wheth

[PATCH 03/11] perf: Make perf_cgroup_from_task() global

2014-11-06 Thread Matt Fleming
From: Matt Fleming Move perf_cgroup_from_task() from kernel/events/ to include/linux/ along with the necessary struct definitions, so that it can be used by the PMU code. When the upcoming Intel Cache Monitoring PMU driver assigns monitoring IDs to perf events, it needs to be able to check wheth