Re: Re: [PATCH -tip 3/3] perf-probe: Use the actual address as a hint for uprobes

2013-12-24 Thread Masami Hiramatsu
(2013/12/24 17:46), Namhyung Kim wrote: > On Tue, 24 Dec 2013 17:27:45 +0900, Masami Hiramatsu wrote: >> (2013/12/24 16:54), Namhyung Kim wrote: >>> Hi Masami, >>> >>> On Mon, 23 Dec 2013 19:50:10 +0900, Masami Hiramatsu wrote: (2013/12/23 16:46), Namhyung Kim wrote: > On Mon, 23 Dec 2013

Re: [PATCH -tip 3/3] perf-probe: Use the actual address as a hint for uprobes

2013-12-24 Thread Namhyung Kim
On Tue, 24 Dec 2013 17:27:45 +0900, Masami Hiramatsu wrote: > (2013/12/24 16:54), Namhyung Kim wrote: >> Hi Masami, >> >> On Mon, 23 Dec 2013 19:50:10 +0900, Masami Hiramatsu wrote: >>> (2013/12/23 16:46), Namhyung Kim wrote: On Mon, 23 Dec 2013 06:54:38 +0900, Masami Hiramatsu wrote: > (

Re: [PATCH -tip 3/3] perf-probe: Use the actual address as a hint for uprobes

2013-12-24 Thread Masami Hiramatsu
(2013/12/24 16:54), Namhyung Kim wrote: > Hi Masami, > > On Mon, 23 Dec 2013 19:50:10 +0900, Masami Hiramatsu wrote: >> (2013/12/23 16:46), Namhyung Kim wrote: >>> On Mon, 23 Dec 2013 06:54:38 +0900, Masami Hiramatsu wrote: (2013/12/21 3:03), Arnaldo Carvalho de Melo wrote: > Em Fri, Dec

Re: [PATCH -tip 3/3] perf-probe: Use the actual address as a hint for uprobes

2013-12-23 Thread Namhyung Kim
Hi Masami, On Mon, 23 Dec 2013 19:50:10 +0900, Masami Hiramatsu wrote: > (2013/12/23 16:46), Namhyung Kim wrote: >> On Mon, 23 Dec 2013 06:54:38 +0900, Masami Hiramatsu wrote: >>> (2013/12/21 3:03), Arnaldo Carvalho de Melo wrote: Em Fri, Dec 20, 2013 at 10:03:02AM +, Masami Hiramatsu esc

Re: [PATCH -tip 3/3] perf-probe: Use the actual address as a hint for uprobes

2013-12-23 Thread Masami Hiramatsu
(2013/12/23 16:46), Namhyung Kim wrote: > On Mon, 23 Dec 2013 06:54:38 +0900, Masami Hiramatsu wrote: >> (2013/12/21 3:03), Arnaldo Carvalho de Melo wrote: >>> Em Fri, Dec 20, 2013 at 10:03:02AM +, Masami Hiramatsu escreveu: >> BTW, I'm not sure why debuginfo and nm shows symbol address + 0x400

Re: [PATCH -tip 3/3] perf-probe: Use the actual address as a hint for uprobes

2013-12-22 Thread Namhyung Kim
On Mon, 23 Dec 2013 06:54:38 +0900, Masami Hiramatsu wrote: > (2013/12/21 3:03), Arnaldo Carvalho de Melo wrote: >> Em Fri, Dec 20, 2013 at 10:03:02AM +, Masami Hiramatsu escreveu: > BTW, I'm not sure why debuginfo and nm shows symbol address + 0x40, > and why the perf's map/symbol can remo

Re: [PATCH -tip 3/3] perf-probe: Use the actual address as a hint for uprobes

2013-12-22 Thread Masami Hiramatsu
(2013/12/21 3:03), Arnaldo Carvalho de Melo wrote: > Em Fri, Dec 20, 2013 at 10:03:02AM +, Masami Hiramatsu escreveu: >> Use the actual address of tracepoint as a hint to find >> different local symbols. Since sometimes there are local >> symbols which have same name, it is impossible to determ

Re: [PATCH -tip 3/3] perf-probe: Use the actual address as a hint for uprobes

2013-12-20 Thread Arnaldo Carvalho de Melo
Em Fri, Dec 20, 2013 at 10:03:02AM +, Masami Hiramatsu escreveu: > Use the actual address of tracepoint as a hint to find > different local symbols. Since sometimes there are local > symbols which have same name, it is impossible to determine > which symbol should be used. This saves the actual

[PATCH -tip 3/3] perf-probe: Use the actual address as a hint for uprobes

2013-12-20 Thread Masami Hiramatsu
Use the actual address of tracepoint as a hint to find different local symbols. Since sometimes there are local symbols which have same name, it is impossible to determine which symbol should be used. This saves the actual address from debuginfo and use it as a hint later. The reason why we don't