Re: [patch] Re: [perf] Finding uninstalled modules Was Re: mailinglist for trace users

From: Avi Kivity
Date: Wed Sep 23 2009 - 08:59:01 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/