forked from libbpf/blazesym
-
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.
Give preference to ELF symbolization for kernel addresses
As a side effect of commit 7ee10af ("Merge SymResolver::find_code_info() into SymResolver::find_sym()") we changed the behavior of the kernel resolver in that where previously it would consult the ELF resolver for source code information, it no longer did so. That was mostly a result of the kernel resolver giving preference to the internally used KSymResolver, as opposed to the ElfResolver. This change adjusts the logic to make sure that if an ElfResolver is present, we end up using it for symbolization. Signed-off-by: Daniel Müller <[email protected]>
- Loading branch information
Showing
3 changed files
with
66 additions
and
6 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