/hal_espressif-3.6.0/components/heap/include/ |
D | heap_trace.inc | 45 callers[N] = __builtin_return_address(N+STACK_OFFSET); \ 46 if (!esp_ptr_executable(callers[N]) \ 47 || callers[N] == (void*) HEAP_ARCH_INVALID_PC) { \ 48 callers[N] = 0; \ 58 static IRAM_ATTR __attribute__((noinline)) void get_call_stack(void **callers) 60 bzero(callers, sizeof(void *) * STACK_DEPTH); 113 void *callers[STACK_DEPTH]; 114 get_call_stack(callers); 115 record_free(p, callers); 125 void *callers[STACK_DEPTH]; [all …]
|
/hal_espressif-3.6.0/components/app_trace/sys_view/ext/ |
D | heap_trace_module.c | 59 void esp_sysview_heap_trace_alloc(const void *addr, uint32_t size, const void *callers) in esp_sysview_heap_trace_alloc() argument 63 U32 *calls = (U32 *)callers; in esp_sysview_heap_trace_alloc() 77 void esp_sysview_heap_trace_free(const void *addr, const void *callers) in esp_sysview_heap_trace_free() argument 81 U32 *calls = (U32 *)callers; in esp_sysview_heap_trace_free()
|
/hal_espressif-3.6.0/tools/esp_app_trace/espytrace/ |
D | apptrace.py | 666 def callers(self): member in HeapTraceEvent 671 callers = os.linesep 675 callers += '{}'.format(addr2line(self.toolchain, self.elf_path, addr)) 677 callers = '' 681 if len(callers): 682 callers += ':' 683 callers += '0x{:x}'.format(addr) 689 … callers) 693 … self.trace_event.core_id, callers)
|
D | sysview.py | 1217 callers = [] 1219 callers.append('0x{:x}'.format(addr)) 1221 'ts': obj.ts, 'addr': blk_addr, 'size': blk_size, 'callers': callers}
|
/hal_espressif-3.6.0/components/app_trace/include/ |
D | esp_sysview_trace.h | 65 void esp_sysview_heap_trace_alloc(void *addr, uint32_t size, const void *callers); 74 void esp_sysview_heap_trace_free(void *addr, const void *callers);
|
/hal_espressif-3.6.0/components/app_trace/ |
D | heap_trace_tohost.c | 93 static IRAM_ATTR void record_free(void *p, void **callers) in record_free() argument 99 esp_sysview_heap_trace_free(p, callers); in record_free()
|
/hal_espressif-3.6.0/tools/esp_app_trace/test/sysview/ |
D | expected_output | 212 …esp_sysview_heap_trace_alloc(512), plen 16: [addr: 1073450504, size: 64, callers: [1074601571, 107… 218 …esp_sysview_heap_trace_alloc(512), plen 16: [addr: 1073450572, size: 80, callers: [1074298654, 107… 225 …esp_sysview_heap_trace_alloc(512), plen 16: [addr: 1073450656, size: 65, callers: [1074601382, 107… 234 …esp_sysview_heap_trace_alloc(512), plen 16: [addr: 1073434644, size: 80, callers: [1074298654, 107… 252 …esp_sysview_heap_trace_alloc(512), plen 16: [addr: 1073434728, size: 96, callers: [1074601587, 107… 269 … - core[0].esp_sysview_heap_trace_free(513), plen 15: [addr: 1073450504, callers: [1074601600, 107… 288 …esp_sysview_heap_trace_alloc(512), plen 16: [addr: 1073450504, size: 10, callers: [1074601615, 107… 306 …esp_sysview_heap_trace_alloc(512), plen 16: [addr: 1073450520, size: 23, callers: [1074601628, 107… 323 … - core[0].esp_sysview_heap_trace_free(513), plen 15: [addr: 1073450520, callers: [1074601643, 107… 351 …esp_sysview_heap_trace_alloc(512), plen 16: [addr: 1073434828, size: 97, callers: [1074601399, 107… [all …]
|
D | expected_output_mcore | 115 ….esp_sysview_heap_trace_alloc(512), plen 28: [addr: 1073446708, size: 8, callers: [1074609083, 107… 123 …p_sysview_heap_trace_alloc(512), plen 33: [addr: 1073449100, size: 2500, callers: [1074312415, 107… 131 …sp_sysview_heap_trace_alloc(512), plen 33: [addr: 1073446720, size: 356, callers: [1074312429, 107… 145 …sp_sysview_heap_trace_alloc(512), plen 28: [addr: 1073447080, size: 120, callers: [1074307750, 107… 152 …p_sysview_heap_trace_alloc(512), plen 29: [addr: 1073451604, size: 2500, callers: [1074312415, 107… 158 …sp_sysview_heap_trace_alloc(512), plen 29: [addr: 1073447204, size: 356, callers: [1074312429, 107… 170 ….esp_sysview_heap_trace_alloc(512), plen 24: [addr: 1073447564, size: 2, callers: [1074608848, 107… 198 ….esp_sysview_heap_trace_alloc(512), plen 28: [addr: 1073447572, size: 8, callers: [1074609083, 107… 204 …p_sysview_heap_trace_alloc(512), plen 33: [addr: 1073454108, size: 2500, callers: [1074312415, 107… 211 …sp_sysview_heap_trace_alloc(512), plen 33: [addr: 1073447584, size: 356, callers: [1074312429, 107… [all …]
|
/hal_espressif-3.6.0/components/heap/ |
D | heap_trace_standalone.c | 210 static IRAM_ATTR void record_free(void *p, void **callers) in record_free() argument 229 memcpy(buffer[i].freed_by, callers, sizeof(void *) * STACK_DEPTH); in record_free()
|
D | Kconfig | 54 Number of stack frames to save when tracing heap operation callers.
|
/hal_espressif-3.6.0/examples/system/sysview_tracing_heap_log/ |
D | SYSVIEW_FreeRTOS.txt | 106 512 esp_sysview_heap_trace_alloc addr=%p size=%u callers=%x 107 513 esp_sysview_heap_trace_free addr=%p callers=%x
|
/hal_espressif-3.6.0/tools/esp_app_trace/ |
D | SYSVIEW_FreeRTOS.txt | 106 512 esp_sysview_heap_trace_alloc addr=%p size=%u callers=%x 107 513 esp_sysview_heap_trace_free addr=%p callers=%x
|
/hal_espressif-3.6.0/docs/en/api-reference/system/ |
D | heap_debug.rst | 84 - For buffer overflows, `heap tracing`_ in ``HEAP_TRACE_ALL`` mode lets you see which callers are a…
|