forked from iovisor/bcc
-
Notifications
You must be signed in to change notification settings - Fork 0
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 iovisor#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 3a17a38
Showing
2 changed files
with
409 additions
and
26 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.