From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: Re: [RFC PATCH v2 0/3] perf/tracefs: Container-aware tracing support Date: Wed, 03 Aug 2016 21:59:02 -0500 Message-ID: <87twf1ck95.fsf@x220.int.ebiederm.org> References: <146965470618.23765.7329786743211962695.stgit@hbathini.in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <146965470618.23765.7329786743211962695.stgit-2ivJzYymj6EA+286u2LMdEEOCMrvLtNR@public.gmane.org> (Hari Bathini's message of "Thu, 28 Jul 2016 02:57:16 +0530") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Hari Bathini Cc: ananth-xthvdsQ13ZrQT0dZR+AlfA@public.gmane.org, daniel-FeC+5ew28dpmcu3hnIyYJQ@public.gmane.org, Linux Containers , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, acme-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, alexander.shishkin-VuQAYsv1563Yd54FQh9/CA@public.gmane.org, mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, paulus-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org, rostedt-nx8X9YLhiw1AfugRpC6u6w@public.gmane.org, aravinda-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org, kernel-6AxghH7DbtA@public.gmane.org, viro-RmSDqhL/yNMiFSDQTTA3OLVCufUGDwFn@public.gmane.org List-Id: containers.vger.kernel.org Hari Bathini writes: > This RFC patch set supports filtering container specific events > when perf tool is executed inside a container. The patches apply > cleanly on v4.7.0-rc7 > > Changes from v1: > 1/3. Revived earlier approach[1] with cgroup namespace instead > of pid namespace > 2/3. New patch that adds instance support for uprobe events in > tracefs filesystem > 3/3. New patch that adds "newinstance" mount option for tracefs > filesystem "newinstace" ick no. I see no justification anywhere why the perf cgroup is not enough for this. Eric