Em Wed, Dec 15, 2010 at 05:57:11PM +0900, Masami Hiramatsu escreveu: > (2010/12/13 23:21), Arnaldo Carvalho de Melo wrote: > > Also 'perf probe -L' should look use > > /usr/src/debug/kernel-2.6.35.fc14/linux-2.6.35.x86_64 as a prefix to look > > for > > sources.
> > That can be found using: > > <0><8b>: Abbrev Number: 1 (DW_TAG_compile_unit) > > <8c> DW_AT_producer : (indirect string, offset: 0x22f4): GNU C > > 4.5.1 20100924 (Red Hat 4.5.1-4) > > <90> DW_AT_language : 1 (ANSI C) > > <91> DW_AT_name : (indirect string, offset: 0x37a): > > arch/x86/kernel/head64.c > > <95> DW_AT_comp_dir : (indirect string, offset: 0x24d0): > > /usr/src/debug/kernel-2.6.35.fc14/linux-2.6.35.x86_64 > > I.e. using the DW_AT_comp_dir attribute in the DW_TAG_compile_unit DWARF > > tags, > > Masami? > It already supports DW_AT_comp_dir on upstream kernel, > see find_line_range() in utils/probe-finder.c ;-) I happily stand corrected, was using the f14 one :-) Great work! - Arnaldo -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
