summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/Kconfig
diff options
context:
space:
mode:
authorMarcel Holtmann2015-02-14 22:40:06 +0100
committerJohan Hedberg2015-02-15 17:54:13 +0100
commit035a07d5df7003bc6954f0aa42174416b775021c (patch)
tree5ae43717e095a0ff44fcb8eea1164ee22654d8ab /net/bluetooth/Kconfig
parentBluetooth: btusb: Use matching names for Broadcom firmware files (diff)
downloadkernel-qcow2-linux-035a07d5df7003bc6954f0aa42174416b775021c.tar.gz
kernel-qcow2-linux-035a07d5df7003bc6954f0aa42174416b775021c.tar.xz
kernel-qcow2-linux-035a07d5df7003bc6954f0aa42174416b775021c.zip
Bluetooth: Provide option to enable/disable debugfs information
The Bluetooth controllers can export extensive information about internal states via debugfs. This patch provides an option to choose if these information are provided or not. For backwards compatibility with existing kernel configuration, this option defaults to yes. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/Kconfig')
-rw-r--r--net/bluetooth/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig
index 7de74635a110..b8c794b87523 100644
--- a/net/bluetooth/Kconfig
+++ b/net/bluetooth/Kconfig
@@ -91,4 +91,12 @@ config BT_SELFTEST_SMP
Run test cases for SMP cryptographic functionality, including both
legacy SMP as well as the Secure Connections features.
+config BT_DEBUGFS
+ bool "Export Bluetooth internals in debugfs"
+ depends on BT && DEBUG_FS
+ default y
+ help
+ Provide extensive information about internal Bluetooth states
+ in debugfs.
+
source "drivers/bluetooth/Kconfig"