diff options
author | Zhu Yi <yi.zhu@intel.com> | 2010-02-25 09:15:27 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-11 01:09:38 +0300 |
commit | 34dd5feb8b8b15654714731e1dbb34a6d37fb34e (patch) | |
tree | 00a4a4a9f5e9df26849f6e8b0ed46d353ee072c2 /drivers/net/wireless/iwmc3200wifi/Kconfig | |
parent | 04d1c22761f33ac8f345665e7ef809c875142425 (diff) | |
download | linux-34dd5feb8b8b15654714731e1dbb34a6d37fb34e.tar.xz |
iwmc3200wifi: add ftrace event tracing support
Add event tracer for iwmc3200wifi driver. When enabled, all the
commands and responses between the driver and firmware (also
including Tx/Rx frames) will be recorded in the ftrace ring buffer.
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/Kconfig')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/Kconfig | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/Kconfig b/drivers/net/wireless/iwmc3200wifi/Kconfig index b9d34a766964..03f998d098c5 100644 --- a/drivers/net/wireless/iwmc3200wifi/Kconfig +++ b/drivers/net/wireless/iwmc3200wifi/Kconfig @@ -17,7 +17,7 @@ config IWM config IWM_DEBUG bool "Enable full debugging output in iwmc3200wifi" depends on IWM && DEBUG_FS - ---help--- + help This option will enable debug tracing and setting for iwm You can set the debug level and module through debugfs. By @@ -30,3 +30,10 @@ config IWM_DEBUG Or, if you want the full debug, for all modules: echo 0xff > /sys/kernel/debug/iwm/phyN/debug/level echo 0xff > /sys/kernel/debug/iwm/phyN/debug/modules + +config IWM_TRACING + bool "Enable event tracing for iwmc3200wifi" + depends on IWM && EVENT_TRACING + help + Say Y here to trace all the commands and responses between + the driver and firmware (including TX/RX frames) with ftrace. |