mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
docs(heap_debug): Add missing information
- Place the section on alloc failed hook at a better place - Add reference to the different poisoning configs at the beginning of the heap corruption detectino section - Update the information concerning heap tracing - Update the heap tracing log examples - Fix heap tracing standalone code: - Update the logging format in heap_trace_dump_base - Add freed field in trace stucture to keep this info even when no call stack is available
This commit is contained in:
@@ -122,6 +122,7 @@ static HEAP_IRAM_ATTR __attribute__((noinline)) void *trace_malloc(size_t alignm
|
||||
.address = p,
|
||||
.ccount = ccount,
|
||||
.size = size,
|
||||
.freed = false,
|
||||
};
|
||||
get_call_stack(rec.alloced_by);
|
||||
record_allocation(&rec);
|
||||
|
Reference in New Issue
Block a user