summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSong Liu <song@kernel.org>2026-09-16 11:43:28 -0700
committerIngo Molnar <mingo@kernel.org>2026-09-21 11:12:06 +0200
commita5f001a475d157184c038f8dcab1e7690f501eab (patch)
treed90db64c913446f7f16f38fb8629384538bad0d6 /tools/perf/scripts/python/task-analyzer.py
parentdff07c58cae7f60e7ae08e9c005e8ec125391f98 (diff)
objtool/klp: Add test for recorded checksum values
Whether klp diff treats a function as changed is decided by its checksum, and until now nothing looked at one. A test asserting only that the right functions were cloned cannot tell a correct checksum from one that happens to differ. Asserts both directions -- the changed function's checksum moves, the untouched one's does not -- and that checksumming identical input twice gives the same answer, since otherwise every rebuild reports spurious changes. 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-36-song@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions