All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] samples/damon/prcl: add module parameter description for target_pid
@ 2026-07-16  9:14 Enze Li
  2026-07-16 13:54 ` SJ Park
  0 siblings, 1 reply; 4+ messages in thread
From: Enze Li @ 2026-07-16  9:14 UTC (permalink / raw)
  To: sj, damon; +Cc: linux-mm, lienze, enze.li

Document 'target_pid' via MODULE_PARM_DESC so its meaning is visible
through kernel command line usage and sysfs interface.

Signed-off-by: Enze Li <lienze@kylinos.cn>
---
 samples/damon/prcl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/samples/damon/prcl.c b/samples/damon/prcl.c
index 842099bd6228..2592fc53e9d7 100644
--- a/samples/damon/prcl.c
+++ b/samples/damon/prcl.c
@@ -18,6 +18,7 @@
 
 static int target_pid __read_mostly;
 module_param(target_pid, int, 0600);
+MODULE_PARM_DESC(target_pid, "Target PID of monitored process");
 
 static int damon_sample_prcl_enable_store(
 		const char *val, const struct kernel_param *kp);
-- 
2.54.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-07-17 14:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-16  9:14 [PATCH] samples/damon/prcl: add module parameter description for target_pid Enze Li
2026-07-16 13:54 ` SJ Park
2026-07-17  8:46   ` Enze Li
2026-07-17 14:23     ` SJ Park

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.