mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
selftests/damon/drgn_dump_damon_status: support failed region quota charge ratio
Extend drgn_dump_damon_status.py to dump DAMON internal state for DAMOS action failed regions quota charge ratio, to be able to show if the internal state for the feature is working, with future DAMON selftests. Link: https://lore.kernel.org/20260428013402.115171-11-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Brendan Higgins <brendan.higgins@linux.dev> Cc: David Hildenbrand <david@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Liam R. Howlett <liam@infradead.org> Cc: Lorenzo Stoakes <ljs@kernel.org> Cc: Michal Hocko <mhocko@suse.com> Cc: Mike Rapoport <rppt@kernel.org> Cc: Shuah Khan <shuah@kernel.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
588f08518f
commit
bcd8d68c6b
|
|
@ -112,6 +112,8 @@ def damos_quota_to_dict(quota):
|
|||
['goals', damos_quota_goals_to_list],
|
||||
['goal_tuner', int],
|
||||
['esz', int],
|
||||
['fail_charge_num', int],
|
||||
['fail_charge_denom', int],
|
||||
['weight_sz', int],
|
||||
['weight_nr_accesses', int],
|
||||
['weight_age', int],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user