Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for attach multiple uprobe #656

Open
Zhongy95 opened this issue Jan 26, 2024 · 1 comment
Open

Add support for attach multiple uprobe #656

Zhongy95 opened this issue Jan 26, 2024 · 1 comment

Comments

@Zhongy95
Copy link

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?

@danielocfb
Copy link
Collaborator

danielocfb commented Jan 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants