zephyr/subsys
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
..
bluetooth kernel: overhaul unused stack measurement 2020-02-08 10:02:35 +02:00
canbus can: isotp: Add ISO-TP library 2020-02-06 10:16:29 +02:00
console
cpp
debug tracing: cleanup and split segger/rtt configuration options 2020-02-07 15:58:05 -05:00
dfu
disk gpio: rename typedef for devicetree flags 2020-02-05 12:00:36 +01:00
fb
fs
jwt
logging logging: log_backend_adsp: Cleanup logging 2020-02-06 15:39:23 +02:00
mgmt
net net: lwm2m: implement utc_offset and timezone 2020-02-06 10:19:47 +02:00
power
random
settings
shell kernel: overhaul unused stack measurement 2020-02-08 10:02:35 +02:00
stats
storage
testsuite
tracing tracing: usb: Fix build issues. 2020-02-07 20:06:17 -05:00
usb usb: convert VBUS control to new GPIO API 2020-02-05 12:00:36 +01:00
CMakeLists.txt tracing: move tracing under subsys/ 2020-02-07 15:58:05 -05:00
Kconfig tracing: move tracing under subsys/ 2020-02-07 15:58:05 -05:00