|
From: Arnaldo C. de M. <ac...@re...> - 2009-12-11 21:29:26
|
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 |