20-24 September 2021
US/Pacific timezone

bpf: mass attachment of tracing probes

20 Sep 2021, 09:30
40m
Networking and BPF Summit/Virtual-Room (LPC Virtual)

Networking and BPF Summit/Virtual-Room

LPC Virtual

150
Networking & BPF Summit (Closed) BPF & Networking Summit

Speaker

Jiri Olsa (Red Hat)

Description

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