From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757363AbcHDBFC (ORCPT ); Wed, 3 Aug 2016 21:05:02 -0400 Received: from smtprelay0152.hostedemail.com ([216.40.44.152]:41453 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750983AbcHDBFB (ORCPT ); Wed, 3 Aug 2016 21:05:01 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1431:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2551:2553:2559:2562:2692:2892:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3871:3872:3873:3874:5007:6119:6120:6261:6742:7875:7903:9036:10004:10400:10848:10967:11232:11658:11914:12050:12517:12519:12663:12740:13069:13311:13357:13439:14096:14097:14181:14659:14721:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:14,LUA_SUMMARY:none X-HE-Tag: loaf07_658d495413713 X-Filterd-Recvd-Size: 2584 Date: Wed, 3 Aug 2016 21:04:55 -0400 From: Steven Rostedt To: Aravinda Prasad Cc: Hari Bathini , daniel@iogearbox.net, peterz@infradead.org, linux-kernel@vger.kernel.org, acme@kernel.org, alexander.shishkin@linux.intel.com, mingo@redhat.com, paulus@samba.org, ebiederm@xmission.com, kernel@kyup.com, viro@zeniv.linux.org.uk, ananth@in.ibm.com Subject: Re: [RFC PATCH v2 2/3] tracefs: add instances support for uprobe events Message-ID: <20160803210455.0473467d@grimm.local.home> In-Reply-To: <57A25104.7040805@linux.vnet.ibm.com> References: <146965470618.23765.7329786743211962695.stgit@hbathini.in.ibm.com> <146965485827.23765.14920656474693831799.stgit@hbathini.in.ibm.com> <20160801174546.0453ab85@gandalf.local.home> <17cdf475-e663-2ade-d69f-91440d654e98@linux.vnet.ibm.com> <20160802134935.2be2a06a@gandalf.local.home> <57A2466B.1080200@linux.vnet.ibm.com> <20160803161039.3180f0fd@gandalf.local.home> <57A25104.7040805@linux.vnet.ibm.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 4 Aug 2016 01:46:04 +0530 Aravinda Prasad wrote: > On Thursday 04 August 2016 01:40 AM, Steven Rostedt wrote: > > On Thu, 4 Aug 2016 01:00:51 +0530 > > Aravinda Prasad wrote: > > > >> > >>> Can a container have its own function tracing? > >> > >> Sorry, I didn't understand that. Do you mean to have a separate > >> per-container trace files? > > > > Actually, it's more my ignorance of containers, as I haven't had the > > need to play with them. Although, I think it may be time to do so. > > > > When a container enters kernel mode, I'm assuming that it's part of the > > host at that moment, and the host needs to take care of separating > > everything? That is, there's not a "second kernel" like VMs have, right? > > Yes. The host needs to take care of separating everything. There is no > "second kernel". That's what I figured. Thus, my worry is that something like the function tracer can cause information leak to a container. How would you separate functions for the container from functions for the host? -- Steve