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

MapInfo struct does not contain BTF information #1048

Closed
SirNexus opened this issue May 30, 2023 · 0 comments
Closed

MapInfo struct does not contain BTF information #1048

SirNexus opened this issue May 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@SirNexus
Copy link

Describe the bug
The mapInfo struct does not contain BTF information for the map its representing. However this information is accessible in the underlying sys/MapInfo struct.

Expected behavior
The BTF information (BtfId, BtfVmlinuxValueTypeId) should be exposed to power use cases such as map dumping similar to how bpftool does it without having to locate the associated program that loaded it.

Is there a reason this information is not exposed?

@SirNexus SirNexus added the bug Something isn't working label May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant