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

feat: GetMapsIdsByName #377

Closed
wants to merge 3 commits into from

Conversation

aymericDD
Copy link
Contributor

@aymericDD aymericDD commented Sep 12, 2023

Currently, the library allows you to get a map from an eBPF program loaded by themselves. If a map is already created, you cannot get it. This function aims to get a list of maps Ids by name already created.

Allow a user to get a list of maps by name.
@aymericDD aymericDD marked this pull request as ready for review September 13, 2023 08:38
@aymericDD aymericDD mentioned this pull request Sep 13, 2023
Copy link
Member

@geyslan geyslan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aymericDD thank you again for your grand contribution!

libbpfgo.go Outdated Show resolved Hide resolved
libbpfgo.go Show resolved Hide resolved
libbpfgo.go Outdated Show resolved Hide resolved
selftest/map-get-maps-by-name/main.bpf.c Outdated Show resolved Hide resolved
Allow a user to get a list of maps Ids filtered by map name.
@aymericDD aymericDD changed the title feat: GetMapsByName feat: GetMapsIdsByName Sep 14, 2023
@geyslan
Copy link
Member

geyslan commented Sep 14, 2023

Closing this in favour of #378. @aymericDD I would appreciate your review. Thanks.

@geyslan geyslan closed this Sep 14, 2023
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 this pull request may close these issues.

2 participants