-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libbpf-cargo: Add support for struct_ops shadow objects
This change adds support for struct_ops shadow objects to the generated skeletons. These allow for the pre-load modifications of fields in a struct_ops object. To make that happen we add a new generated struct_ops type that holds pointers to all the known struct_ops objects and allows for modification of their values before final load. Signed-off-by: Daniel Müller <deso@posteo.net>
- Loading branch information
1 parent
1ba963c
commit 3d49a82
Showing
3 changed files
with
257 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.