diff options
| author | Song Liu <song@kernel.org> | 2026-03-05 15:15:27 -0800 |
|---|---|---|
| committer | Josh Poimboeuf <jpoimboe@kernel.org> | 2026-03-06 08:08:32 -0800 |
| commit | 0b8fc6adc3d9bdf161fc8ad0a1de191dba293b39 (patch) | |
| tree | f3f265dbb6df5d9c5df70248d8eb5a0e8b474e4b /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | a3f28d2072452edb377eaad01375445dbace6771 (diff) | |
objtool/klp: Use sym->demangled_name for symbol_name hash
For klp-build with LTO, it is necessary to correlate demangled symbols,
e.g., correlate foo.llvm.<num 1> and foo.llvm.<num 2>. However, these two
symbols do not have the same str_hash(name). To be able to correlate the
two symbols, calculate hash based on demanged_name, so that these two
symbols have the same hash.
No functional changes intended.
Signed-off-by: Song Liu <song@kernel.org>
Link: https://patch.msgid.link/20260305231531.3847295-4-song@kernel.org
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
