epicsStackTrace.h

Functions for printing the stack trace

Defines

EPICS_STACKTRACE_ADDRESSES

Bit mask to check if stack trace provides numerical addresses.

EPICS_STACKTRACE_DYN_SYMBOLS

Bit mask to check if stack trace is able to lookup dynamic symbols.

EPICS_STACKTRACE_GBL_SYMBOLS

Bit mask to check if stack trace is able to lookup global symbols

EPICS_STACKTRACE_LCL_SYMBOLS

Bit mask to check if stack trace is able to lookup local symbols

Functions

void epicsStackTrace(void)

Dump a stack trace.

Dump a stack trace to the errlog.

Since

3.15.0.2 Added

int epicsStackTraceGetFeatures(void)

Get supported stacktrace features.

Returns an ORed bitset of supported features. Use the EPICS_STACKTRACE_ masks to check if a feature is supported.

Returns:

0 if getting the stack trace is unsupported. Otherwise returns an ORed bitset of supported features.