diff options
Diffstat (limited to 'kernel/main.c')
| -rw-r--r-- | kernel/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/main.c b/kernel/main.c index 52156dc..3a42132 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -2458,6 +2458,14 @@ module_param_named(sema_ops_log, gsp_sema_ops_log, uint, 0644); MODULE_PARM_DESC(sema_ops_log, "Max executed CE ops logged with operands (default 8)"); /* + * Data-path watch: log the first source/destination bytes of every CE copy + * of exactly this size (0 = off), to audit the push-data chain: + * echo 256 > .../parameters/sema_copy_watch + */ +module_param_named(sema_copy_watch, gsp_sema_copy_watch, uint, 0644); +MODULE_PARM_DESC(sema_copy_watch, "Copy size whose first bytes are logged (default 0)"); + +/* * Grace window (ms) an untranslatable GR entry stays pending before the pump * consumes it as stale, so a late push-buffer pin can still make it readable. */ |
