diff options
author | Borislav Petkov <bp@suse.de> | 2020-06-15 19:49:46 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-06-16 20:34:16 +0200 |
commit | 1b2e335ebfa2243517e09f99653c78d1936cb6d2 (patch) | |
tree | 7acf4742abaae8dc3bc8b867d0878f5f5cd124b6 /tools/perf/scripts/python | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) |
x86/alternatives: Add pr_fmt() to debug macros
... in order to have debug output prefixed with the pr_fmt text "SMP
alternatives:" which allows easy grepping:
$ dmesg | grep "SMP alternatives"
[ 0.167783] SMP alternatives: alt table ffffffff8272c780, -> ffffffff8272fd6e
[ 0.168620] SMP alternatives: feat: 3*32+16, old: (x86_64_start_kernel+0x37/0x73 \
(ffffffff826093f7) len: 5), repl: (ffffffff8272fd6e, len: 5), pad: 0
[ 0.170103] SMP alternatives: ffffffff826093f7: old_insn: e8 54 a8 da fe
[ 0.171184] SMP alternatives: ffffffff8272fd6e: rpl_insn: e8 cd 3e c8 fe
...
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200615175315.17301-1-bp@alien8.de
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions