summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2017-01-29 14:35:20 -0500
committerTejun Heo <tj@kernel.org>2017-02-02 13:47:02 -0500
commit968ebff1efde6948564308836ecf1ef57de4e106 (patch)
tree0906d6efba1df934030a1356491c2899334375e3 /COPYING
parentb807421a720ff00bc31774d254f51313f4a7656b (diff)
cgroup, perf_event: make perf_event controller work on cgroup2 hierarchy
perf_event is a utility controller whose primary role is identifying cgroup membership to filter perf events; however, because it also tracks some per-css state, it can't be replaced by pure cgroup membership test. Mark the controller as implicitly enabled on the default hierarchy so that perf events can always be filtered based on cgroup v2 path as long as the controller is not mounted on a legacy hierarchy. "perf record" is updated accordingly so that it searches for both v1 and v2 hierarchies. A v1 hierarchy is used if perf_event is mounted on it; otherwise, it uses the v2 hierarchy. v2: Doc updated to reflect more flexible rebinding behavior. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Ingo Molnar <mingo@redhat.com> Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions