summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSong Liu <song@kernel.org>2026-09-16 11:43:24 -0700
committerIngo Molnar <mingo@kernel.org>2026-09-21 11:12:06 +0200
commit35021df3834e0b51dd77e4be6ee7cbe9bcfa4825 (patch)
tree41a7051d641cc59880fee9d4fe3a9f5b05b6c1b6 /tools/perf/scripts/python/stackcollapse.py
parent90949e312de909e2f2a4f72ff3221f79e891d19f (diff)
objtool/klp: Add test for the contents of the klp_funcs list
The patch list is what livepatch acts on, and asserting only that it exists does not say it is right. A function that should have been patched and is missing leaves the bug in place; one that should not be there patches code nobody changed. The fixture changes two of three functions and asserts on all three: the two by name, and the third by its absence. It checks the strings in .rodata.klp.str1.1 as well as the relocations, since the names the kernel matches on are real strings. 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-32-song@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions