diff options
| author | Song Liu <song@kernel.org> | 2026-09-16 11:43:30 -0700 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2026-09-21 11:12:06 +0200 |
| commit | 638df22cc3f894d79a2d332c34739575ba50770b (patch) | |
| tree | 443f1be87fffdaf19d6213323827e1d8aeabb83a /tools/perf/scripts/python/stackcollapse.py | |
| parent | f55eae8f37ea5ff547a8ac4ddafcef21047d5874 (diff) | |
objtool/klp: Add test for sympos in module objects
klp-sympos.c had no coverage at all. sympos disambiguates same-named
symbols for livepatch, counting from 1, with 0 meaning the name is unique.
Resolving to the wrong one is not a load failure -- it is a patch quietly
wired to the wrong object.
Covers the module path, where the position is a count in symbol table order
and klp diff can work it out from the object alone.
Assisted-by: Claude:claude-opus-4
Based-on-test-by: Joe Lawrence <joe.lawrence@redhat.com>
Assisted-by: Claude:claude-opus-5
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://patch.msgid.link/20260916184351.2720310-38-song@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
