Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761341AbZC0UUp (ORCPT ); Fri, 27 Mar 2009 16:20:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754879AbZC0UUf (ORCPT ); Fri, 27 Mar 2009 16:20:35 -0400 Received: from mx2.redhat.com ([66.187.237.31]:36327 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754620AbZC0UUe (ORCPT ); Fri, 27 Mar 2009 16:20:34 -0400 Message-ID: <49CD3507.3080409@redhat.com> Date: Fri, 27 Mar 2009 16:20:23 -0400 From: Masami Hiramatsu User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Frederic Weisbecker CC: Ingo Molnar , Steven Rostedt , Ananth N Mavinakayanahalli , systemtap-ml , Linux Kernel Mailing List , Andrew Morton Subject: Re: [PATCH -tip 3/4 V3] tracing: kprobe-tracer plugin supports arguments References: <49CC08D2.30608@redhat.com> <20090327114453.GB5976@nowhere> <49CCFAD8.7040304@redhat.com> <20090327181539.GA6005@nowhere> In-Reply-To: <20090327181539.GA6005@nowhere> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 805 Lines: 33 Frederic Weisbecker wrote: >>> Anyway both would be handy: >>> >>> rp: current ip >>> ra: return address >> current ip can be fetched by 'r12' on i386 ('r16' on x86-64). >> (hmm, we'd better support %ip, %ax, etc.) >> > > > Yes, as an example, I'm currently unable to tell you > which number is esi :) Agreed. But I doubt that we can implement it before moving fetch_* APIs into arch/ directory, can we? Thank you, -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America) Inc. Software Solutions Division e-mail: mhiramat@redhat.com -- 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/