[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251208062943.68824-33-sj@kernel.org>
Date: Sun, 7 Dec 2025 22:29:36 -0800
From: SeongJae Park <sj@...nel.org>
To:
Cc: SeongJae Park <sj@...nel.org>,
"Liam R. Howlett" <Liam.Howlett@...cle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
David Hildenbrand <david@...nel.org>,
Jonathan Corbet <corbet@....net>,
Lorenzo Stoakes <lorenzo.stoakes@...cle.com>,
Michal Hocko <mhocko@...e.com>,
Mike Rapoport <rppt@...nel.org>,
Suren Baghdasaryan <surenb@...gle.com>,
Vlastimil Babka <vbabka@...e.cz>,
damon@...ts.linux.dev,
linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-mm@...ck.org
Subject: [RFC PATCH v3 32/37] Docs/admin-guide/mm/damon/usage: document tids_arr file
Update DAMON usage document for the threads based access sampling
results filtering.
Signed-off-by: SeongJae Park <sj@...nel.org>
---
Documentation/admin-guide/mm/damon/usage.rst | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/admin-guide/mm/damon/usage.rst
index 365a4548a5ba..d22d80710355 100644
--- a/Documentation/admin-guide/mm/damon/usage.rst
+++ b/Documentation/admin-guide/mm/damon/usage.rst
@@ -67,7 +67,7 @@ comma (",").
│ │ │ │ │ │ │ intervals_goal/access_bp,aggrs,min_sample_us,max_sample_us
│ │ │ │ │ │ sample/primitives/page_table,page_faults
│ │ │ │ │ │ sample/filters/nr_filters
- │ │ │ │ │ │ │ 0/type,matching,allow,cpumask
+ │ │ │ │ │ │ │ 0/type,matching,allow,cpumask,tid_arr
│ │ │ │ │ │ nr_regions/min,max
│ │ │ │ │ :ref:`targets <sysfs_targets>`/nr_targets
│ │ │ │ │ │ :ref:`0 <sysfs_target>`/pid_target,obsolete_target
@@ -260,13 +260,14 @@ context, in the order of the directory names. Writing ``0`` to ``nr_filters``
removes the directories.
Under the individual filter directory, five files, ``type``, ``matching``,
-``allow``, and ``cpumask`` exist. The first three files are same to the
-properties of the filter specified on the :ref:`design doc
+``allow``, ``cpumask`` and ``tid_arr`` exist. The first three files are same
+to the properties of the filter specified on the :ref:`design doc
<damon_design_sampling_results_filters>`.
-Users can specify the cpumask of the filter by writing it to ``cpumask``. The
-format for ``cpumask`` input is same to that for other cpumask inputs like that
-for cgroup cpusets.
+Users can specify the cpumask and thread id array of the filter by writing
+those to ``cpumask`` and ``tid_arr``. The format for ``cpumask`` input is same
+to that for other cpumask inputs like that for cgroup cpusets. For
+``tid_arr``, users can write array of the thread ids, separated by a comma.
.. _damon_usage_sysfs_monitoring_intervals_goal:
--
2.47.3
Powered by blists - more mailing lists