aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorXin Hao <xhao@linux.alibaba.com>2022-09-07 16:41:16 +0800
committerAndrew Morton <akpm@linux-foundation.org>2022-10-03 14:03:03 -0700
commit61768a1b37c664faf028d925e6b7825768afcc00 (patch)
tree5c01a6aea9dacdd6d4a3b63b9a7793e79245320c /tools/perf/scripts/python
parentmm/damon/core: iterate the regions list from current point in damon_set_regions() (diff)
mm/damon: simplify damon_ctx check in damon_sysfs_before_terminate
In damon_sysfs_before_terminate(), it needs to check whether ctx->ops.id supports 'DAMON_OPS_VADDR' or 'DAMON_OPS_FVADDR', there we can use damon_target_has_pid() instead. Link: https://lkml.kernel.org/r/20220907084116.62053-1-xhao@linux.alibaba.com Signed-off-by: Xin Hao <xhao@linux.alibaba.com> Reviewed-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions