Re: [RFC v2 1/4] ftrace: allow arch-specific check_stack()

2015-08-18 Thread Will Deacon
On Mon, Aug 17, 2015 at 07:07:00AM +0100, AKASHI Takahiro wrote: > On 08/12/2015 02:03 AM, Will Deacon wrote: > > On Tue, Aug 04, 2015 at 08:44:06AM +0100, AKASHI Takahiro wrote: > >> A stack frame pointer may be used in a different way depending on > >> cpu architecture. Thus it is not always appr

Re: [RFC v2 1/4] ftrace: allow arch-specific check_stack()

2015-08-16 Thread AKASHI Takahiro
Will, On 08/12/2015 02:03 AM, Will Deacon wrote: On Tue, Aug 04, 2015 at 08:44:06AM +0100, AKASHI Takahiro wrote: A stack frame pointer may be used in a different way depending on cpu architecture. Thus it is not always appropriate to slurp the stack contents, as currently done in check_stack()

Re: [RFC v2 1/4] ftrace: allow arch-specific check_stack()

2015-08-11 Thread Will Deacon
On Tue, Aug 04, 2015 at 08:44:06AM +0100, AKASHI Takahiro wrote: > A stack frame pointer may be used in a different way depending on > cpu architecture. Thus it is not always appropriate to slurp the stack > contents, as currently done in check_stack(), in order to calcurate > a stack index (height