EPICS Base  7.0.8.1
 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 
31 LIBCOM_API void epicsStackTrace(void);
32 
33 /* Inquire about functionality implemented on your system */
34 
36 #define EPICS_STACKTRACE_ADDRESSES (1<<0)
37 
39 #define EPICS_STACKTRACE_DYN_SYMBOLS (1<<1)
40 
42 #define EPICS_STACKTRACE_GBL_SYMBOLS (1<<2)
43 
45 #define EPICS_STACKTRACE_LCL_SYMBOLS (1<<3)
46 
55 LIBCOM_API int epicsStackTraceGetFeatures(void);
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 
61 #endif
LIBCOM_API void epicsStackTrace(void)
Dump a stack trace.
LIBCOM_API int epicsStackTraceGetFeatures(void)
Get supported stacktrace features.