Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754615AbZJEVMF (ORCPT ); Mon, 5 Oct 2009 17:12:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753352AbZJEVME (ORCPT ); Mon, 5 Oct 2009 17:12:04 -0400 Received: from mail-ew0-f213.google.com ([209.85.219.213]:36131 "EHLO mail-ew0-f213.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753042AbZJEVMD (ORCPT ); Mon, 5 Oct 2009 17:12:03 -0400 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=nG5+c1XqIs+OO8fRyljqnLF4UePKo7q5MkpyzfJdOPebNj4QjDBIzd+Cl1bB2AWHS8 BE3UX4qFBV66RJnSawyMIjNm9PhAxa0W0ERM5QPkCNYSS59RQ6njtply1/eRL69RTCPn U8cuJnF1NwvAA7PRtGulYbDtfYHxGkWk2jbY8= Date: Mon, 5 Oct 2009 23:11:24 +0200 From: Frederic Weisbecker To: Masami Hiramatsu Cc: Steven Rostedt , Ingo Molnar , lkml , systemtap , DLE , Thomas Gleixner , Arnaldo Carvalho de Melo , Mike Galbraith , Paul Mackerras , Peter Zijlstra , Christoph Hellwig , Ananth N Mavinakayanahalli , Jim Keniston , "Frank Ch. Eigler" Subject: Re: [PATCH tracing/kprobes v2 1/5] tracing/kprobes: Rename special variables syntax Message-ID: <20091005211123.GF6071@nowhere> References: <20091002214834.30906.86502.stgit@dhcp-100-2-132.bos.redhat.com> <20091002214842.30906.49220.stgit@dhcp-100-2-132.bos.redhat.com> <20091003015444.GE4828@nowhere> <4AC830F0.2010003@redhat.com> <4ACA25D5.10703@redhat.com> <20091005192609.GB6071@nowhere> <4ACA5F9C.7020001@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ACA5F9C.7020001@redhat.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: 1098 Lines: 41 On Mon, Oct 05, 2009 at 05:05:32PM -0400, Masami Hiramatsu wrote: > Frederic Weisbecker wrote: >>> - @global-symbol >> >> >> We could use global-symbol as is. Shadowing between global >> and local vars could be dealt with scope resolution: >> >> function:var >> file:var >> file:line:var >> >> And throw errors while submitting a shadowed var name, crying until >> the user defines the scope, only if needed of course (if there are >> no shadowing detected, we can submit a naked variable name). > > Sure, via perf-probe, global/local symbols will be translated into > @address by debuginfo. > But without debuginfo, we still need @symbol syntax for accessing > global defined symbols. Ah right. >>> - +|-Offs(ARG) >> >> You mean for arg numbers? >> So we would have +1 for argument 1? > > Sorry for confusing you, it is for deref syntax. Ok :) -- 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/