Threads
The Threads window shows information about all threads in the system.
The plugin window can be opened from the View menu / [<application name>] Zephyr / Threads.
Column information
Because the Zephyr kernel has many configuration options, some information is only displayed when the corresponding options are enabled. Refer to the Zephyr documentation for their descriptions. |
Column name |
Description |
Required configuration option |
---|---|---|
Name |
The name of the thread as set by the k_thread_name_set function. |
CONFIG_THREAD_NAME |
State |
The scheduling state of the thread, with the _THREAD_ prefix omitted. For running threads, the CPU they are running on is also displayed. |
none |
Total CPU Cycles |
The total number of CPU cycles given to the thread since its creation. |
CONFIG_SCHED_THREAD_USAGE |
errno |
The thread's errno variable. |
CONFIG_ERRNO without CONFIG_ERRNO_IN_TLS and CONFIG_LIBC_ERRNO |
Entry Function |
The function that was passed as the entry parameter to the k_thread_create function when the thread was created. |
none |
Entry Parameter 1 |
The value that was passed as the p1 parameter to the k_thread_create function when the thread was created. |
none |
Entry Parameter 2 |
The value that was passed as the p2 parameter to the k_thread_create function when the thread was created. |
none |
Entry Parameter 3 |
The value that was passed as the p3 parameter to the k_thread_create function when the thread was created. |
none |