lkml.org 
[lkml]   [2022]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 16/16] lib: create CONFIG_DEBUG_BITMAP parameter
Date
Create CONFIG_DEBUG_BITMAP parameter to let people use
new option. Default is N.

Signed-off-by: Yury Norov <yury.norov@gmail.com>
---
lib/Kconfig.debug | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 2e24db4bff19..cde1b5b7bb9d 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -533,6 +533,13 @@ config DEBUG_FORCE_WEAK_PER_CPU

endmenu # "Compiler options"

+config DEBUG_BITMAP
+ bool "Debug bitmaps"
+ help
+ Say Y here if you want to check bitmap functions parameters at
+ the runtime. Enable CONFIG_DEBUG_BITMAP only for debugging because
+ it may affect performance.
+
menu "Generic Kernel Debugging Instruments"

config MAGIC_SYSRQ
--
2.34.1
\
 
 \ /
  Last update: 2022-07-18 21:31    [W:0.968 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site