summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSong Liu <song@kernel.org>2026-09-16 11:43:21 -0700
committerIngo Molnar <mingo@kernel.org>2026-09-21 11:06:08 +0200
commit2d17a35f6c9489884e6a5ff7cb0d6b150d413371 (patch)
tree7ca6cdce8f34f0d49b27c09010e9c06d4b7615a5 /tools/perf/scripts/python/stackcollapse.py
parentade23d75deb3c679760c3f0f33d9b8d8ffa9f963 (diff)
objtool/klp: Add test for klp reloc section naming in module objects
klp diff names the intermediate __klp_relocs section after the object the relocation belongs to, and post-link turns that into .klp.rela.<object>.<sec>. Name it after the wrong object and the kernel applies the relocation when the wrong module loads, or never. The fixture is the first here to honour MODNAME: most hardcode name=vmlinux, so passing -DMODNAME to them silently does nothing and the test quietly becomes a vmlinux test. This tests the behavior of commit 07f14d6af9d7 ("objtool/klp: Fix cross-module klp relocation section naming"). 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-29-song@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions