36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
|
From 8b3934b12e73e26ce8f44810b3664547106a3f26 Mon Sep 17 00:00:00 2001
|
||
|
From: Geert Uytterhoeven <geert@linux-m68k.org>
|
||
|
Date: Tue, 3 Dec 2024 17:40:10 +0100
|
||
|
Subject: [PATCH 159/213] bcachefs: BCACHEFS_PATH_TRACEPOINTS should depend on
|
||
|
TRACING
|
||
|
Content-Type: text/plain; charset="utf-8"
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
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>
|
||
|
Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
|
||
|
---
|
||
|
fs/bcachefs/Kconfig | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/fs/bcachefs/Kconfig b/fs/bcachefs/Kconfig
|
||
|
index 5bac803ea367..e8549d04dcb8 100644
|
||
|
--- a/fs/bcachefs/Kconfig
|
||
|
+++ b/fs/bcachefs/Kconfig
|
||
|
@@ -89,7 +89,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.
|
||
|
--
|
||
|
2.45.2
|
||
|
|