Re: [PATCH] perf symbols: Fix annotation of objects with debuginfo files

2016-08-12 Thread Naveen N. Rao
On 2016/08/12 04:35PM, Anton Blanchard wrote: > From: Anton Blanchard > > Commit 73cdf0c6ea9c ("perf symbols: Record text offset in dso > to calculate objdump address") started storing the offset of > the text section for all DSOs: > >if (elf_section_by_name(elf, &ehdr, &tshdr, ".text",

Re: [PATCH] perf symbols: Fix annotation of objects with debuginfo files

2016-08-12 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 12, 2016 at 04:35:05PM +1000, Anton Blanchard escreveu: > From: Anton Blanchard > > Commit 73cdf0c6ea9c ("perf symbols: Record text offset in dso > to calculate objdump address") started storing the offset of > the text section for all DSOs: > >if (elf_section_by_name(elf, &

[PATCH] perf symbols: Fix annotation of objects with debuginfo files

2016-08-11 Thread Anton Blanchard
From: Anton Blanchard Commit 73cdf0c6ea9c ("perf symbols: Record text offset in dso to calculate objdump address") started storing the offset of the text section for all DSOs: if (elf_section_by_name(elf, &ehdr, &tshdr, ".text", NULL)) dso->text_offset = tshdr.sh_addr - ts