path: root/wpa_supplicant/defconfig
diff options
authorJohannes Berg <johannes.berg@intel.com>2012-03-31 10:55:33 (GMT)
committerJouni Malinen <j@w1.fi>2012-03-31 10:55:33 (GMT)
commit4f68895e923fea3c5aefcca0ae75aa06ac698b9c (patch)
tree58f82cdfe249a20f4bdac38ab2ceefabcc5304b6 /wpa_supplicant/defconfig
parent526ec4aee84ed1ab25930d4445161a02aa5937cb (diff)
debug: Add option to log to Linux tracing
Add the option (-T) to wpa_supplicant to log all debug messages into the kernel tracing, allowing to aggregate kernel debugging with wpa_supplicant debugging and recording all with trace-cmd. Since tracing has relatively low overhead and can be filtered afterwards, record all messages regardless of log level. However, it will honor the -K option and not record key material by default. Signed-hostap: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'wpa_supplicant/defconfig')
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/defconfig b/wpa_supplicant/defconfig
index 480bc64..4aea570 100644
--- a/wpa_supplicant/defconfig
+++ b/wpa_supplicant/defconfig
@@ -413,6 +413,12 @@ CONFIG_PEERKEY=y
# Set syslog facility for debug messages
+# Add support for sending all debug messages (regardless of debug verbosity)
+# to the Linux kernel tracing facility. This helps debug the entire stack by
+# making it easy to record everything happening from the driver up into the
+# same file, e.g., using trace-cmd.
# Enable privilege separation (see README 'Privilege separation' for details)