tracing: fprobe: Protect return handler from recursion loop
Get series with b4
b4 am 175852291163.307379.14414635977719513326.stgit@devnote2Versions newest first · linked by author and title
- v2 Latest2 patches 6 repliesIn review
- v11 patch 14 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tracing: fgraph: Protect return handler from recursion loopkernel/ | +12 | 6 replies | |
| 2/2 | lib/test_fprobe: Add recursion check test caseslib/ | +90 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Jiri Olsa | Menglong Dong |
|---|---|---|
| 1/2 | A-b | T-b A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] tracing: fprobe: Protect return handler from recursion loop
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) <[email protected]>