-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace usage of bcc_elf_is_*() functions
In the long term, the project wants to get rid of the bcc dependency. As another step towards achieving this goal, replace the usage of bcc_elf_is_*() functions with implementations based directly on libelf. The bcc layer doesn't really add any value here. In resolve_binary_path(), we benefit additionally from not unnecessarily opening the file in question and reading its ELF header twice, if it does not reference an executable.
- Loading branch information
Showing
3 changed files
with
75 additions
and
4 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
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