Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The ksym_resolver_load_find test is flaky. The reason being that kallsyms may contain multiple function names for the same address (probably because of aliases) and that can trip us over when searching for the one alias by address but then getting back a different one. Fix the test by doing a reverse lookup back from name to address to make sure that we did indeed find one correct candidate, instead of mindlessly just checking the names for equality. Signed-off-by: Daniel Müller <[email protected]>
- Loading branch information