mm: add tracepoints to ksm
authorStefan Roesch <shr@devkernel.io>
Fri, 10 Feb 2023 21:46:45 +0000 (13:46 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 28 Mar 2023 23:20:08 +0000 (16:20 -0700)
commit739100c88f49a67c6487bb2d826b0b5a2ddc80e2
tree0fbb98f3f363e46c3eaf297a12e758bf2c364e40
parent77f68ebeee201e8960944863c03bd7ac613ca7ed
mm: add tracepoints to ksm

This adds the following tracepoints to ksm:
- start / stop scan
- ksm enter / exit
- merge a page
- merge a page with ksm
- remove a page
- remove a rmap item

This patch has been split off from the RFC patch series "mm:
process/cgroup ksm support".

Link: https://lkml.kernel.org/r/20230210214645.2720847-1-shr@devkernel.io
Signed-off-by: Stefan Roesch <shr@devkernel.io>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
MAINTAINERS
include/trace/events/ksm.h [new file with mode: 0644]
mm/ksm.c