-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vendor deprecated btf_ext APIs and structs
Some btf_ext-related APIs in libbpf are being deprecated because they make incorrect assumptions. They're being used only by bcc currently, so vendor them before they get deleted. After / as part of #3660, may need to revisit the incorrect assumptions being made here. The functions and structs were ripped directly from libbpf with minimal changes: * Change void* arithmetic to uint8_t * __u32 -> uint32_t and similar * Add a wrapping namespace * `rec_size` functions were not needed - just grab the rec_size directly since type is no longer opaque to bcc
- Loading branch information
1 parent
b82de2d
commit d0d478d
Showing
2 changed files
with
410 additions
and
27 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
Oops, something went wrong.