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/935/merge
parent
2d38b23b99
commit
b84ede10b9
Loading…
Reference in New Issue