-
Notifications
You must be signed in to change notification settings - Fork 729
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
link: RawTracepoint and Iter link information #506
Comments
You're right, the same problem applies to
There are a couple of options to fix this:
Needs some experimentation, but I think the third one seems simplest / the one with the least amount of drawbacks. We can even make it somewhat backwards compatible by aliasing |
Most of the link types now have info thanks to @mehrdadrad's PR. The two missing ones are RawTracepointInfo and IterInfo since they contain strings. |
LoadPinnedLink doesn't expose RawLinkInfo like LoadPinnedRawLink (deprecated). The RawLinkInfo already has type, id and programID fields and we can add more type-specific information later to this structure like ifindex for XDP, attach_type for tracing/cgroup/netns/iter etc.
Any thoughts?
The text was updated successfully, but these errors were encountered: