Skip to content

Commit

Permalink
arm64: Add 'notrace' attribute to unwind_frame() for ftrace
Browse files Browse the repository at this point in the history
walk_stackframe() calls unwind_frame(), and if walk_stackframe() is
"notrace", unwind_frame() should be also "notrace".

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
  • Loading branch information
AKASHI Takahiro authored and Will Deacon committed May 29, 2014
1 parent 26e9b83 commit 26e2ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/kernel/stacktrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* ldp x29, x30, [sp]
* add sp, sp, #0x10
*/
int unwind_frame(struct stackframe *frame)
int notrace unwind_frame(struct stackframe *frame)
{
unsigned long high, low;
unsigned long fp = frame->fp;
Expand Down

0 comments on commit 26e2ae3

Please sign in to comment.