Files
android_kernel_xiaomi_sm8450/fs/xfs/libxfs
Darrick J. Wong c96900435f xfs: use %px for data pointers when debugging
Starting with commit 57e734423a ("vsprintf: refactor %pK code out of
pointer"), the behavior of the raw '%p' printk format specifier was
changed to print a 32-bit hash of the pointer value to avoid leaking
kernel pointers into dmesg.  For most situations that's good.

This is /undesirable/ behavior when we're trying to debug XFS, however,
so define a PTR_FMT that prints the actual pointer when we're in debug
mode.

Note that %p for tracepoints still prints the raw pointer, so in the
long run we could consider rewriting some of these messages as
tracepoints.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
2018-01-12 14:09:08 -08:00
..
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2018-01-08 10:54:45 -08:00
2017-10-26 15:38:25 -07:00
2017-11-09 15:50:29 -08:00
2017-10-26 15:38:26 -07:00
2017-11-16 12:06:45 -08:00