linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] uprobes: two common case speed ups
@ 2024-03-18 18:17 Andrii Nakryiko
  2024-03-18 18:17 ` [PATCH v2 1/3] uprobes: encapsulate preparation of uprobe args buffer Andrii Nakryiko
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Andrii Nakryiko @ 2024-03-18 18:17 UTC (permalink / raw)
  To: linux-trace-kernel, rostedt, mhiramat
  Cc: bpf, mathieu.desnoyers, linux-kernel, oleg, jolsa,
	Andrii Nakryiko

This patch set implements two speed ups for uprobe/uretprobe runtime execution
path for some common scenarios: BPF-only uprobes (patches #1 and #2) and
system-wide (non-PID-specific) uprobes (patch #3). Please see individual
patches for details.

v1->v2:
  - rebased onto trace/core branch of tracing tree, hopefully I guessed right;
  - simplified user_cpu_buffer usage further (Oleg Nesterov);
  - simplified patch #3, just moved speculative check outside of lock (Oleg);
  - added Reviewed-by from Jiri Olsa.

Andrii Nakryiko (3):
  uprobes: encapsulate preparation of uprobe args buffer
  uprobes: prepare uprobe args buffer lazily
  uprobes: add speculative lockless system-wide uprobe filter check

 kernel/trace/trace_uprobe.c | 103 +++++++++++++++++++++---------------
 1 file changed, 59 insertions(+), 44 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2024-03-20  3:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-18 18:17 [PATCH v2 0/3] uprobes: two common case speed ups Andrii Nakryiko
2024-03-18 18:17 ` [PATCH v2 1/3] uprobes: encapsulate preparation of uprobe args buffer Andrii Nakryiko
2024-03-18 18:17 ` [PATCH v2 2/3] uprobes: prepare uprobe args buffer lazily Andrii Nakryiko
2024-03-18 18:17 ` [PATCH v2 3/3] uprobes: add speculative lockless system-wide uprobe filter check Andrii Nakryiko
2024-03-19  4:20 ` [PATCH v2 0/3] uprobes: two common case speed ups Masami Hiramatsu
2024-03-19  4:26   ` Masami Hiramatsu
2024-03-19 16:19   ` Andrii Nakryiko
2024-03-20  3:17     ` Masami Hiramatsu
2024-03-19  5:48 ` Oleg Nesterov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).