summaryrefslogtreecommitdiffstats
path: root/kernel/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/main.c')
-rw-r--r--kernel/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/main.c b/kernel/main.c
index 7fe2d15..d6e6c9d 100644
--- a/kernel/main.c
+++ b/kernel/main.c
@@ -2476,6 +2476,14 @@ module_param_named(sema_copy_pat, gsp_sema_copy_pat, ullong, 0644);
MODULE_PARM_DESC(sema_copy_pat, "8-byte pattern matched in copy src/dst and pushes (default 0)");
/*
+ * Data-path watch: dump the source bytes of copies whose destination falls
+ * in this address's page (up to 32 samples):
+ * echo 0x200000 > .../parameters/sema_copy_dst
+ */
+module_param_named(sema_copy_dst, gsp_sema_copy_dst, ullong, 0644);
+MODULE_PARM_DESC(sema_copy_dst, "Dump source bytes of copies landing in this page (default 0)");
+
+/*
* Grace window (ms) an untranslatable CE entry stays pending before the
* fallback acknowledges its release and consumes it. Its work must run before
* the release the client synchronizes on; the translation usually lands within