[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230913022050.2109-1-sj@kernel.org>
Date: Wed, 13 Sep 2023 02:20:48 +0000
From: SeongJae Park <sj@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: SeongJae Park <sj@...nel.org>, Jonathan Corbet <corbet@....net>,
Steven Rostedt <rostedt@...dmis.org>, damon@...ts.linux.dev,
linux-mm@...ck.org, linux-trace-kernel@...r.kernel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH RESEND v2 0/2] mm/damon: add a tracepoint for damos apply target regions
Changlog
--------
>From original v2 post
(https://lore.kernel.org/damon/20230912183559.4733-1-sj@kernel.org/)
- Fix header
- Rebase on latest mm-unstable
>From v1
(https://lore.kernel.org/damon/20230911045908.97649-1-sj@kernel.org/)
- Get scheme/target indices only when the trace is enabled (Steven Rostedt)
>From RFC
(https://lore.kernel.org/damon/20230827004045.49516-1-sj@kernel.org/)
- Fix the 4 byte hole (Steven Rostedt)
- Add documentation
Description
-----------
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 | 39 ++++++++++++++++++++
mm/damon/core.c | 32 +++++++++++++++-
3 files changed, 100 insertions(+), 8 deletions(-)
base-commit: 8abeac23845e94681a163299a52d802b82475761
--
2.25.1
Powered by blists - more mailing lists