[−][src]Attribute Macro redbpf_macros::kretprobe
#[kretprobe]
Attribute macro that must be used to define kretprobes
.
Example
#[kretprobe("__x64_sys_clone")] pub extern "C" fn clone_exit(ctx: *mut pt_regs) { // this is executed when clone() returns ... }