summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorPuranjay Mohan <puranjay@kernel.org>2026-09-16 11:43:13 -0700
committerIngo Molnar <mingo@kernel.org>2026-09-21 11:04:58 +0200
commitbd5e5fc7d6456e0669f47a3e10150ad05ae9d249 (patch)
tree20ea1973d926e791fa255d7ac95933d9ce20c6a9 /tools/perf/scripts/python/bin/stackcollapse-report
parent729bf5310766614efed12b87e8b59a63d2657cb7 (diff)
objtool/klp: Add test for rejecting module-owned static branch keys
A static branch key belonging to a module cannot be reached with a klp relocation: the patch may be applied after that module's static branch init has run, which corrupts the code. Emitting one anyway produces a module which loads and then BUG()s the first time the key changes state, so klp diff has to refuse it. The fixture differs from the accepted case only in the module name recorded in .modinfo. Signed-off-by: Puranjay Mohan <puranjay@kernel.org> Signed-off-by: Song Liu <song@kernel.org> Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Assisted-by: Claude:claude-opus-5 Link: https://patch.msgid.link/20260916184351.2720310-21-song@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions