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

#[uprobe]

Attribute macro that must be used to define uprobes.

Example

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

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