Alex Gartrell Executing python functions in the linux kernel by transpiling to bpf PyCon 2017

Опубликовано: 17 Октябрь 2024
на канале: PyCon 2017
2,502
38

"Speaker: Alex Gartrell

`ebpf` is a linux kernel byte-code which can be used for functionality ranging from tracing system calls with kprobe to routing packets with tc. This talk is about a pure-python front-end for ebpf that allows users to write simple python functions to be executed in the kernel. I'll first explain how this was made to work and then I'll show off some of the features/capabilities of this approach with working examples.

Slides can be found at: https://speakerdeck.com/pycon2017 and https://github.com/PyCon/2017-slides"