summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2025-02-26 01:23:31 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-03-06 08:36:16 +0300
commit1c684d77dfbcf926e0dd28f6d260e8fdd8a58e85 (patch)
tree152c61b35a12eabf0d832053bcf7fef8e48c8d38 /tools/perf/scripts/python/task-analyzer.py
parentc29564d8b46f64f5e6e6f1c9c02f7761b7b90963 (diff)
downloadlinux-1c684d77dfbcf926e0dd28f6d260e8fdd8a58e85.tar.xz
selftests/damon/damos_quota: make real expectation of quota exceeds
Patch series "selftests/damon: three fixes for false results". Fix three DAMON selftest bugs that cause two and one false positive failures and successes. This patch (of 3): damos_quota.py assumes the quota will always exceeded. But whether quota will be exceeded or not depend on the monitoring results. Actually the monitored workload has chaning access pattern and hence sometimes the quota may not really be exceeded. As a result, false positive test failures happen. Expect how much time the quota will be exceeded by checking the monitoring results, and use it instead of the naive assumption. Link: https://lkml.kernel.org/r/20250225222333.505646-1-sj@kernel.org Link: https://lkml.kernel.org/r/20250225222333.505646-2-sj@kernel.org Fixes: 51f58c9da14b ("selftests/damon: add a test for DAMOS quota") Signed-off-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>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions