mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-22 09:45:08 -04:00
Add a python-written DAMON sysfs functionality selftest. It sets DAMON parameters using Python module _damon_sysfs, reads updated kernel internal DAMON status and parameters using a 'drgn' script, namely drgn_dump_damon_status.py, and compare if the resulted DAMON internal status is as expected. The test is very minimum at the moment. Link: https://lkml.kernel.org/r/20250628160428.53115-4-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
24 lines
701 B
Makefile
24 lines
701 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Makefile for damon selftests
|
|
|
|
TEST_GEN_FILES += access_memory access_memory_even
|
|
|
|
TEST_FILES = _damon_sysfs.py
|
|
|
|
# functionality tests
|
|
TEST_PROGS += sysfs.sh
|
|
TEST_PROGS += sysfs.py
|
|
TEST_PROGS += sysfs_update_schemes_tried_regions_wss_estimation.py
|
|
TEST_PROGS += damos_quota.py damos_quota_goal.py damos_apply_interval.py
|
|
TEST_PROGS += damos_tried_regions.py damon_nr_regions.py
|
|
TEST_PROGS += reclaim.sh lru_sort.sh
|
|
|
|
# regression tests (reproducers of previously found bugs)
|
|
TEST_PROGS += sysfs_update_removed_scheme_dir.sh
|
|
TEST_PROGS += sysfs_update_schemes_tried_regions_hang.py
|
|
TEST_PROGS += sysfs_memcg_path_leak.sh
|
|
|
|
EXTRA_CLEAN = __pycache__
|
|
|
|
include ../lib.mk
|