From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757946AbcCCPG7 (ORCPT ); Thu, 3 Mar 2016 10:06:59 -0500 Received: from mail-yw0-f178.google.com ([209.85.161.178]:33755 "EHLO mail-yw0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751247AbcCCPG5 (ORCPT ); Thu, 3 Mar 2016 10:06:57 -0500 Date: Thu, 3 Mar 2016 10:06:54 -0500 From: Tejun Heo To: lizefan@huawei.com, hannes@cmpxchg.org, a.p.zijlstra@chello.nl, mingo@redhat.com, acme@kernel.org Cc: linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCHSET v2 cgroup/for-4.6] cgroup, perf_event: make perf_event work on v2 hierarchy Message-ID: <20160303150654.GF11029@mtj.duckdns.org> References: <1456351975-1899-1-git-send-email-tj@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1456351975-1899-1-git-send-email-tj@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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