diff options
author | Jouni Malinen <j@w1.fi> | 2009-12-19 16:40:54 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2009-12-19 16:40:54 (GMT) |
commit | 930f704aacaf90b3f9119099aa1dc22f02818796 (patch) | |
tree | 1d0db2179ba9fbd4e7de16fa92f3990616171b4c /hostapd | |
parent | f5d4a8ead4103da3e499e4236964ac654529f1f2 (diff) | |
download | hostap-930f704aacaf90b3f9119099aa1dc22f02818796.zip hostap-930f704aacaf90b3f9119099aa1dc22f02818796.tar.gz hostap-930f704aacaf90b3f9119099aa1dc22f02818796.tar.bz2 |
Add backtrace support for debugging
WPA_TRACE=y can now be used to enable internal backtrace support that
will provide more details about implementation errors, e.g., when some
resources are not released correctly. In addition, this will print out
a backtrace automatically if SIGSEGV is received.
Diffstat (limited to 'hostapd')
-rw-r--r-- | hostapd/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile index 4155a34..21b4a66 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -48,6 +48,11 @@ OBJS += ../src/drivers/drivers.o OBJS += ../src/drivers/scan_helpers.o CFLAGS += -DHOSTAPD +ifdef CONFIG_WPA_TRACE +CFLAGS += -DWPA_TRACE +OBJS += ../src/utils/trace.o +endif + OBJS += ../src/utils/eloop.o OBJS += ../src/utils/common.o OBJS += ../src/utils/wpa_debug.o |