From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964811AbcHDOeu (ORCPT ); Thu, 4 Aug 2016 10:34:50 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:9986 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750711AbcHDOes (ORCPT ); Thu, 4 Aug 2016 10:34:48 -0400 X-IBM-Helo: d03dlp02.boulder.ibm.com X-IBM-MailFrom: aravinda@linux.vnet.ibm.com Subject: Re: [RFC PATCH v2 2/3] tracefs: add instances support for uprobe events To: Steven Rostedt 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> <20160803210455.0473467d@grimm.local.home> <57A3471B.4080100@linux.vnet.ibm.com> <20160804100846.5f36a00a@gandalf.local.home> 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 From: Aravinda Prasad Date: Thu, 4 Aug 2016 20:04:34 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <20160804100846.5f36a00a@gandalf.local.home> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16080414-8235-0000-0000-000008ECBADA X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00005547; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000178; SDB=6.00739915; UDB=6.00347941; IPR=6.00512513; BA=6.00004644; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00012156; XFM=3.00000011; UTC=2016-08-04 14:34:45 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16080414-8236-0000-0000-000033B04C66 Message-Id: <57A3527A.2060108@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-08-04_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1608040161 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 04 August 2016 07:38 PM, Steven Rostedt wrote: > On Thu, 4 Aug 2016 19:16:03 +0530 > Aravinda Prasad wrote: > > >> Separation is based on the context in which the function is called. >> Hence, containers can see only those kernel functions that are >> triggered/invoked by the processes running inside that container and >> should not see other kernel functions, for example, called by RCU grace >> period kthread or any other kthread. >> > > What about interrupts and softirqs? They run under the container > process's context, but service other processes outside the container. > Same goes for trace events. Interrupts and softirqs are tricky. We have not yet figured that out. Same for trace events. Had similar discussion for trace events with Brendan: http://www.spinics.net/lists/linux-perf-users/msg03018.html (Last section of the mail is on trace event) Regards, Aravinda > > -- Steve > -- Regards, Aravinda