kprobes: tracing/probes: Fix and cleanup to use guard
Get series with b4
b4 am 173289885627.73724.13632317993038475335.stgit@devnote2Versions newest first · linked by author and title
- v2 Latest6 patches 3 repliesIn review
- v16 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | tracing/eprobe: Fix to release eprobe when failed to add dyn_eventkernel/ | +5 | 0 replies | |
| 2/6 | kprobes: Adopt guard() and scoped_guard()kernel/ | +89 | 0 replies | |
| 3/6 | tracing/kprobe: Adopt guard() and scoped_guard()kernel/ | +6 | 0 replies | |
| 4/6 | tracing/uprobe: Adopt guard() and scoped_guard()kernel/ | +5 | 0 replies | |
| 5/6 | tracing/eprobe: Adopt guard() and scoped_guard()kernel/ | +17 | 0 replies | |
| 6/6 | tracing/dynevent: Adopt guard() and scoped_guard()kernel/ | +16 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/6] kprobes: tracing/probes: Fix and cleanup to use guard
Hi,
This is the v2 of the series to fix eprobes and cleanup kprobes and probe events in ftrace to use guard() and scoped_guard() instead of pairs of mutex locks.
In this version I fixed mixing of gurad and goto in the same function by using scoped_guard.
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 | 35 +++---- kernel/trace/trace_eprobe.c | 31 +++--- kernel/trace/trace_kprobe.c | 18 +--- kernel/trace/trace_uprobe.c | 15 +-- 5 files changed, 133 insertions(+), 171 deletions(-)
--
Masami Hiramatsu (Google) <[email protected]>