File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
stubs/micropython-v1_26_0_preview-docstubs Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 88 "firmware" : " micropython-v1_26_0_preview" ,
99 "nodename" : " micropython" ,
1010 "version" : " v1.26.0-preview" ,
11- "release" : " v1.26.0-preview-38-g6406afb1f " ,
11+ "release" : " v1.26.0-preview-45-gf9a755c91 " ,
1212 "sysname" : " micropython"
1313 },
1414 "stubber" : {
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ def current_tid() -> Incomplete:
3333
3434def thread_analyze () -> Incomplete :
3535 """
36- Runs the Zephyr debug thread analyzer on the current thread and prints stack size statistics in the format:
36+ Runs the Zephyr debug thread analyzer on the current thread on the given cpu
37+ and prints stack size statistics in the format:
3738
3839 "``thread_name``-20s: STACK: unused ``available_stack_space`` usage ``stack_space_used``
3940 / ``stack_size`` (``percent_stack_space_used`` %); CPU: ``cpu_utilization`` %"
@@ -43,6 +44,9 @@ def thread_analyze() -> Incomplete:
4344 This function can only be accessed if ``CONFIG_THREAD_ANALYZER`` is configured for the port in ``zephyr/prj.conf``.
4445 For more information, see documentation for Zephyr `thread analyzer
4546 <https://docs.zephyrproject.org/latest/guides/debug_tools/thread-analyzer.html#thread-analyzer>`_.
47+
48+ Note that the ``cpu`` argument is only used in Zephyr v4.0.0 and
49+ newer and ignored otherwise.
4650 """
4751 ...
4852
You can’t perform that action at this time.
0 commit comments