-
Notifications
You must be signed in to change notification settings - Fork 661
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
map, prog: allow access to bpfMapInfo, bpfProgInfo #26
Labels
Comments
Which parts of the structs do you want to access? Maybe it makes sense to add them to ProgramABI. |
Currently, |
This was referenced Nov 6, 2019
tklauser
added a commit
that referenced
this issue
Feb 25, 2020
Updates #26 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
tklauser
added a commit
that referenced
this issue
Feb 25, 2020
Updates #26 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
tklauser
added a commit
that referenced
this issue
Feb 25, 2020
Updates #26 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
This is now available in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently after i load a map/prog from
LoadPinnedMap()
/LoadPinnedProgram()
, i can useMap.ABI()
/Program.ABI()
to get informations of the map/prog,Map.ABI
's informations are enough for me, butProgram.ABI
has onlyProgramType
, why not just usebpfMapInfo
/bpfProgInfo
as an atrribute ofMap
/Program
, and add an API to get it?The text was updated successfully, but these errors were encountered: