diff options
| author | 2022-09-13 17:44:32 +0000 | |
|---|---|---|
| committer | 2022-10-03 14:03:10 -0700 | |
| commit | cbeaa77b044938cfe91818821ece6b0b1511e967 (patch) | |
| tree | e29224edf924d78632e8af0dc2b081e28825e862 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | mm/damon/core: factor out 'damos_quota' private fileds initialization (diff) | |
mm/damon/core: use a dedicated struct for monitoring attributes
DAMON monitoring attributes are directly defined as fields of 'struct
damon_ctx'. This makes 'struct damon_ctx' a little long and complicated.
This commit defines and uses a struct, 'struct damon_attrs', which is
dedicated for only the monitoring attributes to make the purpose of the
five values clearer and simplify 'struct damon_ctx'.
Link: https://lkml.kernel.org/r/20220913174449.50645-6-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
