This is Unofficial EPICS BASE Doxygen Site
epicsStackTrace.h
Go to the documentation of this file.
1 /*
2  * Copyright: Stanford University / SLAC National Laboratory.
3  *
4  * EPICS BASE is distributed subject to a Software License Agreement found
5  * in file LICENSE that is included with this distribution.
6  *
7  * Author: Till Straumann <strauman@slac.stanford.edu>, 2011, 2014
8  */
9 
10 #ifndef INC_epicsStackTrace_H
11 #define INC_epicsStackTrace_H
12 
13 #include "libComAPI.h"
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 /* Dump a stack trace to the errlog */
20 LIBCOM_API void epicsStackTrace(void);
21 
22 /* Inquire about functionality implemented on your system */
23 
24 /* StackTrace provides numerical addresses */
25 #define EPICS_STACKTRACE_ADDRESSES (1<<0)
26 
27 /* StackTrace is able to lookup dynamic symbols */
28 #define EPICS_STACKTRACE_DYN_SYMBOLS (1<<1)
29 
30 /* StackTrace is able to lookup global symbols */
31 #define EPICS_STACKTRACE_GBL_SYMBOLS (1<<2)
32 
33 /* StackTrace is able to lookup local symbols */
34 #define EPICS_STACKTRACE_LCL_SYMBOLS (1<<3)
35 
36 /* returns ORed bitset of supported features */
37 LIBCOM_API int epicsStackTraceGetFeatures(void);
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif
LIBCOM_API int epicsStackTraceGetFeatures(void)
LIBCOM_API void epicsStackTrace(void)