Thread (11 messages) 11 messages, 3 authors, 2017-02-02

Re: [PATCHSET v2 cgroup/for-4.6] cgroup, perf_event: make perf_event work on v2 hierarchy

From: Tejun Heo <hidden>
Date: 2016-03-03 15:06:59
Also in: lkml

Hello,

On Wed, Feb 24, 2016 at 05:12:53PM -0500, Tejun Heo wrote:
This patchset makes perf_event implicitly enabled on the v2 hierarchy
so that cgroup v2 path automatically works with "perf record --cgroup"
as long as perf_event controller is available and not mounted on a
legacy hierarchy.  "perf record" is updated so that it searches for
both v1 hierarchy w/ perf_event on it and v2 hierarchy.  The v1
hierarchy is used if exists; otherwise, v2 is used, making the
transition transparent to users.
All the prerequisite patches are now available in cgroup/for-4.6
branch.

 git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-4.6

If the perf_event changes look okay, we can either apply the first
patch to cgroup/for-4.6, pull that into perf tree and aply the perf
change there or route both through cgroup tree.  Ideas?

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help