Re: [PATCH perf/core v2 1/5] perf-probe: Fix to handle aliased symbols in glibc

2015-03-06 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 06, 2015 at 02:59:19PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Mar 06, 2015 at 04:31:20PM +0900, Masami Hiramatsu escreveu: > > Fix perf probe to handle aliased symbols correctly in glibc. > > In the glibc, several symbols are defined as an alias of > > __libc_XXX, e.g. mall

Re: [PATCH perf/core v2 1/5] perf-probe: Fix to handle aliased symbols in glibc

2015-03-06 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 06, 2015 at 04:31:20PM +0900, Masami Hiramatsu escreveu: > Fix perf probe to handle aliased symbols correctly in glibc. > In the glibc, several symbols are defined as an alias of > __libc_XXX, e.g. malloc is an alias of __libc_malloc. > In such cases, dwarf has no subroutine instances o

[PATCH perf/core v2 1/5] perf-probe: Fix to handle aliased symbols in glibc

2015-03-05 Thread Masami Hiramatsu
Fix perf probe to handle aliased symbols correctly in glibc. In the glibc, several symbols are defined as an alias of __libc_XXX, e.g. malloc is an alias of __libc_malloc. In such cases, dwarf has no subroutine instances of the alias functions (e.g. no "malloc" instance), but the map has that symbo