aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSeongJae Park <[email protected]>2023-08-02 21:32:18 +0000
committerAndrew Morton <[email protected]>2023-08-21 13:37:34 -0700
commit6ad243b83b5094026fdb3171711ddb25246b3d8a (patch)
tree92fac83fbbb5c6a3b4f47ba8b5d89462c3d18222 /tools/perf/scripts/python/stackcollapse.py
parentb69f92a741405336fb17a8a3d67fc144192fe8e2 (diff)
mm/damon/sysfs: implement a command for updating only schemes tried total bytes
Using tried_regions/total_bytes file, users can efficiently retrieve the total size of memory regions having specific access pattern. However, DAMON sysfs interface in kernel still populates all the infomration on the tried_regions subdirectories. That means the kernel part overhead for the construction of tried regions directories still exists. To remove the overhead, implement yet another command input for 'state' DAMON sysfs file. Writing the input to the file makes DAMON sysfs interface to update only the total_bytes file. 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions