]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: function_graph: Remove use of FTRACE_NOTRACE_DEPTH
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Sun, 18 Nov 2018 23:41:46 +0000 (18:41 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sun, 9 Dec 2018 01:53:38 +0000 (20:53 -0500)
commit421d1069cd85f6fee9f36984a071a73b6a431f65
tree00b479f48f852dba658e491153c35bbff613ac54
parent9cd2992f2d6c8df54c5b937d5d1f8a23b684cc1d
arm64: function_graph: Remove use of FTRACE_NOTRACE_DEPTH

Functions in the set_graph_notrace no longer subtract FTRACE_NOTRACE_DEPTH
from curr_ret_stack, as that is now implemented via the trace_recursion
flags. Access to curr_ret_stack no longer needs to worry about checking for
this. curr_ret_stack is still initialized to -1, when there's not a shadow
stack allocated.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Acked-by: Will Deacon <will.deacon@arm.com>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
arch/arm64/kernel/stacktrace.c