From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756883Ab0ICR2M (ORCPT ); Fri, 3 Sep 2010 13:28:12 -0400 Received: from casper.infradead.org ([85.118.1.10]:45262 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753821Ab0ICR2K convert rfc822-to-8bit (ORCPT ); Fri, 3 Sep 2010 13:28:10 -0400 Subject: Re: [PATCHv11 2.6.36-rc2-tip 5/15] 5: uprobes: Uprobes (un)registration and exception handling. From: Peter Zijlstra To: Srikar Dronamraju Cc: Ingo Molnar , Steven Rostedt , Randy Dunlap , Arnaldo Carvalho de Melo , Linus Torvalds , Christoph Hellwig , Masami Hiramatsu , Oleg Nesterov , Mark Wielaard , Mathieu Desnoyers , Andrew Morton , Naren A Devaiah , Jim Keniston , Frederic Weisbecker , "Frank Ch. Eigler" , Ananth N Mavinakayanahalli , LKML , "Paul E. McKenney" In-Reply-To: <20100903164219.GB1904@linux.vnet.ibm.com> References: <20100825134117.5447.55209.sendpatchset@localhost6.localdomain6> <20100825134224.5447.89998.sendpatchset@localhost6.localdomain6> <1283377414.2059.1729.camel@laptop> <20100903164219.GB1904@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Fri, 03 Sep 2010 19:27:57 +0200 Message-ID: <1283534877.2050.309.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2010-09-03 at 22:12 +0530, Srikar Dronamraju wrote: > > 3. Ingo has a requirement for allowing normal users to use uprobes thro > perf. When this feature gets implemented, we have to be careful about a > normal users trying to just trace their application resulting in it > hitting performance all other users. For that I guess we should have a way to tie a uprobe to a filedesc or somesuch, that way whenever the owner dies, the probe goes away. Such probes would also obviuosly get a filter that limits it to tasks of its own user etc..