This is the website for an older EuroPython. Looking for the latest EuroPython? Click here!
Skip to main content

Instrumenting CPython with eBPF

Level:
intermediate
Room:
terrace 2a
Start:
Duration:
30 minutes

Abstract

eBPF is a amazing technology that can run sandboxed programs in a privileged context such as the operating system kernel. But are eBPF programs limited to the operating system kernel? eBPF programs have fast access to resources like memory. These programs can access the memory of running Python applications very faster, allowing you to instrument Python processes with low overhead!

In my presentation, I will show how Python's internal structure supports instrumentation through the use of eBPF. Following that, we'll experiment with eBPF and other modern techniques to instrumenting the Python applications. I'll explain explain why eBPF is more appropriate and efficient technology for instrumentation. By the end of the session, we will have developed an eBPF-based simple tracing tool for instrumenting Python applications.

After this presentation, you will better understand how eBPF can help you in the instrumentation of Python applications.

TalkPython Internals & Ecosystem

The speaker

Furkan Taha ÖNDER

Furkan Taha ÖNDER

Furkan Onder is a Python developer who loves to work on the open-source and Python Software Foundation Contributer Member.


← Back to schedule