mbox series

[0/2] mm/damon: add a tracepoint for damos apply target regions

Message ID 20230911045908.97649-1-sj@kernel.org (mailing list archive)
Headers show
Series mm/damon: add a tracepoint for damos apply target regions | expand

Message

SeongJae Park Sept. 11, 2023, 4:59 a.m. UTC
Changes from RFC
(https://lore.kernel.org/damon/20230827004045.49516-1-sj@kernel.org/)
- Fix the 4 byte hole (Steven Rostedt)
- Add documentation

DAMON provides damon_aggregated tracepoint to let users record full monitoring
results.  Sometimes, users need to record monitoring results of specific
pattern.  DAMOS tried regions directory of DAMON sysfs interface allows it, but
the interface is mainly designed for snapshots and therefore would be
inefficient for such recording.  Implement yet another tracepoint for efficient
support of the usecase.

SeongJae Park (2):
  mm/damon/core: add a tracepoint for damos apply target regions
  Docs/admin-guide/mm/damon/usage: document damos_before_apply
    tracepoint

 Documentation/admin-guide/mm/damon/usage.rst | 37 ++++++++++++++++----
 include/trace/events/damon.h                 | 37 ++++++++++++++++++++
 mm/damon/core.c                              | 27 +++++++++++++-
 3 files changed, 93 insertions(+), 8 deletions(-)


base-commit: b4c5d592acb5a939aa4f6c08543daf6e2b435343