- DISPATCH
- direct call
- SPEED
- faster than kp
- FEXIT ARGS
- args + retval
- KERNEL
- Linux 5.5+
- kernel event trigger
- telemetry / policy ok
- LSM deny / PMU sample
fentry and fexit replace kprobe breakpoint traps with a direct BTF-powered BPF trampoline call—cutting hook invocation cost dramatically while giving typed access to function arguments.
Even better, fexit sees both the original input arguments and the return value in a single hook, eliminating the extra map lookup kretprobes need to correlate entry and exit.