#include <stdlib.h>
#include "epicsThread.h"
#include "epicsMutex.h"
#include "errlog.h"
#include "epicsStackTracePvt.h"
#include "epicsStackTrace.h"
Go to the source code of this file.
void epicsStackTrace |
( |
void |
| ) |
|
Definition at line 62 of file epicsStackTrace.c.
73 if ( ! (buf = malloc(
sizeof(*buf) *
MAXDEPTH))) {
75 errlogPrintf(
"epicsStackTrace(): not enough memory for backtrace\n");
89 for ( i=0; i<n; i++ ) {
91 dumpInfo(buf[i], &sym);
LIBCOM_API int epicsFindAddr(void *addr, epicsSymbol *sym_p)
LIBCOM_API const char *epicsStdCall epicsThreadGetNameSelf(void)
int epicsStackTraceGetFeatures()
int errlogPrintf(const char *pFormat,...)
LIBCOM_API int epicsBackTrace(void **buf, int buf_sz)
int epicsStackTraceGetFeatures |
( |
void |
| ) |
|
Definition at line 105 of file epicsStackTrace.c.
109 static int initflag = 10;
114 if ( 10 == initflag ) {
#define EPICS_STACKTRACE_ADDRESSES
LIBCOM_API int epicsFindAddrGetFeatures()
LIBCOM_API int epicsBackTrace(void **buf, int buf_sz)