aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorSeongJae Park <[email protected]>2022-05-09 18:20:54 -0700
committerAndrew Morton <[email protected]>2022-05-13 07:20:08 -0700
commitabacd635fa7b7a39858bb4182eef33ffa628b12c (patch)
tree9fd0b6ab4c3b9a545a0268c9b9fe18866d63dd84 /tools/perf/scripts/python/event_analyzing_sample.py
parent6e74d2bf5a265113ca54a8323783d2f3fdde96b7 (diff)
mm/damon/core: finish kdamond as soon as any callback returns an error
When 'after_sampling()' or 'after_aggregation()' DAMON callbacks return an error, kdamond continues the remaining loop once. It makes no much sense to run the remaining part while something wrong already happened. The context might be corrupted or having invalid data. This commit therefore makes kdamond skips the remaining works and immediately finish in the cases. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: SeongJae Park <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions