[RFC PATCH 21/27] mm/damon/sysfs: add user_report support for report type input

From: SJ Park

Date: Sun Nov 15 2026 - 15:30:46 EST


Extend the mapping list for data attribute report types and user
keywords, for the USER_REPORT report type. Use "user_report" as the
matching user keyword.

Signed-off-by: SJ Park <sj@xxxxxxxxxx>
---
mm/damon/sysfs.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/mm/damon/sysfs.c b/mm/damon/sysfs.c
index 1c171af4590a8..b4d898ec0c9f7 100644
--- a/mm/damon/sysfs.c
+++ b/mm/damon/sysfs.c
@@ -1187,6 +1187,10 @@ struct damon_sysfs_report_type_name {

static const struct damon_sysfs_report_type_name
damon_sysfs_report_type_names[] = {
+ {
+ .type = DAMON_REPORT_TYPE_USER_REPORT,
+ .name = "user_report",
+ },
};

static ssize_t filter_report_type_show(struct kobject *kobj,
--
2.47.3