ENUM PROBE_ATTACH_MODE(9)
π NAME π
enum probe_attach_mode β bestie, this is the mode for attaching kprobe/uprobe. Thatβs the whole vibe for enum probe_attach_mode(9) in the Kernel API Manual. π
β¨ SYNOPSIS β¨
enum probe_attach_mode {
PROBE_ATTACH_MODE_DEFAULT ,
PROBE_ATTACH_MODE_LEGACY ,
PROBE_ATTACH_MODE_PERF ,
PROBE_ATTACH_MODE_LINK
};
πΈ Constants πΈ
Okay so these constants are listed, but the page literally gives us -- undescribed -- for every single one. No lore, no tea, no extra details. Respecting the source material, periodt. π
PROBE_ATTACH_MODE_DEFAULTβ-- undescribed --PROBE_ATTACH_MODE_LEGACYβ-- undescribed --PROBE_ATTACH_MODE_PERFβ-- undescribed --PROBE_ATTACH_MODE_LINKβ-- undescribed --
π¦ Description π¦
This one forces libbpf to attach kprobe/uprobe in a specific mode. If the kernel doesnβt support that mode, then -ENOTSUP will be returned. Thatβs the entire description, bestie β short and iconic. πβ¨
π SEE ALSO π
- Kernel file
./tools/lib/bpf/libbpf.h
Thatβs the page, bestie. It comes from ./tools/lib/bpf and is dated October 2026. Slay, bye! ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms