The following series fixes a recursive loop issue on fprobe by adding
ftrace_test_recursion_trylock() in __ftrace_return_to_handler().
The previous version is here;
https://lore.kernel.org/all/175828305637.117978.4183947592750468265.stgit@devnote2/
This v2 removes WARN_ON from __ftrace_return_to_handler() and adds
kunit test cases for recursive call [2/2].
---
Masami Hiramatsu (Google) (2):
tracing: fgraph: Protect return handler from recursion loop
lib/test_fprobe: Add recursion check test cases
kernel/trace/fgraph.c | 12 ++++++
lib/tests/test_fprobe.c | 92 ++++++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 102 insertions(+), 2 deletions(-)
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>