struct stack_block *block[BLOCK_FRAME_COUNT];
size_t block_space_used[BLOCK_FRAME_COUNT];
size_t last_alloc_size[BLOCK_FRAME_COUNT];
-#ifdef DEBUG
const char *marker[BLOCK_FRAME_COUNT];
+#ifdef DEBUG
/* Fairly arbitrary profiling data */
unsigned long long alloc_bytes[BLOCK_FRAME_COUNT];
unsigned int alloc_count[BLOCK_FRAME_COUNT];
current_frame_block->block[frame_pos] = current_block;
current_frame_block->block_space_used[frame_pos] = current_block->left;
current_frame_block->last_alloc_size[frame_pos] = 0;
-#ifdef DEBUG
current_frame_block->marker[frame_pos] = marker;
+#ifdef DEBUG
current_frame_block->alloc_bytes[frame_pos] = 0ULL;
current_frame_block->alloc_count[frame_pos] = 0;
-#else
- (void)marker; /* only used for debugging */
#endif
#ifndef STATIC_CHECKER
void t_pop_last_unsafe(void);
/* Usage: T_BEGIN { code } T_END */
-#ifndef DEBUG
#define T_BEGIN \
- STMT_START { data_stack_frame_t _data_stack_cur_id = t_push(NULL);
-#else
-#define T_BEGIN \
- STMT_START { data_stack_frame_t _data_stack_cur_id = t_push(__func__);
-#endif
+ STMT_START { \
+ data_stack_frame_t _data_stack_cur_id = t_push(__func__);
#define T_END \
STMT_START { \
if (unlikely(!t_pop(&_data_stack_cur_id))) \