pub fn function_tracer_available() -> boolExpand description
Whether the kernel supports function tracing (CONFIG_FUNCTION_TRACER),
needed for fentry/fexit BPF programs to load or attach.
/proc/sys/kernel/ftrace_enabled only exists when it’s compiled in,
so its presence is a cheap proxy.