Launch Your Cybersecurity Career in 6 Months
Learn EDR Internals: Research & Development From The Masters
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