summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2025-02-06 14:45:37 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-03-17 08:06:08 +0300
commitfe1136b4ccbfac9b8e72d4551d1ce788a67d59cb (patch)
tree02b8e9cf79fc982385a2f9bbf671bd51a6d8920b /include
parent7ddeb91f5b03f25995861e9b2e1eb766aa528892 (diff)
downloadlinux-fe1136b4ccbfac9b8e72d4551d1ce788a67d59cb.tar.xz
samples: kmemleak: print the raw pointers for debugging purposes
The kmemleak-test.c module is meant to leak some pointers for debugging the kmemleak detection, pointer information dumping. It's no use if it prints the hashed values of such pointers. Change the printk() format from %p to %px. While at it, also display the raw __percpu pointer rather than this_cpu_ptr() since kmemleak now tracks such pointers independently of the standard allocations. Link: https://lkml.kernel.org/r/20250206114537.2597764-3-catalin.marinas@arm.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions