bcachefs: BCACHEFS_PATH_TRACEPOINTS should depend on TRACING
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 3 Dec 2024 16:40:10 +0000 (17:40 +0100)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:21 +0000 (01:36 -0500)
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 <geert@linux-m68k.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/Kconfig

index ab6c95b895b3359121a5736f0e9ebf28d60f0c97..464b927e4fffd1f2d7cfa10fc2d38a7b649d9e6e 100644 (file)
@@ -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.