Skip to content

RFC tracing: Remove conditional locking from tracepoints

Mathieu Desnoyers bpf linux-trace-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tracing: Move it_func[0] comment to the relevant contextinclude/linux/tracepoint.h+3 -30 replies
2/5tracing: Remove __idx variable from __DO_TRACEinclude/linux/tracepoint.h+0 -20 replies
3/5rcupdate_trace: Define rcu_tasks_trace lock guardinclude/linux/rcupdate_trace.h+5 -00 replies
4/5tracing: Remove conditional locking from __DO_TRACE()include/linux/tracepoint.h+12 -3312 replies
5/5tracing: Remove cond argument from __DECLARE_TRACE_SYSCALLinclude/linux/tracepoint.h+13 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/5] tracing: Remove conditional locking from tracepoints

Linus pointed out that he was not pleased by the implementation of faultable syscall tracepoints because it contains conditional locking. This patch series addresses those concerns.

This is based on commit 06afb0f36106 ("Merge tag 'trace-v6.13' of
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace")

Many thanks to Linus for the analysis and feedback.

Cc Linus Torvalds <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Michael Jeanson <[email protected]>
Cc Masami Hiramatsu <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Alexei Starovoitov <[email protected]>
Cc Yonghong Song <[email protected]>
Cc Paul E. McKenney <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Alexander Shishkin <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Andrii Nakryiko <[email protected]>
Cc Joel Fernandes <[email protected]>
Cc Jordan Rife <[email protected]>

Mathieu Desnoyers (5):
tracing: Move it_func[0] comment to the relevant context
tracing: Remove __idx variable from __DO_TRACE
rcupdate_trace: Define rcu_tasks_trace lock guard
tracing: Remove conditional locking from __DO_TRACE()
tracing: Remove cond argument from __DECLARE_TRACE_SYSCALL

 include/linux/rcupdate_trace.h |  5 +++
 include/linux/tracepoint.h     | 70 ++++++++++++----------------------
 2 files changed, 29 insertions(+), 46 deletions(-)
Signature · 1 line
2.39.5