Skip to content

Commit

Permalink
[Heap Trace Standalone] improve SPI ram support
Browse files Browse the repository at this point in the history
  • Loading branch information
chipweinberger committed Nov 8, 2022
1 parent 4b6d9c8 commit 27677d1
Show file tree
Hide file tree
Showing 4 changed files with 269 additions and 83 deletions.
17 changes: 16 additions & 1 deletion components/app_trace/heap_trace_tohost.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2018-2021 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down Expand Up @@ -69,11 +69,26 @@ esp_err_t heap_trace_get(size_t index, heap_trace_record_t *record)
return ESP_ERR_NOT_SUPPORTED;
}

esp_err_t heap_trace_summary(heap_trace_summary_t *summary)
{
return ESP_ERR_NOT_SUPPORTED;
}

void heap_trace_dump(void)
{
return;
}

void heap_trace_dump_internal_ram_only(void)
{
return;
}

void heap_trace_dump_spi_ram_only(void)
{
return;
}

/* Add a new allocation to the heap trace records */
static IRAM_ATTR void record_allocation(const heap_trace_record_t *record)
{
Expand Down

0 comments on commit 27677d1

Please sign in to comment.