EPICS Base  7.0.7.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
epicsStackTrace.h
Go to the documentation of this file.
1 /*
2  * Copyright: Stanford University / SLAC National Laboratory.
3  *
4  * SPDX-License-Identifier: EPICS
5  * EPICS BASE is distributed subject to a Software License Agreement found
6  * in file LICENSE that is included with this distribution.
7  *
8  * Author: Till Straumann <[email protected]>, 2011, 2014
9  */
10 
16 #ifndef INC_epicsStackTrace_H
17 #define INC_epicsStackTrace_H
18 
19 #include "libComAPI.h"
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
29 LIBCOM_API void epicsStackTrace(void);
30 
31 /* Inquire about functionality implemented on your system */
32 
34 #define EPICS_STACKTRACE_ADDRESSES (1<<0)
35 
37 #define EPICS_STACKTRACE_DYN_SYMBOLS (1<<1)
38 
40 #define EPICS_STACKTRACE_GBL_SYMBOLS (1<<2)
41 
43 #define EPICS_STACKTRACE_LCL_SYMBOLS (1<<3)
44 
53 LIBCOM_API int epicsStackTraceGetFeatures(void);
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif
LIBCOM_API void epicsStackTrace(void)
Dump a stack trace.
LIBCOM_API int epicsStackTraceGetFeatures(void)
Get supported stacktrace features.