Re: [BUGFIX PATCH perf/core ] perf-probe: Fix to show lines of sys_ functions correctly

2015-08-12 Thread 平松雅巳 / HIRAMATU,MASAMI
> From: Arnaldo Carvalho de Melo [mailto:a...@kernel.org] > > Em Wed, Aug 12, 2015 at 10:23:55AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Wed, Aug 12, 2015 at 10:24:07AM +0900, Masami Hiramatsu escreveu: > > > "perf probe --lines sys_poll" shows only the first line of > > > sys_poll, becau

Re: [BUGFIX PATCH perf/core ] perf-probe: Fix to show lines of sys_ functions correctly

2015-08-12 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 12, 2015 at 10:23:55AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Aug 12, 2015 at 10:24:07AM +0900, Masami Hiramatsu escreveu: > > "perf probe --lines sys_poll" shows only the first line of > > sys_poll, because the SYSCALL_DEFINE macro > > > Thanks! Just try prefixing t

Re: [BUGFIX PATCH perf/core ] perf-probe: Fix to show lines of sys_ functions correctly

2015-08-12 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 12, 2015 at 10:24:07AM +0900, Masami Hiramatsu escreveu: > "perf probe --lines sys_poll" shows only the first line of > sys_poll, because the SYSCALL_DEFINE macro > Thanks! Just try prefixing those lines one space so that git-am works on your messages :-) Now to build and te

[BUGFIX PATCH perf/core ] perf-probe: Fix to show lines of sys_ functions correctly

2015-08-11 Thread Masami Hiramatsu
"perf probe --lines sys_poll" shows only the first line of sys_poll, because the SYSCALL_DEFINE macro SYSCALL_DEFINE*(foo,...) { body; } is expanded as below (on debuginfo) static inline int SYSC_foo(...) { body; } int SyS_foo(...) <- is an alias of sys_foo. { return SYSC_foo(