summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_sema_service.h
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 05:23:28 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 05:23:28 -0400
commite5d1b3d6ab61b85b945400fcbd3637052feb2ace (patch)
treea250f2f419ce241d26abb3ae0acc91690bcfd25c /kernel/gsp_sema_service.h
parentc9a7d464617f41c447d9e85082839b5b06e2abbd (diff)
downloadopen-iov-e5d1b3d6ab61b85b945400fcbd3637052feb2ace.tar.gz
open-iov-e5d1b3d6ab61b85b945400fcbd3637052feb2ace.zip
sema-svc: sema_copy_watch (size-keyed src/dst byte audit for the CE data path)
Diffstat (limited to 'kernel/gsp_sema_service.h')
-rw-r--r--kernel/gsp_sema_service.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/gsp_sema_service.h b/kernel/gsp_sema_service.h
index 7eb7382..67d138d 100644
--- a/kernel/gsp_sema_service.h
+++ b/kernel/gsp_sema_service.h
@@ -91,6 +91,12 @@ extern bool gsp_sema_skip_ops;
extern unsigned gsp_sema_ops_log;
/*
+ * Data-path watch: for copies of exactly this many bytes, log the first 8
+ * source/destination bytes before the copy (0 = off).
+ */
+extern unsigned gsp_sema_copy_watch;
+
+/*
* Grace window (ms) an untranslatable GR GPFIFO entry is left pending before
* the pump consumes it as stale. The GR push pages are pinned from guest
* truth a moment after the channels appear; the window lets those pins land