[][src]Attribute Macro redbpf_probes::uprobe::prelude::uretprobe

#[uretprobe]

Attribute macro that must be used to define uretprobes.

Example

use redbpf_probes::uprobe::prelude::*;

#[uretprobe]
fn getaddrinfo(regs: Registers) {
    // this is executed when getaddrinfo() returns
}