/* SPDX-License-Identifier: GPL-2.0 */ /* * Data Access Monitor Unit Tests * * Author: SeongJae Park <[email protected]> */ #ifdef CONFIG_DAMON_SYSFS_KUNIT_TEST #ifndef _DAMON_SYSFS_TEST_H #define _DAMON_SYSFS_TEST_H #include <kunit/test.h> static unsigned int nr_damon_targets(struct damon_ctx *ctx) { … } static int __damon_sysfs_test_get_any_pid(int min, int max) { … } static void damon_sysfs_test_add_targets(struct kunit *test) { … } static struct kunit_case damon_sysfs_test_cases[] = …; static struct kunit_suite damon_sysfs_test_suite = …; kunit_test_suite(…) …; #endif /* _DAMON_SYSFS_TEST_H */ #endif /* CONFIG_DAMON_SYSFS_KUNIT_TEST */