#include <StackTrace.h>
Definition at line 24 of file StackTrace.h.
Static Public Member Functions | |
| static void | print_current_trace (bool in_sighandler) |
| Print the current stack trace. | |
| static void | print_trace (void *stack[], size_t count) |
| Print a stack trace to stderr. | |
| static size_t | get_trace (void *stack[], size_t size, u_int sighandler_frame) |
| Get a stack trace (architecture-specific). | |
Static Public Attributes | |
| static const int | MAX_STACK_DEPTH = 100 |
| Maximum levels for a stack trace. | |
| void oasys::StackTrace::print_current_trace | ( | bool | in_sighandler | ) | [static] |
Print the current stack trace.
Definition at line 30 of file StackTrace.cc.
References count, get_trace(), MAX_STACK_DEPTH, and print_trace().
Referenced by oasys::FatalSignals::die(), oasys::FatalSignals::handler(), and oasys::SpinLock::lock().
| void oasys::StackTrace::print_trace | ( | void * | stack[], | |
| size_t | count | |||
| ) | [static] |
Print a stack trace to stderr.
Definition at line 46 of file StackTrace.cc.
References info.
Referenced by print_current_trace().
| size_t oasys::StackTrace::get_trace | ( | void * | stack[], | |
| size_t | size, | |||
| u_int | sighandler_frame | |||
| ) | [static] |
Get a stack trace (architecture-specific).
Definition at line 86 of file StackTrace.cc.
Referenced by print_current_trace().
const int oasys::StackTrace::MAX_STACK_DEPTH = 100 [static] |
Maximum levels for a stack trace.
Definition at line 37 of file StackTrace.h.
Referenced by print_current_trace().
1.5.1