diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-08-30 10:52:02 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-08-30 10:52:02 -0600 |
commit | 1802656ef8906cc949f58b64cb6d8d400326e163 (patch) | |
tree | 3224f34b16f7ef9a34507daa8d62adc122e1a4d9 /init | |
parent | ae98dbf43d755b4e111fcd086e53939bef3e9a1a (diff) | |
download | lwn-1802656ef8906cc949f58b64cb6d8d400326e163.tar.gz lwn-1802656ef8906cc949f58b64cb6d8d400326e163.zip |
io_uring: add GCOV_PROFILE_URING Kconfig option
If GCOV is enabled and this option is set, it enables code coverage
profiling of the io_uring subsystem. Only use this for test purposes,
as it will impact the runtime performance.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 5783a0b87517..3b6ca7cce03b 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1687,6 +1687,19 @@ config IO_URING applications to submit and complete IO through submission and completion rings that are shared between the kernel and application. +config GCOV_PROFILE_URING + bool "Enable GCOV profiling on the io_uring subsystem" + depends on GCOV_KERNEL + help + Enable GCOV profiling on the io_uring subsystem, to facilitate + code coverage testing. + + If unsure, say N. + + Note that this will have a negative impact on the performance of + the io_uring subsystem, hence this should only be enabled for + specific test purposes. + config ADVISE_SYSCALLS bool "Enable madvise/fadvise syscalls" if EXPERT default y |