Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753281Ab0ATKwG (ORCPT ); Wed, 20 Jan 2010 05:52:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752339Ab0ATKwF (ORCPT ); Wed, 20 Jan 2010 05:52:05 -0500 Received: from fg-out-1718.google.com ([72.14.220.159]:24434 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752480Ab0ATKwE (ORCPT ); Wed, 20 Jan 2010 05:52:04 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=CNmJZhHTcf/5mrwgQ8wC3sNect42mlfDtakqJ9xFyT1LSQ+6LZTE/zvVCBjL7k09LJ JIoe5ka92mc+FMR8Uh2BJT2evy9r42195PUSBeWM/VuiREaWWpJzGb2o7rY98LqJvowF o6HSmQzqgMON3tB7cjm/gXKaMQLTx89jtJWiY= Date: Wed, 20 Jan 2010 11:51:57 +0100 From: Frederic Weisbecker To: Srikar Dronamraju Cc: Jim Keniston , Avi Kivity , Pekka Enberg , Peter Zijlstra , ananth@in.ibm.com, Ingo Molnar , Arnaldo Carvalho de Melo , utrace-devel , Masami Hiramatsu , Maneesh Soni , Mark Wielaard , LKML Subject: Re: [RFC] [PATCH 1/7] User Space Breakpoint Assistance Layer (UBP) Message-ID: <20100120105155.GC5149@nowhere> References: <4B545146.3080001@redhat.com> <20100118124419.GC1628@linux.vnet.ibm.com> <84144f021001180451k2a84f17x3dc24796fea986c9@mail.gmail.com> <4B5459CA.9060603@redhat.com> <4B545ACF.40203@cs.helsinki.fi> <1263852957.2266.38.camel@localhost.localdomain> <4B556855.6040800@redhat.com> <1263923265.4998.28.camel@localhost.localdomain> <20100119180610.GA11005@nowhere> <20100120063620.GA30109@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100120063620.GA30109@linux.vnet.ibm.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1486 Lines: 32 On Wed, Jan 20, 2010 at 12:06:20PM +0530, Srikar Dronamraju wrote: > * Frederic Weisbecker [2010-01-19 19:06:12]: > > > On Tue, Jan 19, 2010 at 09:47:45AM -0800, Jim Keniston wrote: > > > > > > What does the code in the jumped-to vma do? Is the instrumentation code > > > that corresponds to the uprobe handlers encoded in an ad hoc .so? > > > > > > Once the instrumentation is requested by a process that is not the > > instrumented one, this looks impossible to set a uprobe without a > > minimal voluntary collaboration from the instrumented process > > (events sent through IPC or whatever). So that looks too limited, > > this is not anymore a true dynamic uprobe. > > I dont see a case where the thread being debugged refuses to place a > probe unless the process is exiting. The traced process doesnt decide > if it wants to be probed or not. There could be a slight delay from the > time the tracer requested to the time the probe is placed. But this > delay in only affecting the tracer and the tracee. This is in contract > to say stop_machine where the threads of other applications are also > affected. I did not think about a kind of trace point inserted in a shared memory. I was just confused :) -- 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/