From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22063 invoked by alias); 11 Dec 2009 21:29:10 -0000 Received: (qmail 22056 invoked by uid 22791); 11 Dec 2009 21:29:09 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Dec 2009 21:29:05 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nBBLT4AN006314 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 11 Dec 2009 16:29:04 -0500 Received: from doppio.ghostprotocols.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nBBLT1dB028968 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 11 Dec 2009 16:29:03 -0500 Received: by doppio.ghostprotocols.net (Postfix, from userid 500) id 5558FA1; Fri, 11 Dec 2009 19:29:00 -0200 (BRST) Date: Fri, 11 Dec 2009 21:29:00 -0000 From: Arnaldo Carvalho de Melo To: Masami Hiramatsu Cc: Ingo Molnar , Frederic Weisbecker , lkml , Steven Rostedt , Jim Keniston , Ananth N Mavinakayanahalli , Christoph Hellwig , "Frank Ch. Eigler" , Jason Baron , "K.Prasad" , Peter Zijlstra , Srikar Dronamraju , systemtap , DLE Subject: Re: [PATCH -tip 0/8] perf-probe updates Message-ID: <20091211212900.GA13473@ghostprotocols.net> References: <20091208220232.10142.2643.stgit@dhcp-100-2-132.bos.redhat.com> <20091209072220.GA4328@elte.hu> <20091209084341.GA21333@elte.hu> <4B1FE022.1030704@redhat.com> <4B201993.9020005@redhat.com> <20091211205141.GA1949@ghostprotocols.net> <4B22B672.9060402@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B22B672.9060402@redhat.com> X-Url: http://oops.ghostprotocols.net:81/blog User-Agent: Mutt/1.5.19 (2009-01-05) X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q4/txt/msg00886.txt.bz2 Em Fri, Dec 11, 2009 at 04:15:30PM -0500, Masami Hiramatsu escreveu: > Arnaldo Carvalho de Melo wrote: > > Em Wed, Dec 09, 2009 at 04:41:39PM -0500, Masami Hiramatsu escreveu: > >> Masami Hiramatsu wrote: > >>>> Here the failure was because the symbol does not exist. > >>> > >>> Yeah, so that's what I'm expecting to be implemented with below item :-) > >>> > >>> - Symbol search by libelf/kallsyms > >>> > >>> I guess it will be done by using symbol.c. > >>> (Actually, current > >> > >> Oops, I might miss something, forgot it. > >> actually, current perf probe doesn't decode kallsyms/elf, it just depends on > >> kprobe-tracer. And kprobe-tracer will return -EINVAL not only if the symbol > >> was not found, but also other reasons. > >> > >> So, if we want to show below message, we need to decode elf or kallsyms. > > > > Should be easy now with my latest patch :-) > > Thanks! that's looks very useful for me! Please let me know of any shortcomings you may find! - Arnaldo