Re: [PATCH] perf probe: Fix probe definition for inlined functions

2017-06-22 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 22, 2017 at 07:01:38PM +0900, Masami Hiramatsu escreveu: > On Wed, 21 Jun 2017 18:41:34 +0200 > Björn Töpel wrote: > > > From: Björn Töpel > > > > In commit 613f050d68a8 ("perf probe: Fix to probe on gcc generated > > functions in modules"), the offset from symbol is, incorrectly, a

Re: [PATCH] perf probe: Fix probe definition for inlined functions

2017-06-22 Thread Masami Hiramatsu
On Wed, 21 Jun 2017 18:41:34 +0200 Björn Töpel wrote: > From: Björn Töpel > > In commit 613f050d68a8 ("perf probe: Fix to probe on gcc generated > functions in modules"), the offset from symbol is, incorrectly, added > to the trace point address. This leads to incorrect probe trace points > for

[PATCH] perf probe: Fix probe definition for inlined functions

2017-06-21 Thread Björn Töpel
From: Björn Töpel In commit 613f050d68a8 ("perf probe: Fix to probe on gcc generated functions in modules"), the offset from symbol is, incorrectly, added to the trace point address. This leads to incorrect probe trace points for inlined functions and when using relative line number on symbols.