[PATCHSET] perf, cgroup: implement hierarchy support for perf_event controller
Tejun Heo
tj at kernel.org
Wed Apr 10 18:08:06 UTC 2013
On Mon, Apr 08, 2013 at 07:23:30PM -0700, Tejun Heo wrote:
> perf_event cgroup controller is one of the remaining few with broken
> hierarchy support. It turns out it's pretty easy to implement - the
> only thing necessary is making perf_cgroup_match() return %true also
> when the cgroup of the current task is a descendant of the event's
> cgroup. This patchset implements cgroup_is_descendant() and uses it
> to implement hierarchy support in perf_event controller.
Applied to cgroup/for-3.10.
Thanks.
--
tejun
More information about the Containers
mailing list