Guillaume Souchere
2cf9236f6c
heap trace standalone: Fix initialization of the unused linked list, update tests
...
- Call TAILQ_INSERT_TAIL in linked_list_setup to add unused records from the tail of the list
- Fix test "heap trace leak check" to expect that after a free, the record is zeroed instead of checking that
the whole list of records is moved by one index in the array.
- Use esp_rom_printf() under lock instead of printf() since it does not rely on interrupts.
2023-02-14 09:48:14 +01:00
Chip Weinberger
8b2b430d68
[Heap Trace Standalone] fix terrible Leaks perf on large records by using doubly linked list
2023-01-10 21:01:11 -08:00
Guillaume Souchere
c39a9de344
heap_trace: unify API to pass caps param to heap_trace_dump()
2022-12-27 10:23:30 +01:00
Chip Weinberger
9afc386dd2
[Heap Trace Standalone] improvements to formatting, code, comments
2022-12-08 00:47:02 -08:00
Alexey Gerenkov
335576013e
heap: Separate standalone and common part of tracing module
2019-04-01 15:56:15 +03:00
Angus Gratton
c9cbc6b30c
heap docs: Fix some bad links & errors in the heap docs
...
Also add a note about printf() sometimes causing on-demand allocations.
2018-08-10 15:54:58 +10:00
Angus Gratton
a556e1c782
heap: Add C++ header guards to heap headers
...
Closes https://github.com/espressif/esp-idf/issues/1195
2017-11-22 10:08:50 +11:00
Angus Gratton
72995bfcec
doc: Add docs for heap trace & poisoning
2017-09-07 16:32:05 +10:00
Angus Gratton
1c7b8aa3a5
Heap tracing support
2017-09-07 16:32:05 +10:00