diff options
author | Michael Ellerman | 2017-12-06 13:23:28 +0100 |
---|---|---|
committer | Michael Ellerman | 2017-12-06 14:27:01 +0100 |
commit | d8104182087319fd753d6d8e0afcd95d84c2aa2f (patch) | |
tree | be9baacdc1e58ae653535916659cd944a8d39186 /arch/powerpc/perf | |
parent | powerpc/64s: Initialize ISAv3 MMU registers before setting partition table (diff) | |
download | kernel-qcow2-linux-d8104182087319fd753d6d8e0afcd95d84c2aa2f.tar.gz kernel-qcow2-linux-d8104182087319fd753d6d8e0afcd95d84c2aa2f.tar.xz kernel-qcow2-linux-d8104182087319fd753d6d8e0afcd95d84c2aa2f.zip |
powerpc/xmon: Don't print hashed pointers in xmon
Since commit ad67b74d2469 ("printk: hash addresses printed with %p")
pointers printed with %p are hashed, ie. you don't see the actual
pointer value but rather a cryptographic hash of its value.
In xmon we want to see the actual pointer values, because xmon is a
debugger, so replace %p with %px which prints the actual pointer
value.
We justify doing this in xmon because 1) xmon is a kernel crash
debugger, it's only accessible via the console 2) xmon doesn't print
to dmesg, so the pointers it prints are not able to be leaked that
way.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/perf')
0 files changed, 0 insertions, 0 deletions