Describe tracing build options for developers
authorJouni Malinen <j@w1.fi>
Sun, 20 Dec 2009 21:41:06 +0000 (23:41 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 20 Dec 2009 21:41:06 +0000 (23:41 +0200)
hostapd/defconfig
wpa_supplicant/defconfig

index 4ba6dc2..9e79fb2 100644 (file)
@@ -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
index 945d7d0..c9720c3 100644 (file)
@@ -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