Re: [PATCH v3 3/7] arm64: ftrace: fix a stack tracer's output under function graph tracer

2015-10-13 Thread AKASHI Takahiro
On 10/14/2015 12:24 AM, Jungseok Lee wrote: On Oct 8, 2015, at 7:01 PM, AKASHI Takahiro wrote: Hi Akashi, Function graph tracer modifies a return address (LR) in a stack frame to hook a function return. This will result in many useless entries (return_to_handler) showing up in a stack tracer's

Re: [PATCH v3 3/7] arm64: ftrace: fix a stack tracer's output under function graph tracer

2015-10-13 Thread Jungseok Lee
On Oct 8, 2015, at 7:01 PM, AKASHI Takahiro wrote: Hi Akashi, > Function graph tracer modifies a return address (LR) in a stack frame > to hook a function return. This will result in many useless entries > (return_to_handler) showing up in a stack tracer's output. > > This patch replaces such en

Re: [PATCH v3 3/7] arm64: ftrace: fix a stack tracer's output under function graph tracer

2015-10-08 Thread kbuild test robot
Hi AKASHI, [auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore] config: arm64-allmodconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/ma

[PATCH v3 3/7] arm64: ftrace: fix a stack tracer's output under function graph tracer

2015-10-08 Thread AKASHI Takahiro
Function graph tracer modifies a return address (LR) in a stack frame to hook a function return. This will result in many useless entries (return_to_handler) showing up in a stack tracer's output. This patch replaces such entries with originals values preserved in current->ret_stack[]. Signed-off