redbpf_macros
#[kprobe]
Attribute macro that must be used to define kprobes.
kprobes
use redbpf_probes::kprobe::prelude::*; #[kprobe("__x64_sys_clone")] fn clone_enter(regs: Registers) { // this is executed when clone() is invoked }