zephyr/drivers
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
..
adc
audio
bluetooth kernel: overhaul unused stack measurement 2020-02-08 10:02:35 +02:00
can
clock_control
console
counter
crypto drivers: crypto: Add STM32 CRYP crypto driver 2020-02-07 10:45:51 -06:00
debug tracing: cleanup and split segger/rtt configuration options 2020-02-07 15:58:05 -05:00
display
dma
eeprom
entropy
espi
ethernet
flash flash: sam: Limit flash driver to SAME70 SoCs 2020-02-06 19:18:51 -05:00
gpio
hwinfo
i2c drivers: i2c_slave: eeprom: fixes incorrect declaration 2020-02-05 18:46:35 -05:00
i2s
ieee802154
interrupt_controller
ipm
kscan
led
led_strip
lora drivers: lora: build with newlib 2020-02-07 16:00:47 -06:00
modem drivers: modem: Fix gpio compile errors with modem shell 2020-02-06 12:33:20 +02:00
net
neural_net
pcie
pinmux
ps2
ptp_clock
pwm
sensor
serial uart_stm32: Fix flow misspelling 2020-02-07 08:08:25 -06:00
spi kconfig: Remove redundant SPI_DW dep on SPI_DW_ACCESS_WORD_ONLY 2020-02-08 09:58:33 +02:00
timer native_posix: timer: Improve arch_busy_wait() doc 2020-02-07 11:48:41 +01:00
usb
video
watchdog
wifi
CMakeLists.txt
Kconfig tracing: cleanup and split segger/rtt configuration options 2020-02-07 15:58:05 -05:00