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

YouTube

Python-BPF - Writing eBPF Programs in Pure Python

Linux Plumbers Conference via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore Python-BPF, an innovative project that enables writing eBPF programs entirely in pure Python through this 33-minute conference talk from the Linux Plumbers Conference. Learn how this tool allows developers to use a reduced Python grammar for eBPF-specific code sections, unifying both eBPF logic and userspace code within the same Python file. Discover the advantages this approach offers over traditional BCC implementations, including improved development tool compatibility, enhanced data processing capabilities using Python's rich ecosystem, and simplified visualization through libraries like matplotlib and seaborn. Understand how Python-BPF facilitates rapid prototyping of BPF programs with familiar, easy-to-learn syntax while supporting execution in Jupyter notebooks. Examine the current capabilities and limitations of this early-stage project, including its support for various map types and eBPF helpers, and see practical examples ported from the BCC tutorial that demonstrate improved visualization techniques beyond ASCII histograms.

Syllabus

Python-BPF: Writing eBPF programs in pure Python - Pragyansh Chaturvedi, Mr Varun Mallya

Taught by

Linux Plumbers Conference

Reviews

Start your review of Python-BPF - Writing eBPF Programs in Pure Python

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.