Skip to main content

eBPF Hookpoint Gotchas: Why Your Program Fires (or Fails) in Unexpected Ways

H.1308 (Rolin) | Day 1 | 10:30 - 11:00 | Speakers: Donia Chaiehloudj, Chris Tarazi

eBPF Hookpoint Gotchas: Why Your Program Fires (or Fails) in Unexpected Ways
A picture of a devroom at FOSDEM 2024
Open in browser
Get involved in the conversation!Join the chat

Notes

Abstract

eBPF programs often behave differently than developers expect, not because of incorrect logic, but because of subtle behaviours of the hookpoints themselves. In this talk, we focus on a small set of high-impact, commonly misunderstood attachment types — kprobes/fentry, tracepoints and uprobes, and expose the internal kernel mechanics that cause surprising edge cases.

Rather than attempting to cover all eBPF hooks, this session distills a practical set of real-world gotchas that routinely affect production tools, explaining why they occur and how to work around them.


Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.