Re: [RFC 00/13] kprobe/bpf: Add support to attach multiple kprobes

From: Alexei Starovoitov
Date: Tue Jan 04 2022 - 13:53:36 EST


On Tue, Jan 4, 2022 at 12:09 AM Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
>
> hi,
> adding support to attach multiple kprobes within single syscall
> and speed up attachment of many kprobes.
>
> The previous attempt [1] wasn't fast enough, so coming with new
> approach that adds new kprobe interface.
>
> The attachment speed of of this approach (tested in bpftrace)
> is now comparable to ftrace tracer attachment speed.. fast ;-)

What are the absolute numbers?
How quickly a single bpf prog can attach to 1k kprobes?