Skip to content

tracing: fprobe: Protect return handler from recursion loop

Masami Hiramatsu (Google) bpf lkml 2 versions – In review

Get series with b4
b4 am 175852291163.307379.14414635977719513326.stgit@devnote2

Versions newest first · linked by author and title

  1. v2 Latest2 patches 6 repliesIn review
  2. v11 patch 14 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tracing: fgraph: Protect return handler from recursion loopkernel/trace/fgraph.c+12 -06 replies
2/2lib/test_fprobe: Add recursion check test caseslib/tests/test_fprobe.c+90 -20 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJiri OlsaMenglong Dong
1/2A-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.

Read the v2 thread

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]>