diff options
| author | SeongJae Park <[email protected]> | 2022-11-01 22:03:24 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-11-30 15:58:44 -0800 |
| commit | f1d13cacabe140305844879e495ca67837e059cc (patch) | |
| tree | 43c72246d9642131f09f5e7c7b174d9b86116267 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 9277d0367ba18ef4bb98bafb1209e715844cdf7e (diff) | |
mm/damon/sysfs: implement DAMOS tried regions update command
Implement the code for filling the data of 'tried_regions' DAMON sysfs
directory. With this commit, DAMON sysfs interface users can write a
special keyword, 'update_schemes_tried_regions' to the corresponding
'state' file of the kdamond. Then, DAMON sysfs interface will collect the
tried regions information using the 'before_damos_apply()' callback for
one aggregation interval and populate scheme region directories with the
values.
[[email protected]: skip tried regions update if the scheme directory was removed]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: SeongJae Park <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions