#include "callstack_tracker.h"
#include <basis/functions.h>
#include <malloc.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
|
| | application |
| | Implements an application lock to ensure only one is running at once.
|
| |
◆ CHECK_SPACE_IN_BUFFER
| #define CHECK_SPACE_IN_BUFFER |
( |
|
desired_chunk | ) |
|
Value: \
if (space_used_in_buffer + desired_chunk >= full_size_needed - 4) { \
printf("callstack_tracker::full_trace: failure in size estimation--we would have blown out of the buffer"); \
return to_return; \
} else { \
space_used_in_buffer += desired_chunk; \
}
Definition at line 164 of file callstack_tracker.cpp.