Go to the source code of this file.
Macros | |
#define | FUNC_ENTRY StackTrace_entry(__func__, __LINE__, TRACE_MINIMUM) |
#define | FUNC_ENTRY_MAX StackTrace_entry(__func__, __LINE__, TRACE_MAXIMUM) |
#define | FUNC_ENTRY_MED StackTrace_entry(__func__, __LINE__, TRACE_MEDIUM) |
#define | FUNC_ENTRY_NOLOG StackTrace_entry(__func__, __LINE__, -1) |
#define | FUNC_EXIT StackTrace_exit(__func__, __LINE__, NULL, TRACE_MINIMUM) |
#define | FUNC_EXIT_MAX StackTrace_exit(__func__, __LINE__, NULL, TRACE_MAXIMUM) |
#define | FUNC_EXIT_MAX_RC(x) StackTrace_exit(__func__, __LINE__, &x, TRACE_MAXIMUM) |
#define | FUNC_EXIT_MED StackTrace_exit(__func__, __LINE__, NULL, TRACE_MEDIUM) |
#define | FUNC_EXIT_MED_RC(x) StackTrace_exit(__func__, __LINE__, &x, TRACE_MEDIUM) |
#define | FUNC_EXIT_NOLOG StackTrace_exit(__func__, __LINE__, NULL, -1) |
#define | FUNC_EXIT_RC(x) StackTrace_exit(__func__, __LINE__, &x, TRACE_MINIMUM) |
Functions | |
void | StackTrace_entry (const char *name, int line, enum LOG_LEVELS trace) |
void | StackTrace_exit (const char *name, int line, void *return_value, enum LOG_LEVELS trace) |
char * | StackTrace_get (thread_id_type, char *buf, int bufsize) |
void | StackTrace_printStack (FILE *dest) |
#define FUNC_ENTRY StackTrace_entry(__func__, __LINE__, TRACE_MINIMUM) |
Definition at line 55 of file StackTrace.h.
#define FUNC_ENTRY_MAX StackTrace_entry(__func__, __LINE__, TRACE_MAXIMUM) |
Definition at line 58 of file StackTrace.h.
#define FUNC_ENTRY_MED StackTrace_entry(__func__, __LINE__, TRACE_MEDIUM) |
Definition at line 57 of file StackTrace.h.
#define FUNC_ENTRY_NOLOG StackTrace_entry(__func__, __LINE__, -1) |
Definition at line 56 of file StackTrace.h.
#define FUNC_EXIT StackTrace_exit(__func__, __LINE__, NULL, TRACE_MINIMUM) |
Definition at line 59 of file StackTrace.h.
#define FUNC_EXIT_MAX StackTrace_exit(__func__, __LINE__, NULL, TRACE_MAXIMUM) |
Definition at line 62 of file StackTrace.h.
#define FUNC_EXIT_MAX_RC | ( | x | ) | StackTrace_exit(__func__, __LINE__, &x, TRACE_MAXIMUM) |
Definition at line 65 of file StackTrace.h.
#define FUNC_EXIT_MED StackTrace_exit(__func__, __LINE__, NULL, TRACE_MEDIUM) |
Definition at line 61 of file StackTrace.h.
#define FUNC_EXIT_MED_RC | ( | x | ) | StackTrace_exit(__func__, __LINE__, &x, TRACE_MEDIUM) |
Definition at line 64 of file StackTrace.h.
#define FUNC_EXIT_NOLOG StackTrace_exit(__func__, __LINE__, NULL, -1) |
Definition at line 60 of file StackTrace.h.
#define FUNC_EXIT_RC | ( | x | ) | StackTrace_exit(__func__, __LINE__, &x, TRACE_MINIMUM) |
Definition at line 63 of file StackTrace.h.
void StackTrace_entry | ( | const char * | name, |
int | line, | ||
enum LOG_LEVELS | trace | ||
) |
Definition at line 106 of file StackTrace.c.
void StackTrace_exit | ( | const char * | name, |
int | line, | ||
void * | return_value, | ||
enum LOG_LEVELS | trace | ||
) |
Definition at line 124 of file StackTrace.c.
char* StackTrace_get | ( | thread_id_type | , |
char * | buf, | ||
int | bufsize | ||
) |
Definition at line 175 of file StackTrace.c.
void StackTrace_printStack | ( | FILE * | dest | ) |
Definition at line 145 of file StackTrace.c.