Re: [PATCH v3 5/7] ftrace: allow arch-specific stack tracer

2015-10-13 Thread Steven Rostedt
On Thu, 8 Oct 2015 19:01:42 +0900 AKASHI Takahiro wrote: > include/linux/ftrace.h | 10 ++ > kernel/trace/trace_stack.c | 22 ++ > 2 files changed, 24 insertions(+), 8 deletions(-) > > diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h > index d77b

[PATCH v3 5/7] ftrace: allow arch-specific stack tracer

2015-10-08 Thread AKASHI Takahiro
A stack frame may be used in a different way depending on cpu architecture. Thus it is not always appropriate to slurp the stack contents, as current check_stack() does, in order to calcurate a stack index (height) at a given function call. At least not on arm64. In addition, there is a possibility