aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/Kconfig
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-10-02 16:44:02 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 16:39:44 -0400
commitbe1a71a128ed91372d4ad8d54d8fd972a1a356eb (patch)
tree9c8ac5551069c0d4352d6cc06e7194acce3aca9d /drivers/net/wireless/iwlwifi/Kconfig
parent4d80d7210bb5a36a18978d1305b44375ecb857d9 (diff)
iwlwifi: device tracing
In order to have an easier way to debug issues, create trace events (using the ftrace framework) that will allow us to follow exactly what the driver is doing with the device. The text format isn't all that useful, but the binary format can also be obtained easily via debugfs and then analysed on the fly or offline with debugging tools. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/Kconfig')
-rw-r--r--drivers/net/wireless/iwlwifi/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/Kconfig b/drivers/net/wireless/iwlwifi/Kconfig
index eb62c20e801..48d8f2cf566 100644
--- a/drivers/net/wireless/iwlwifi/Kconfig
+++ b/drivers/net/wireless/iwlwifi/Kconfig
@@ -49,6 +49,24 @@ config IWLWIFI_DEBUGFS
49 ---help--- 49 ---help---
50 Enable creation of debugfs files for the iwlwifi drivers. 50 Enable creation of debugfs files for the iwlwifi drivers.
51 51
52config IWLWIFI_DEVICE_TRACING
53 bool "iwlwifi device access tracing"
54 depends on IWLWIFI
55 depends on EVENT_TRACING
56 help
57 Say Y here to trace all commands, including TX frames and IO
58 accesses, sent to the device. If you say yes, iwlwifi will
59 register with the ftrace framework for event tracing and dump
60 all this information to the ringbuffer, you may need to
61 increase the ringbuffer size. See the ftrace documentation
62 for more information.
63
64 When tracing is not enabled, this option still has some
65 (though rather small) overhead.
66
67 If unsure, say Y so we can help you better when problems
68 occur.
69
52config IWLAGN 70config IWLAGN
53 tristate "Intel Wireless WiFi Next Gen AGN (iwlagn)" 71 tristate "Intel Wireless WiFi Next Gen AGN (iwlagn)"
54 depends on IWLWIFI 72 depends on IWLWIFI