Re: [PATCHSET] perf, cgroup: implement hierarchy support forperf_event controller
From: Tejun Heo
Date: Wed Apr 10 2013 - 14:08:16 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/