Replies: 1 comment 1 reply
-
|
Hi Leon, On the one hand, you're mentioning See the
Fsession support was pulled into bpf-next on Jan 24th, claiming we're out-of-date is a bit of a stretch. 🙂 We'll pull in the new constants when they land in mainline, since we can't run CI on them before they do. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
A new tracing attach type,
fsession, was recently introduced in the kernel (kernel-patches/bpf@2d419c4).I’m planning to add
fsessionsupport to bpfsnoop.Before doing so, I wanted to ask about the expected workflow for handling newly added BPF types (e.g. attach types, flags, commands, map types) in this repository. Is there a preferred way to track and incorporate such kernel additions into
internal/sys/types.go?While looking into this, I also noticed that several other BPF-related constants have been added to the kernel over time but are not yet reflected here. For reference, the following diff shows some of these additions:
I’d appreciate any guidance on whether these should be updated incrementally as needed, or if there’s a more systematic approach planned for keeping kernel and user-space definitions in sync.
Beta Was this translation helpful? Give feedback.
All reactions