libbpf-rs icon indicating copy to clipboard operation
libbpf-rs copied to clipboard

Add support for attach multiple uprobe

Open Zhongy95 opened this issue 2 years ago • 1 comments

In libbpf, attach multiple uprobes like:

		link->multi_link = bpf_program__attach_uprobe_multi(prog, pid, path,
								    NULL, &opts_multi);

https://github.com/libbpf/libbpf/blob/master/src/usdt.c

Or do we have other alternatives to attach uprobes to multiple addresses of different target?

Zhongy95 avatar Jan 26 '24 09:01 Zhongy95

I don't believe we have multi attach hooked up yet. Feel free to contribute the bindings.

danielocfb avatar Jan 26 '24 17:01 danielocfb