Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754608Ab0ANLaJ (ORCPT ); Thu, 14 Jan 2010 06:30:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754285Ab0ANLaI (ORCPT ); Thu, 14 Jan 2010 06:30:08 -0500 Received: from casper.infradead.org ([85.118.1.10]:38712 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753098Ab0ANLaH (ORCPT ); Thu, 14 Jan 2010 06:30:07 -0500 Subject: Re: [RFC] [PATCH 7/7] Ftrace plugin for Uprobes From: Peter Zijlstra To: Srikar Dronamraju Cc: Ingo Molnar , Arnaldo Carvalho de Melo , Ananth N Mavinakayanahalli , utrace-devel , Jim Keniston , Frederic Weisbecker , Masami Hiramatsu , Maneesh Soni , Mark Wielaard , LKML In-Reply-To: <1263468191.4244.300.camel@laptop> References: <20100111122521.22050.3654.sendpatchset@srikar.in.ibm.com> <20100111122608.22050.94088.sendpatchset@srikar.in.ibm.com> <1263468191.4244.300.camel@laptop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 14 Jan 2010 12:29:35 +0100 Message-ID: <1263468575.4244.306.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 747 Lines: 20 On Thu, 2010-01-14 at 12:23 +0100, Peter Zijlstra wrote: > On Mon, 2010-01-11 at 17:56 +0530, Srikar Dronamraju wrote: > > This patch implements ftrace plugin for uprobes. > > Right, like others have said, trace events is a much saner interface. > > So the easiest way I can see that working is to register uprobes against > a file (not a pid). Just to clarify, this means you can do things like: p:uprobe_event dso:symbol[+offs] Irrespective of whether there are any current user of that file. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/