zephyr/drivers/bluetooth/hci
Andrew Boie efc5fe07a2 kernel: overhaul unused stack measurement
The existing stack_analyze APIs had some problems:

1. Not properly namespaced
2. Accepted the stack object as a parameter, yet the stack object
   does not contain the necessary information to get the associated
   buffer region, the thread object is needed for this
3. Caused a crash on certain platforms that do not allow inspection
   of unused stack space for the currently running thread
4. No user mode access
5. Separately passed in thread name

We deprecate these functions and add a new API
k_thread_stack_space_get() which addresses all of these issues.

A helper API log_stack_usage() also added which resembles
STACK_ANALYZE() in functionality.

Fixes: #17852

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-02-08 10:02:35 +02:00
..
CMakeLists.txt drivers: bluetooth: hci: driver based on RPMsg transport 2019-11-20 19:29:06 +01:00
Kconfig Bluetooth: select BT_RPMSG_NRF53 for non-secure variant of nrf5340 2020-01-10 16:33:00 +01:00
h4.c Bluetooth: Always use full path to hci_driver.h 2020-01-16 19:20:39 -05:00
h5.c kernel: overhaul unused stack measurement 2020-02-08 10:02:35 +02:00
ipm_stm32wb.c Bluetooth: Always use full path to hci_driver.h 2020-01-16 19:20:39 -05:00
rpmsg.c Bluetooth: Always use full path to hci_driver.h 2020-01-16 19:20:39 -05:00
rpmsg_nrf53.c treewide: use full path to ipm.h header 2020-01-26 17:52:12 +01:00
spi.c drivers: bluetooth: hci: replace deprecated gpio_pin callback API 2020-02-05 12:00:36 +01:00
userchan.c Bluetooth: Always use full path to hci_driver.h 2020-01-16 19:20:39 -05:00