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 /io_uring | |
parent | ae98dbf43d755b4e111fcd086e53939bef3e9a1a (diff) |
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 'io_uring')
-rw-r--r-- | io_uring/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/io_uring/Makefile b/io_uring/Makefile index 61923e11c767..53167bef37d7 100644 --- a/io_uring/Makefile +++ b/io_uring/Makefile @@ -2,6 +2,10 @@ # # Makefile for io_uring +ifdef CONFIG_GCOV_PROFILE_URING +GCOV_PROFILE := y +endif + obj-$(CONFIG_IO_URING) += io_uring.o opdef.o kbuf.o rsrc.o notif.o \ tctx.o filetable.o rw.o net.o poll.o \ eventfd.o uring_cmd.o openclose.o \ |