summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2021-10-26 15:01:45 +0300
committerPeter Zijlstra <peterz@infradead.org>2021-10-29 00:25:28 +0300
commitd4b5a5c993009ffeb5febe3b701da3faab6adb96 (patch)
treee4c5c6d2466b95f926519e69a9756da9c3f6a802 /lib/debugobjects.c
parentbbe2df3f6b6da7848398d55b1311d58a16ec21e4 (diff)
downloadlinux-d4b5a5c993009ffeb5febe3b701da3faab6adb96.tar.xz
x86/alternative: Add debug prints to apply_retpolines()
Make sure we can see the text changes when booting with 'debug-alternative'. Example output: [ ] SMP alternatives: retpoline at: __traceiter_initcall_level+0x1f/0x30 (ffffffff8100066f) len: 5 to: __x86_indirect_thunk_rax+0x0/0x20 [ ] SMP alternatives: ffffffff82603e58: [2:5) optimized NOPs: ff d0 0f 1f 00 [ ] SMP alternatives: ffffffff8100066f: orig: e8 cc 30 00 01 [ ] SMP alternatives: ffffffff8100066f: repl: ff d0 0f 1f 00 Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Borislav Petkov <bp@suse.de> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Tested-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/r/20211026120310.422273830@infradead.org
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions