All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] tracing: fprobe: Protect return handler from recursion loop
@ 2025-09-22  6:35 Masami Hiramatsu (Google)
  2025-09-22  6:35 ` [PATCH v2 1/2] tracing: fgraph: " Masami Hiramatsu (Google)
  2025-09-22  6:35 ` [PATCH v2 2/2] lib/test_fprobe: Add recursion check test cases Masami Hiramatsu (Google)
  0 siblings, 2 replies; 9+ messages in thread
From: Masami Hiramatsu (Google) @ 2025-09-22  6:35 UTC (permalink / raw)
  To: Peter Zijlstra, Steven Rostedt, Menglong Dong
  Cc: jolsa, tglx, mingo, bp, dave.hansen, x86, hpa, kees, samitolvanen,
	rppt, luto, mhiramat, ast, andrii, linux-kernel, bpf

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>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-09-29  0:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-22  6:35 [PATCH v2 0/2] tracing: fprobe: Protect return handler from recursion loop Masami Hiramatsu (Google)
2025-09-22  6:35 ` [PATCH v2 1/2] tracing: fgraph: " Masami Hiramatsu (Google)
2025-09-22  8:01   ` menglong.dong
2025-09-24 15:34   ` Masami Hiramatsu
2025-09-25  7:26     ` Steven Rostedt
2025-09-27 12:57       ` Steven Rostedt
2025-09-28 12:56         ` Steven Rostedt
2025-09-29  0:02           ` Masami Hiramatsu
2025-09-22  6:35 ` [PATCH v2 2/2] lib/test_fprobe: Add recursion check test cases Masami Hiramatsu (Google)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.