doc: thread-analyzer: add links to kconfigs and use definition list

This makes the list of Kconfig associated to the thread analyzer feature
more readable and also adds links to the detailed Kconfig documentation.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2024-12-03 15:37:12 +01:00 committed by Benjamin Cabé
commit a68d32f386

View file

@ -67,19 +67,25 @@ Configuration
************* *************
Configure this module using the following options. Configure this module using the following options.
* ``THREAD_ANALYZER``: enable the module. :kconfig:option:`CONFIG_THREAD_ANALYZER`
* ``THREAD_ANALYZER_USE_PRINTK``: use printk for thread statistics. Enable the module.
* ``THREAD_ANALYZER_USE_LOG``: use the logger for thread statistics. :kconfig:option:`CONFIG_THREAD_ANALYZER_USE_PRINTK`
* ``THREAD_ANALYZER_AUTO``: run the thread analyzer automatically. Use printk for thread statistics.
You do not need to add any code to the application when using this option. :kconfig:option:`CONFIG_THREAD_ANALYZER_USE_LOG`
* ``THREAD_ANALYZER_AUTO_INTERVAL``: the time for which the module sleeps Use the logger for thread statistics.
between consecutive printing of thread analysis in automatic mode. :kconfig:option:`CONFIG_THREAD_ANALYZER_AUTO`
* ``THREAD_ANALYZER_AUTO_STACK_SIZE``: the stack for thread analyzer Run the thread analyzer automatically.
automatic thread. You do not need to add any code to the application when using this option.
* ``THREAD_NAME``: enable this option in the kernel to print the name of the :kconfig:option:`CONFIG_THREAD_ANALYZER_AUTO_INTERVAL`
thread instead of its ID. The time for which the module sleeps between consecutive printing of thread analysis in automatic
* ``THREAD_RUNTIME_STATS``: enable this option to print thread runtime data such mode.
as utilization (This options is automatically selected by THREAD_ANALYZER). :kconfig:option:`CONFIG_THREAD_ANALYZER_AUTO_STACK_SIZE`
The stack for thread analyzer automatic thread.
:kconfig:option:`CONFIG_THREAD_NAME`
Print the name of the thread instead of its ID.
:kconfig:option:`CONFIG_THREAD_RUNTIME_STATS`
Print thread runtime data such as utilization.
This options is automatically selected by :kconfig:option:`CONFIG_THREAD_ANALYZER`.
API documentation API documentation
***************** *****************