Documentation: add segger sysview heap trace example

Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
This commit is contained in:
Neo Xu 2024-10-06 18:12:36 +08:00 committed by Xiang Xiao
parent dceb26c7b2
commit f81c8051a3
2 changed files with 12 additions and 1 deletions

View File

@ -17,7 +17,7 @@ Supported Segger drivers:
Segger SystemView Segger SystemView
================= =================
Steps to enable SystemView support: 1. Steps to enable SystemView support:
#. Make sure your architecture supports a high-performance counter. #. Make sure your architecture supports a high-performance counter.
In most cases it will be: In most cases it will be:
@ -62,3 +62,14 @@ Steps to enable SystemView support:
In case SystemView returns buffer overflow errors, you should increase In case SystemView returns buffer overflow errors, you should increase
``CONFIG_NOTE_RTT_BUFFER_SIZE_UP``. ``CONFIG_NOTE_RTT_BUFFER_SIZE_UP``.
2. Use SystemView for heap tracing:
Refer to example configuration at ``stm32f429i-disco/configs/systemview``.
Make sure that ``CONFIG_SCHED_INSTRUMENTATION_HEAP`` is enabled.
Example of screenshot from SystemView:
.. image:: sysview.png
:width: 800px
:align: center

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 KiB