Sep 20 – 24, 2021
US/Pacific timezone

bpf: mass attachment of tracing probes

Sep 20, 2021, 9:30 AM
Networking and BPF Summit/Virtual-Room (LPC Virtual)

Networking and BPF Summit/Virtual-Room

LPC Virtual

Networking & BPF Summit (Closed) BPF & Networking Summit


Jiri Olsa (Red Hat)


There's currently kernel-side bottleneck when attaching probe
to multiple functions, which makes several tools like bpftrace
or retsnoop suffer in such use cases - it takes forever to
attach single probe for multiple functions ;-)

After multiple discussions and many failed attempts it looks
like we are on track to have working solution, which consists
of multiple gradual changes in ftrace and bpf code.

In this presentation I'll show and explain why the current code is
slow and introduce the proposed solution to the problem and the
status of the implementation.

I agree to abide by the anti-harassment policy I agree

Primary author

Jiri Olsa (Red Hat)

Presentation materials