]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kfence: show cpu and timestamp in alloc/free info
authorMarco Elver <elver@google.com>
Mon, 23 Aug 2021 23:59:45 +0000 (09:59 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Aug 2021 23:34:28 +0000 (09:34 +1000)
commitd777ad50c842bedcd02098a83a301b3841723e41
tree9275937e4949ed806d18b9a4b9973ccabf349019
parent59f23b42c3ae176ba298be52cccdf1e69fc91b90
kfence: show cpu and timestamp in alloc/free info

Record cpu and timestamp on allocations and frees, and show them in
reports.  Upon an error, this can help correlate earlier messages in the
kernel log via allocation and free timestamps.

Link: https://lkml.kernel.org/r/20210714175312.2947941-1-elver@google.com
Suggested-by: Joern Engel <joern@purestorage.com>
Signed-off-by: Marco Elver <elver@google.com>
Acked-by: Alexander Potapenko <glider@google.com>
Acked-by: Joern Engel <joern@purestorage.com>
Cc: Yuanyuan Zhong <yzhong@purestorage.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Documentation/dev-tools/kfence.rst
mm/kfence/core.c
mm/kfence/kfence.h
mm/kfence/report.c