Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754336Ab0ALSyn (ORCPT ); Tue, 12 Jan 2010 13:54:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754157Ab0ALSym (ORCPT ); Tue, 12 Jan 2010 13:54:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:28181 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753982Ab0ALSym (ORCPT ); Tue, 12 Jan 2010 13:54:42 -0500 To: Frederic Weisbecker Cc: Srikar Dronamraju , Steven Rostedt , Ingo Molnar , Arnaldo Carvalho de Melo , Peter Zijlstra , Ananth N Mavinakayanahalli , utrace-devel , Jim Keniston , Masami Hiramatsu , Maneesh Soni , Mark Wielaard , LKML Subject: Re: [RFC] [PATCH 7/7] Ftrace plugin for Uprobes References: <20100111122521.22050.3654.sendpatchset@srikar.in.ibm.com> <20100111122608.22050.94088.sendpatchset@srikar.in.ibm.com> <20100112045454.GJ5243@nowhere> From: fche@redhat.com (Frank Ch. Eigler) Date: Tue, 12 Jan 2010 13:54:01 -0500 In-Reply-To: <20100112045454.GJ5243@nowhere> (Frederic Weisbecker's message of "Tue, 12 Jan 2010 05:54:56 +0100") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 788 Lines: 22 Frederic Weisbecker writes: > [...] > This is much more tricky in the case of uprobes as I see two > ways to work with it: > - probing on an already running process > - probing on a process we are about to run > [...] As you might expect, in systemtap we've had to figure out this area some time ago. We use another utrace consumer called "task finder" that registers interest in present / future processes, and gives us kernel-space callbacks when these come and go. You could merge it or something like it. - FChE -- 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/