Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751611AbZIWM6x (ORCPT ); Wed, 23 Sep 2009 08:58:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751372AbZIWM6x (ORCPT ); Wed, 23 Sep 2009 08:58:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60703 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751275AbZIWM6w (ORCPT ); Wed, 23 Sep 2009 08:58:52 -0400 Message-ID: <4ABA1B75.7040900@redhat.com> Date: Wed, 23 Sep 2009 15:58:29 +0300 From: Avi Kivity User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: Mike Galbraith CC: Arnaldo Carvalho de Melo , rostedt@goodmis.org, LKML , Ingo Molnar , Mathieu Desnoyers , Peter Zijlstra , Frederic Weisbecker , Thomas Gleixner , Masami Hiramatsu Subject: Re: [patch] Re: [perf] Finding uninstalled modules Was Re: mailing list for trace users References: <1253132182.20020.242.camel@gandalf.stny.rr.com> <4AB89520.2050900@redhat.com> <1253618894.13917.18.camel@marge.simson.net> <4AB8B65F.7030602@redhat.com> <1253620041.13917.24.camel@marge.simson.net> <4AB8BA37.4010305@redhat.com> <20090922201746.GH5216@ghostprotocols.net> <4AB9DCC8.5050603@redhat.com> <1253697658.11461.36.camel@marge.simson.net> <4AB9F08E.1020106@redhat.com> <1253705515.7835.41.camel@marge.simson.net> In-Reply-To: <1253705515.7835.41.camel@marge.simson.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1361 Lines: 36 On 09/23/2009 02:31 PM, Mike Galbraith wrote: > > You can't annotate module symbols without -m. If you don't provide -k, > annotate will look for vmlinux in cwd. If there's one there, it'll > silently parse it. For a module symbol, no -m means no symbol. > > marge:/root/tmp # perf annotate -v -v -m ext3_mark_iloc_dirty 2>&1| grep ext3_mark_iloc_dirty > new symbol: ffffffffa005f8cf [0000dead]: ext3_mark_iloc_dirty [ext3], hist: (nil), obj_start: (nil) > ffffffffa005f8cf-ffffffffa005fc20 ext3_mark_iloc_dirty [ext3] > Error: symbol 'ext3_mark_iloc_dirty' not present amongst the samples. > > With -k -m it works here. > > Not for me. 'perf report', for example, shows 63.08% qemu-system-x86 [kernel] [k] packet_exit 4.71% qemu-system-x86 [kernel] [k] hpet_next_event 4.38% init [kernel] [k] mwait_idle_with_hints While 'perf top' still shows vmx_vcpu_run. -- error compiling committee.c: too many arguments to function -- 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/