feat(heap): enable heap tracing for the RISC-V targets

When the frame pointer is enabled, it is possible for RISC-V targets to now
possible to enable and generate heap call traces.
This commit is contained in:
Omar Chebib
2024-09-12 16:24:33 +08:00
parent 980cf269c7
commit 1e0cdcbd13
12 changed files with 54 additions and 55 deletions

View File

@@ -15,10 +15,6 @@
extern "C" {
#endif
#if !defined(CONFIG_HEAP_TRACING) && !defined(HEAP_TRACE_SRCFILE)
#warning "esp_heap_trace.h is included but heap tracing is disabled in menuconfig, functions are no-ops"
#endif
#ifndef CONFIG_HEAP_TRACING_STACK_DEPTH
#define CONFIG_HEAP_TRACING_STACK_DEPTH 0
#endif