Skip to content

mm/damon: add a tracepoint for damos apply target regions

SeongJae Park damon linux-doc linux-mm linux-trace-kernel lkml 3 versions – Applied

Status from this message: [merged mm-stable] docs-admin-guide-mm-damon-usage-document-damos_before_apply-tracepoint.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 1 replyApplied 2/2
  2. v2 posting 1/22 patches 0 repliesSuperseded
  3. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

(https://lore.kernel.org/damon/[email protected]/)
- Get scheme/target indices only when the trace is enabled (Steven Rostedt)

Patches in v2 posting 2/2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm/damon/core: add a tracepoint for damos apply target regionsinclude/trace/events/damon.h mm/damon/core.c+70 -11 replyApplied
2/2Docs/admin-guide/mm/damon/usage: document damos_before_apply tracepointDocumentation/admin-guide/mm/damon/usage.rst+30 -70 repliesApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSteven Rostedt (Google)
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [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/[email protected]/)
- Fix header
- Rebase on latest mm-unstable

From v1
(https://lore.kernel.org/damon/[email protected]/)
- Get scheme/target indices only when the trace is enabled (Steven Rostedt)

From RFC
(https://lore.kernel.org/damon/[email protected]/)
- 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

Signature · 1 line
2.25.1