mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-29 17:22:07 +00:00
4670707828
DAMON is not only for monitoring of access patterns, but also for access-aware system operations. For the system operations, DAMON provides a feature called DAMOS (Data Access Monitoring-based Operation Schemes). There is no sample API usage of DAMOS, though. Copy the working set size estimation sample modules with changed names of the module and symbols, to use it as a skeleton for a sample module showing the DAMOS API usage. The following commit will make it proactively reclaim cold memory of the given process, using DAMOS. Link: https://lkml.kernel.org/r/20241210215030.85675-5-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
44 lines
1.8 KiB
Makefile
44 lines
1.8 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Makefile for Linux samples code
|
|
|
|
subdir-$(CONFIG_SAMPLE_AUXDISPLAY) += auxdisplay
|
|
subdir-$(CONFIG_SAMPLE_ANDROID_BINDERFS) += binderfs
|
|
subdir-$(CONFIG_SAMPLE_CGROUP) += cgroup
|
|
obj-$(CONFIG_SAMPLE_CONFIGFS) += configfs/
|
|
obj-$(CONFIG_SAMPLE_CONNECTOR) += connector/
|
|
obj-$(CONFIG_SAMPLE_FANOTIFY_ERROR) += fanotify/
|
|
subdir-$(CONFIG_SAMPLE_HIDRAW) += hidraw
|
|
obj-$(CONFIG_SAMPLE_HW_BREAKPOINT) += hw_breakpoint/
|
|
obj-$(CONFIG_SAMPLE_KDB) += kdb/
|
|
obj-$(CONFIG_SAMPLE_KFIFO) += kfifo/
|
|
obj-$(CONFIG_SAMPLE_KOBJECT) += kobject/
|
|
obj-$(CONFIG_SAMPLE_KPROBES) += kprobes/
|
|
subdir-$(CONFIG_SAMPLE_LANDLOCK) += landlock
|
|
obj-$(CONFIG_SAMPLE_LIVEPATCH) += livepatch/
|
|
subdir-$(CONFIG_SAMPLE_PIDFD) += pidfd
|
|
obj-$(CONFIG_SAMPLE_QMI_CLIENT) += qmi/
|
|
obj-$(CONFIG_SAMPLE_RPMSG_CLIENT) += rpmsg/
|
|
subdir-$(CONFIG_SAMPLE_SECCOMP) += seccomp
|
|
subdir-$(CONFIG_SAMPLE_TIMER) += timers
|
|
obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace_events/
|
|
obj-$(CONFIG_SAMPLE_TRACE_CUSTOM_EVENTS) += trace_events/
|
|
obj-$(CONFIG_SAMPLE_TRACE_PRINTK) += trace_printk/
|
|
obj-$(CONFIG_SAMPLE_FTRACE_DIRECT) += ftrace/
|
|
obj-$(CONFIG_SAMPLE_FTRACE_DIRECT_MULTI) += ftrace/
|
|
obj-$(CONFIG_SAMPLE_FTRACE_OPS) += ftrace/
|
|
obj-$(CONFIG_SAMPLE_TRACE_ARRAY) += ftrace/
|
|
subdir-$(CONFIG_SAMPLE_UHID) += uhid
|
|
obj-$(CONFIG_VIDEO_PCI_SKELETON) += v4l/
|
|
obj-y += vfio-mdev/
|
|
subdir-$(CONFIG_SAMPLE_VFS) += vfs
|
|
obj-$(CONFIG_SAMPLE_INTEL_MEI) += mei/
|
|
obj-$(CONFIG_SAMPLE_TPS6594_PFSM) += pfsm/
|
|
subdir-$(CONFIG_SAMPLE_WATCHDOG) += watchdog
|
|
subdir-$(CONFIG_SAMPLE_WATCH_QUEUE) += watch_queue
|
|
obj-$(CONFIG_SAMPLE_KMEMLEAK) += kmemleak/
|
|
obj-$(CONFIG_SAMPLE_CORESIGHT_SYSCFG) += coresight/
|
|
obj-$(CONFIG_SAMPLE_FPROBE) += fprobe/
|
|
obj-$(CONFIG_SAMPLES_RUST) += rust/
|
|
obj-$(CONFIG_SAMPLE_DAMON_WSSE) += damon/
|
|
obj-$(CONFIG_SAMPLE_DAMON_PRCL) += damon/
|