summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobert Femmer <robert@fmmr.tech>2026-06-24 11:01:46 +0200
committerJens Axboe <axboe@kernel.dk>2026-06-30 17:32:26 -0600
commitc905736a46892e4776efc7f50888d67715d6ec08 (patch)
tree976d1632b7b55da057fdfdf21b090983860f755c /include
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
downloadlinux-next-c905736a46892e4776efc7f50888d67715d6ec08.tar.gz
linux-next-c905736a46892e4776efc7f50888d67715d6ec08.zip
io_uring: annotate remote tasks for kcoverage
Fuzzers use coverage information to guide generation of test cases towards new or interesting code paths. Syzkaller, specifically, makes use kcoverage (CONFIG_KCOV). Coverage information is not collected for kernel tasks unless annotated by kcov_remote_start and kcov_remote_stop. This patch annotates io-uring's work queue and sqpoll tasks. Depends-On: 20260430-kcov-refactor-common-handle-v1-1-23a0c7a0ba38@google.com Signed-off-by: Robert Femmer <robert@fmmr.tech> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/io_uring_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/io_uring_types.h b/include/linux/io_uring_types.h
index 87151a5b62c1..a2c623a67a25 100644
--- a/include/linux/io_uring_types.h
+++ b/include/linux/io_uring_types.h
@@ -534,6 +534,8 @@ struct io_ring_ctx {
struct io_mapped_region ring_region;
/* used for optimised request parameter and wait argument passing */
struct io_mapped_region param_region;
+
+ struct kcov_common_handle_id kcov_handle;
};
/*