From: Geert Uytterhoeven Date: Tue, 3 Dec 2024 16:40:10 +0000 (+0100) Subject: bcachefs: BCACHEFS_PATH_TRACEPOINTS should depend on TRACING X-Git-Tag: v6.14-rc1~204^2~109 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d36b3e74b65f4ec68a38bdb717d94b32a81a355f;p=thirdparty%2Fkernel%2Flinux.git bcachefs: BCACHEFS_PATH_TRACEPOINTS should depend on TRACING When tracing is disabled, there is no point in asking the user about enabling extra btree_path tracepoints in bcachefs. Fixes: 32ed4a620c5405be ("bcachefs: Btree path tracepoints") Signed-off-by: Geert Uytterhoeven Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/Kconfig b/fs/bcachefs/Kconfig index ab6c95b895b33..464b927e4fffd 100644 --- a/fs/bcachefs/Kconfig +++ b/fs/bcachefs/Kconfig @@ -90,7 +90,7 @@ config BCACHEFS_SIX_OPTIMISTIC_SPIN config BCACHEFS_PATH_TRACEPOINTS bool "Extra btree_path tracepoints" - depends on BCACHEFS_FS + depends on BCACHEFS_FS && TRACING help Enable extra tracepoints for debugging btree_path operations; we don't normally want these enabled because they happen at very high rates.