]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
debug: Add option to log to Linux tracing
authorJohannes Berg <johannes.berg@intel.com>
Sat, 31 Mar 2012 10:55:33 +0000 (13:55 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 31 Mar 2012 10:55:33 +0000 (13:55 +0300)
commit4f68895e923fea3c5aefcca0ae75aa06ac698b9c
tree58f82cdfe249a20f4bdac38ab2ceefabcc5304b6
parent526ec4aee84ed1ab25930d4445161a02aa5937cb
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>
src/utils/wpa_debug.c
src/utils/wpa_debug.h
wpa_supplicant/Makefile
wpa_supplicant/defconfig
wpa_supplicant/main.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h