Re: Re: [PATCH perf/core 1/2] [BUGFIX] perf-probe: Fix to handle optimized not-inlined but has no instance

2015-02-11 Thread Arnaldo Carvalho de Melo
Em Sun, Feb 08, 2015 at 05:37:08PM +0900, Masami Hiramatsu escreveu: > (2015/01/30 23:21), Arnaldo Carvalho de Melo wrote: > > So perhaps I need a 'noinline' _and_ '__sched', so that I have a "optimized > > no-inline functions which have only function definition but no actual > > instance > > at

Re: Re: [PATCH perf/core 1/2] [BUGFIX] perf-probe: Fix to handle optimized not-inlined but has no instance

2015-02-11 Thread Arnaldo Carvalho de Melo
Em Sun, Feb 08, 2015 at 05:37:08PM +0900, Masami Hiramatsu escreveu: (2015/01/30 23:21), Arnaldo Carvalho de Melo wrote: So perhaps I need a 'noinline' _and_ '__sched', so that I have a optimized no-inline functions which have only function definition but no actual instance at that

Re: Re: [PATCH perf/core 1/2] [BUGFIX] perf-probe: Fix to handle optimized not-inlined but has no instance

2015-02-08 Thread Masami Hiramatsu
(2015/01/30 23:21), Arnaldo Carvalho de Melo wrote: > Em Fri, Jan 30, 2015 at 06:37:44PM +0900, Masami Hiramatsu escreveu: >> Fix to handle optimized no-inline functions which have >> only function definition but no actual instance at >> that point. To fix this problem, we need to find actual >>

Re: Re: [PATCH perf/core 1/2] [BUGFIX] perf-probe: Fix to handle optimized not-inlined but has no instance

2015-02-08 Thread Masami Hiramatsu
(2015/01/30 23:21), Arnaldo Carvalho de Melo wrote: Em Fri, Jan 30, 2015 at 06:37:44PM +0900, Masami Hiramatsu escreveu: Fix to handle optimized no-inline functions which have only function definition but no actual instance at that point. To fix this problem, we need to find actual instance

Re: [PATCH perf/core 1/2] [BUGFIX] perf-probe: Fix to handle optimized not-inlined but has no instance

2015-02-02 Thread Masami Hiramatsu
(2015/01/30 23:32), Arnaldo Carvalho de Melo wrote: > Em Fri, Jan 30, 2015 at 11:21:35AM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Fri, Jan 30, 2015 at 06:37:44PM +0900, Masami Hiramatsu escreveu: >>> Fix to handle optimized no-inline functions which have >>> only function definition but no

Re: [PATCH perf/core 1/2] [BUGFIX] perf-probe: Fix to handle optimized not-inlined but has no instance

2015-02-02 Thread Masami Hiramatsu
(2015/01/30 23:32), Arnaldo Carvalho de Melo wrote: Em Fri, Jan 30, 2015 at 11:21:35AM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, Jan 30, 2015 at 06:37:44PM +0900, Masami Hiramatsu escreveu: Fix to handle optimized no-inline functions which have only function definition but no actual

Re: [PATCH perf/core 1/2] [BUGFIX] perf-probe: Fix to handle optimized not-inlined but has no instance

2015-01-30 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 30, 2015 at 11:21:35AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Jan 30, 2015 at 06:37:44PM +0900, Masami Hiramatsu escreveu: > > Fix to handle optimized no-inline functions which have > > only function definition but no actual instance at > > that point. To fix this problem,

Re: [PATCH perf/core 1/2] [BUGFIX] perf-probe: Fix to handle optimized not-inlined but has no instance

2015-01-30 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 30, 2015 at 06:37:44PM +0900, Masami Hiramatsu escreveu: > Fix to handle optimized no-inline functions which have > only function definition but no actual instance at > that point. To fix this problem, we need to find actual > instance of the function. > > Without this patch: >

[PATCH perf/core 1/2] [BUGFIX] perf-probe: Fix to handle optimized not-inlined but has no instance

2015-01-30 Thread Masami Hiramatsu
Fix to handle optimized no-inline functions which have only function definition but no actual instance at that point. To fix this problem, we need to find actual instance of the function. Without this patch: # perf probe -a __up Failed to get entry address of __up. Error: Failed to

Re: [PATCH perf/core 1/2] [BUGFIX] perf-probe: Fix to handle optimized not-inlined but has no instance

2015-01-30 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 30, 2015 at 06:37:44PM +0900, Masami Hiramatsu escreveu: Fix to handle optimized no-inline functions which have only function definition but no actual instance at that point. To fix this problem, we need to find actual instance of the function. Without this patch: #

Re: [PATCH perf/core 1/2] [BUGFIX] perf-probe: Fix to handle optimized not-inlined but has no instance

2015-01-30 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 30, 2015 at 11:21:35AM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, Jan 30, 2015 at 06:37:44PM +0900, Masami Hiramatsu escreveu: Fix to handle optimized no-inline functions which have only function definition but no actual instance at that point. To fix this problem, we

[PATCH perf/core 1/2] [BUGFIX] perf-probe: Fix to handle optimized not-inlined but has no instance

2015-01-30 Thread Masami Hiramatsu
Fix to handle optimized no-inline functions which have only function definition but no actual instance at that point. To fix this problem, we need to find actual instance of the function. Without this patch: # perf probe -a __up Failed to get entry address of __up. Error: Failed to