Searched refs:STACK_DEPTH (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-latest/components/heap/ |
D | heap_trace_standalone.c | 20 #define STACK_DEPTH CONFIG_HEAP_TRACING_STACK_DEPTH macro 332 for (int j = 0; j < STACK_DEPTH && r_cur->alloced_by[j] != 0; j++) { in heap_trace_dump_base() 334 (j < STACK_DEPTH - 1) ? ":" : ""); in heap_trace_dump_base() 337 if (mode != HEAP_TRACE_ALL || STACK_DEPTH == 0 || r_cur->freed_by[0] == NULL) { in heap_trace_dump_base() 343 for (int j = 0; j < STACK_DEPTH; j++) { in heap_trace_dump_base() 345 (j < STACK_DEPTH - 1) ? ":" : "\n"); in heap_trace_dump_base() 446 memcpy(r_found->freed_by, callers, sizeof(void *) * STACK_DEPTH); in record_free() 524 memcpy(r_dest->freed_by, r_src->freed_by, sizeof(void *) * STACK_DEPTH); in record_deep_copy() 525 memcpy(r_dest->alloced_by, r_src->alloced_by, sizeof(void *) * STACK_DEPTH); in record_deep_copy()
|
/hal_espressif-latest/components/heap/include/ |
D | heap_trace.inc | 44 if (STACK_DEPTH == N) { \ 62 bzero(callers, sizeof(void *) * STACK_DEPTH); 75 ESP_STATIC_ASSERT(STACK_DEPTH >= 0 && STACK_DEPTH <= 10, "CONFIG_HEAP_TRACING_STACK_DEPTH must be i… 115 void *callers[STACK_DEPTH]; 127 void *callers[STACK_DEPTH]; 147 memcpy(rec.alloced_by, callers, sizeof(void *) * STACK_DEPTH);
|