]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - mm/percpu.c
percpu: add tracepoint support for percpu memory
authorDennis Zhou <dennisz@fb.com>
Mon, 19 Jun 2017 23:28:32 +0000 (19:28 -0400)
committerTejun Heo <tj@kernel.org>
Tue, 20 Jun 2017 19:31:43 +0000 (15:31 -0400)
commitdf95e795a722892a9e0603ce4b9b62fab9f02967
treef26b6c6c78874be2b866d516c42da69a67acc07c
parent30a5b5367ef9d5c9055414e12ec2f02d9de2e70f
percpu: add tracepoint support for percpu memory

Add support for tracepoints to the following events: chunk allocation,
chunk free, area allocation, area free, and area allocation failure.
This should let us replay percpu memory requests and evaluate
corresponding decisions.

Signed-off-by: Dennis Zhou <dennisz@fb.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/trace/events/percpu.h [new file with mode: 0644]
mm/percpu-km.c
mm/percpu-vm.c
mm/percpu.c