Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

BPF Tracing Multi-Link Supporting

Linux Plumbers Conference via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore advanced BPF tracing optimization techniques in this 29-minute conference talk from the Linux Plumbers Conference. Learn how to overcome the inefficiencies of current per-function BPF program design that creates independent instances for each traced kernel function, leading to memory waste and slow attachment processes in large-scale scenarios. Discover the innovative tracing multi-link feature inspired by kprobe multi-link design, which enables efficient binding of a single BPF program to multiple target functions. Understand the implementation of BPF global trampolines that replace hardcoded program addresses with a dynamic function metadata hash table using rhashtable, storing BPF programs, cookies, and function parameters. Examine how this real-time metadata querying system, built with naked functions and C code, dramatically improves performance by reducing loading times from tens of minutes to under one second when tracing up to 50,000 kernel functions. Gain insights into practical applications for monitoring hundreds or thousands of kernel functions simultaneously while minimizing resource consumption and maximizing tracing efficiency.

Syllabus

bpf tracing multi-link supporting - Menglong Dong (ChinaTelecom)

Taught by

Linux Plumbers Conference

Reviews

Start your review of BPF Tracing Multi-Link Supporting

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.