zephyr/subsys/bluetooth/controller
Johan Hedberg a7a0d27ae2 Bluetooth: Give proper names to Bluetooth threads
Provide names for all Bluetooth threads so that they don't show up as
"NA" when issuing the "kernel stacks" command in the shell.

To get this info the following Kconfig options need to be enabled:

CONFIG_THREAD_STACK_INFO=y
CONFIG_THREAD_MONITOR=y
CONFIG_KERNEL_SHELL=y
CONFIG_INIT_STACKS=y
CONFIG_THREAD_NAME=y

After issuing the "kernel stacks" command the output should look
something like this:

uart:~$ kernel stacks
0x200011D0 BT RX      (real size 1024): unused 760      usage 264 / 1024 (25 %)
0x20001148 BT RX pri  (real size 448):  unused 280      usage 168 / 448 (37 %)
0x20000654 BT ECC     (real size 1100): unused 168      usage 932 / 1100 (84 %)
0x20000764 BT TX      (real size 640):  unused 280      usage 360 / 640 (56 %)
0x20001ED8 sysworkq   (real size 1024): unused 592      usage 432 / 1024 (42 %)
0x200004C4 shell_uart (real size 2048): unused 904      usage 1144 / 2048 (55 %)
0x20000058 logging    (real size 768):  unused 584      usage 184 / 768 (23 %)
0x20001D84 idle       (real size 256):  unused 184      usage 72 / 256 (28 %)
0x20001E08 main       (real size 1024): unused 768      usage 256 / 1024 (25 %)

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2019-01-15 17:39:54 +01:00
..
crypto Bluetooth: Switch from SYS_LOG to logger-based logging 2018-10-19 14:50:22 +02:00
hal Bluetooth: controller: Prepare to introduce LL split architecture 2019-01-07 13:42:01 +01:00
hci Bluetooth: Give proper names to Bluetooth threads 2019-01-15 17:39:54 +01:00
include Bluetooth: controller: Prepare to introduce LL split architecture 2019-01-07 13:42:01 +01:00
ll_sw Bluetooth: controller: Prepare to introduce LL split architecture 2019-01-07 13:42:01 +01:00
ticker bluetooth: controller: Update ticker_user_op for predictable layout. 2019-01-14 10:12:15 +01:00
util bluetooth: controller: Document mem, memq, util 2019-01-10 18:00:41 +01:00
CMakeLists.txt Bluetooth: controller: Prepare to introduce LL split architecture 2019-01-07 13:42:01 +01:00
Kconfig Bluetooth: controller: Prepare to introduce LL split architecture 2019-01-07 13:42:01 +01:00