From: Jouni Malinen Date: Sun, 20 Dec 2009 21:41:06 +0000 (+0200) Subject: Describe tracing build options for developers X-Git-Tag: hostap_0_7_1~265 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=libeap.git;a=commitdiff_plain;h=b22b41ee87a4f1dbcdd31afc58d4a403ac725862 Describe tracing build options for developers --- diff --git a/hostapd/defconfig b/hostapd/defconfig index 4ba6dc2..9e79fb2 100644 --- a/hostapd/defconfig +++ b/hostapd/defconfig @@ -153,3 +153,13 @@ CONFIG_IPV6=y # This can be used to reduce binary size at the cost of disabling a debugging # option. #CONFIG_NO_DUMP_STATE=y + +# Enable tracing code for developer debugging +# This tracks use of memory allocations and other registrations and reports +# incorrect use with a backtrace of call (or allocation) location. +#CONFIG_WPA_TRACE=y + +# Use libbfd to get more details for developer debugging +# This enables use of libbfd to get more detailed symbols for the backtraces +# generated by CONFIG_WPA_TRACE=y. +CONFIG_WPA_TRACE_BFD=y diff --git a/wpa_supplicant/defconfig b/wpa_supplicant/defconfig index 945d7d0..c9720c3 100644 --- a/wpa_supplicant/defconfig +++ b/wpa_supplicant/defconfig @@ -382,3 +382,13 @@ CONFIG_PEERKEY=y # Enable mitigation against certain attacks against TKIP by delaying Michael # MIC error reports by a random amount of time between 0 and 60 seconds #CONFIG_DELAYED_MIC_ERROR_REPORT=y + +# Enable tracing code for developer debugging +# This tracks use of memory allocations and other registrations and reports +# incorrect use with a backtrace of call (or allocation) location. +#CONFIG_WPA_TRACE=y + +# Use libbfd to get more details for developer debugging +# This enables use of libbfd to get more detailed symbols for the backtraces +# generated by CONFIG_WPA_TRACE=y. +CONFIG_WPA_TRACE_BFD=y