mirror of https://github.com/aya-rs/aya
aya-ebpf/macros: separate probe to probe ctx & retprobe to retprobe ctx
Added logic in expand function in both kprobe.rs and uprobe.rs for valid macros. Now, kprobe & uprobe proc macros only accept ProbeContext, and kretprobe & uretprobe only accept RetProbeContext. Ref: #700pull/912/head
parent
22d2315970
commit
3d40da5feb
Loading…
Reference in New Issue