[−][src]Attribute Macro redbpf_macros::kretprobe
#[kretprobe]
Attribute macro that must be used to define kretprobes
.
Example
use redbpf_probes::kprobe::prelude::*; #[kretprobe("__x64_sys_clone")] fn clone_exit(regs: Registers) { // this is executed when clone() returns }