-
- Downloads
A new feature thanks to the fine folks at Switchvox!
If a deadlock is detected, then the typical lock information will be printed along with a backtrace of the stack for the offending threads. Use of this requires compiling with DETECT_DEADLOCKS and having glibc installed. Furthermore, issuing the "core show locks" CLI command will print the normal lock information as well as a backtraces for each lock. This requires that DEBUG_THREADS is enabled and that glibc is installed. All the backtrace features may be disabled by running the configure script with --without-execinfo as an argument git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@118173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- CHANGES 6 additions, 0 deletionsCHANGES
- include/asterisk/lock.h 368 additions, 164 deletionsinclude/asterisk/lock.h
- include/asterisk/logger.h 44 additions, 0 deletionsinclude/asterisk/logger.h
- main/logger.c 51 additions, 14 deletionsmain/logger.c
- main/utils.c 48 additions, 2 deletionsmain/utils.c
- utils/ael_main.c 12 additions, 2 deletionsutils/ael_main.c
- utils/check_expr.c 20 additions, 4 deletionsutils/check_expr.c
- utils/conf2ael.c 12 additions, 2 deletionsutils/conf2ael.c
- utils/hashtest.c 20 additions, 0 deletionsutils/hashtest.c
- utils/hashtest2.c 17 additions, 0 deletionsutils/hashtest2.c
- utils/refcounter.c 19 additions, 0 deletionsutils/refcounter.c
Loading
Please register or sign in to comment