]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/damon/wss_estimation: deduplicate failed samples output
authorSeongJae Park <sj@kernel.org>
Sat, 17 Jan 2026 02:07:28 +0000 (18:07 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 31 Jan 2026 22:22:45 +0000 (14:22 -0800)
commit6f06f86a6f219037a7617e3044e1c2120798320e
treee86943c7c55ece29b66e6a9755aa98c7d6db7ab3
parent57525e596bdbf2cb125df8b45902530f219ba444
selftests/damon/wss_estimation: deduplicate failed samples output

When the test fails, it shows whole sampled working set size measurements.
The purpose is showing the distribution of the measured values, to let
the tester know if it was just intermittent failure.  Multiple same values
on the output are therefore unnecessary.  It was not a big deal since the
test was failing only once in the past.  But the test can now fail
multiple times with increased working set size, until it passes or the
working set size reaches a limit.  Hence the noisy output can be quite
long and annoying.  Print only the deduplicated distribution information.

Link: https://lkml.kernel.org/r/20260117020731.226785-6-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>
tools/testing/selftests/damon/sysfs_update_schemes_tried_regions_wss_estimation.py