diff options
| author | Will Deacon <[email protected]> | 2023-10-02 16:57:47 +0000 |
|---|---|---|
| committer | Josh Poimboeuf <[email protected]> | 2023-10-23 15:35:01 +0000 |
| commit | 180af1a5bdaf8d4964837a46a9fce8c3a7fd2d97 (patch) | |
| tree | 33b09aa7058bad66f68cba096e8a0e4b2b041e56 /lib/closure.c | |
| parent | objtool: Remove max symbol name length limitation (diff) | |
| download | kernel-180af1a5bdaf8d4964837a46a9fce8c3a7fd2d97.tar.gz kernel-180af1a5bdaf8d4964837a46a9fce8c3a7fd2d97.zip | |
scripts/faddr2line: Don't filter out non-function symbols from readelf
As Josh points out in 20230724234734.zy67gm674vl3p3wv@treble:
> Problem is, I think the kernel's symbol printing code prints the
> nearest kallsyms symbol, and there are some valid non-FUNC code
> symbols. For example, syscall_return_via_sysret.
so we shouldn't be considering only 'FUNC'-type symbols in the output
from readelf.
Drop the function symbol type filtering from the faddr2line outer loop.
Suggested-by: Josh Poimboeuf <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Link: https://lore.kernel.org/r/20230724234734.zy67gm674vl3p3wv@treble
Signed-off-by: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Josh Poimboeuf <[email protected]>
Diffstat (limited to 'lib/closure.c')
0 files changed, 0 insertions, 0 deletions
