aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSeongJae Park <[email protected]>2024-08-26 20:03:32 -0700
committerAndrew Morton <[email protected]>2024-09-03 21:15:57 -0700
commite43772dcdf21a8cdf3666ee35b2a7166ad39b255 (patch)
tree9e6b005c8c8e9699a588847439e5b3eae9a2f701 /tools/perf/scripts/python
parent9fcce7e7be38fc1da7673d2d69d72ab5c66d154e (diff)
mm/damon/core-test: fix damon_test_ops_registration() for DAMON_VADDR unset case
DAMON core kunit test can be executed without CONFIG_DAMON_VADDR. In the case, vaddr DAMON ops is not registered. Meanwhile, ops registration kunit test assumes the vaddr ops is registered. Check and handle the case by registrering fake vaddr ops inside the test code. Link: https://lkml.kernel.org/r/[email protected] Fixes: 4f540f5ab4f2 ("mm/damon/core-test: add a kunit test case for ops registration") Signed-off-by: SeongJae Park <[email protected]> Cc: Brendan Higgins <[email protected]> Cc: David Gow <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions