Re: [RFC PATCH 2/2] perf: Filter events based on perf-namespace

From: Peter Zijlstra
Date: Tue Jul 12 2016 - 09:04:45 EST


On Tue, Jul 12, 2016 at 03:41:42PM +0300, Nikolay Borisov wrote:

> Namespaces and cgroups are completely orthogonal to one another.

Then how do you specify what your new 'root' is? Surely you must first
create a cgroup and then confine yourself to that?

> Also in the v1 of cgroups it's possible to have a process member of
> more than 1 cgroup.

Yeah, so? We only care about the perf controller obviously.