linux/tools/testing/selftests/damon
Maximilian Heyne 4a475c0a7e selftests/damon: add _damon_sysfs.py to TEST_FILES
When running selftests I encountered the following error message with
some damon tests:

 # Traceback (most recent call last):
 #   File "[...]/damon/./damos_quota.py", line 7, in <module>
 #     import _damon_sysfs
 # ModuleNotFoundError: No module named '_damon_sysfs'

Fix this by adding the _damon_sysfs.py file to TEST_FILES so that it
will be available when running the respective damon selftests.

Link: https://lkml.kernel.org/r/20241127-picks-visitor-7416685b-mheyne@amazon.de
Fixes: 306abb63a8 ("selftests/damon: implement a python module for test-purpose DAMON sysfs controls")
Signed-off-by: Maximilian Heyne <mheyne@amazon.de>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
History 2024-12-05 19:54:44 -08:00
..
.gitignore selftests/damon: add access_memory_even to .gitignore 2024-09-03 21:15:56 -07:00
_chk_dependency.sh selftests/damon/_chk_dependency: get debugfs mount point from /proc/mounts 2024-02-22 10:24:57 -08:00
_damon_sysfs.py _damon_sysfs: implement commit() for online parameters update 2024-07-03 19:30:29 -07:00
_debugfs_common.sh selftests/damon/_debugfs_common: hide expected error message from test_write_result() 2024-11-07 14:38:08 -08:00
access_memory.c selftests/damon/access_memory: use user-defined region size 2024-07-03 19:30:28 -07:00
access_memory_even.c selftests/damon/access_memory_even: remove unused variables 2024-11-05 16:56:30 -08:00
config selftests: damon: add config file 2023-06-19 16:19:11 -07:00
damon_nr_regions.py selftests/damon: add execute permissions to test scripts 2024-09-03 21:15:57 -07:00
damos_apply_interval.py selftests/damon: add execute permissions to test scripts 2024-09-03 21:15:57 -07:00
damos_quota.py selftests/damon: add execute permissions to test scripts 2024-09-03 21:15:57 -07:00
damos_quota_goal.py selftests/damon: add execute permissions to test scripts 2024-09-03 21:15:57 -07:00
damos_tried_regions.py selftests/damon: add execute permissions to test scripts 2024-09-03 21:15:57 -07:00
debugfs_attrs.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
debugfs_duplicate_context_creation.sh selftests/damon/debugfs_duplicate_context_creation: hide errors from expected file write failures 2024-11-07 14:38:08 -08:00
debugfs_empty_targets.sh selftets/damon: prepare for monitor_on file renaming 2024-02-22 10:24:46 -08:00
debugfs_huge_count_read_write.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
debugfs_rm_non_contexts.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
debugfs_schemes.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
debugfs_target_ids.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
debugfs_target_ids_pid_leak.c selftests/damon: add a test for the pid leak of dbgfs_target_ids_write() 2024-02-22 10:24:56 -08:00
debugfs_target_ids_pid_leak.sh selftests/damon: add execute permissions to test scripts 2024-09-03 21:15:57 -07:00
debugfs_target_ids_read_before_terminate_race.c selftests/damon: add a test for a race between target_ids_read() and dbgfs_before_terminate() 2024-02-22 10:24:56 -08:00
debugfs_target_ids_read_before_terminate_race.sh selftests/damon: add execute permissions to test scripts 2024-09-03 21:15:57 -07:00
huge_count_read_write.c selftests/damon/huge_count_read_write: remove unnecessary debugging message 2024-11-07 14:38:08 -08:00
lru_sort.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
Makefile selftests/damon: add _damon_sysfs.py to TEST_FILES 2024-12-05 19:54:44 -08:00
reclaim.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
sysfs.sh selftests/damon: test quota goals directory 2023-12-12 10:57:04 -08:00
sysfs_update_removed_scheme_dir.sh selftests/damon: Add executable permission to test scripts 2023-09-26 19:24:44 -06:00
sysfs_update_schemes_tried_regions_hang.py selftests/damon: add execute permissions to test scripts 2024-09-03 21:15:57 -07:00
sysfs_update_schemes_tried_regions_wss_estimation.py selftests/damon: add execute permissions to test scripts 2024-09-03 21:15:57 -07:00