EPICS Base  7.0.8.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
epicsStackTrace.h File Reference
#include "libComAPI.h"
Include dependency graph for epicsStackTrace.h:

Go to the source code of this file.

Macros

#define EPICS_STACKTRACE_ADDRESSES   (1<<0)
 
#define EPICS_STACKTRACE_DYN_SYMBOLS   (1<<1)
 
#define EPICS_STACKTRACE_GBL_SYMBOLS   (1<<2)
 
#define EPICS_STACKTRACE_LCL_SYMBOLS   (1<<3)
 

Functions

LIBCOM_API void epicsStackTrace (void)
 Dump a stack trace. More...
 
LIBCOM_API int epicsStackTraceGetFeatures (void)
 Get supported stacktrace features. More...
 

Detailed Description

Functions for printing the stack trace

Definition in file epicsStackTrace.h.

Macro Definition Documentation

#define EPICS_STACKTRACE_ADDRESSES   (1<<0)

Bit mask to check if stack trace provides numerical addresses.

Definition at line 36 of file epicsStackTrace.h.

#define EPICS_STACKTRACE_DYN_SYMBOLS   (1<<1)

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

Definition at line 39 of file epicsStackTrace.h.

#define EPICS_STACKTRACE_GBL_SYMBOLS   (1<<2)

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

Definition at line 42 of file epicsStackTrace.h.

#define EPICS_STACKTRACE_LCL_SYMBOLS   (1<<3)

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

Definition at line 45 of file epicsStackTrace.h.

Function Documentation

LIBCOM_API void epicsStackTrace ( void  )

Dump a stack trace to the errlog.

Since
3.15.0.2 Added
LIBCOM_API int epicsStackTraceGetFeatures ( void  )

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.