Re: [PATCHSET] perf, cgroup: implement hierarchy support for perf_event controller

2013-04-10 Thread Tejun Heo
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 cu

Re: [PATCHSET] perf, cgroup: implement hierarchy support for perf_event controller

2013-04-10 Thread Tejun Heo
Hello, On Wed, Apr 10, 2013 at 11:37:55AM +0200, Ingo Molnar wrote: > Yeah - at least for larger changes that's a good workflow. > > For smaller changes we can pick one or the other tree. Tejun, do these > changes > create any conflicts with the current tip:master tree? If not then you could >

Re: [PATCHSET] perf, cgroup: implement hierarchy support for perf_event controller

2013-04-10 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Mon, 2013-04-08 at 19:23 -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

Re: [PATCHSET] perf, cgroup: implement hierarchy support for perf_event controller

2013-04-10 Thread Peter Zijlstra
On Mon, 2013-04-08 at 19:23 -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 t

Re: [PATCHSET] perf, cgroup: implement hierarchy support for perf_event controller

2013-04-09 Thread Li Zefan
On 2013/4/9 10:23, 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 descend