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

Allow the user to load pre-existing BPF maps from a pin point or a Raw FD #385

Closed
astoycos opened this issue Sep 6, 2022 · 2 comments · Fixed by #387
Closed

Allow the user to load pre-existing BPF maps from a pin point or a Raw FD #385

astoycos opened this issue Sep 6, 2022 · 2 comments · Fixed by #387

Comments

@astoycos
Copy link
Member

astoycos commented Sep 6, 2022

Similar to https://github.com/cilium/ebpf 's Map APIs https://pkg.go.dev/github.com/cilium/ebpf#LoadPinnedMap and https://pkg.go.dev/github.com/cilium/ebpf#NewMapFromFD I would like the ability to load and interact with Pre-existing BPF maps which may or may not have been loaded by aya.

@vadorovsky
Copy link
Member

That would be a part of the New Map API #75

@alessandrod
Copy link
Collaborator

alessandrod commented Sep 6, 2022

That would be a part of the New Map API #75

We have actually discussed this on discord with @astoycos and @dave-tucker. #75 isn't super relevant and we should probably close it.

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

Successfully merging a pull request may close this issue.

3 participants