mbox series

[0/6] kprobes: tracing/probes: Fix and cleanup to use guard

Message ID 173262937038.8323.5774362855789721936.stgit@devnote2 (mailing list archive)
Headers show
Series kprobes: tracing/probes: Fix and cleanup to use guard | expand

Message

Masami Hiramatsu (Google) Nov. 26, 2024, 1:56 p.m. UTC
Hi,

This series fixes eprobes and cleanup kprobes and probe events in ftrace
to use guard() and scoped_guard() instead of pairs of mutex locks.

Some locks are still not using guard(). We need some more work to complete.

Thanks,

---

Masami Hiramatsu (Google) (6):
      tracing/eprobe: Fix to release eprobe when failed to add dyn_event
      kprobes: Adopt guard() and scoped_guard()
      tracing/kprobe: Adopt guard() and scoped_guard()
      tracing/uprobe: Adopt guard() and scoped_guard()
      tracing/eprobe: Adopt guard() and scoped_guard()
      tracing/dynevent: Adopt guard() and scoped_guard()


 kernel/kprobes.c              |  205 ++++++++++++++++++-----------------------
 kernel/trace/trace_dynevent.c |   12 +-
 kernel/trace/trace_eprobe.c   |   31 +++---
 kernel/trace/trace_kprobe.c   |   18 +---
 kernel/trace/trace_uprobe.c   |   15 +--
 5 files changed, 121 insertions(+), 160 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@kernel.org>