kernel: Deprecate k_call_stacks_analyze() API
Deprecated k_call_stacks_analyze() API as it is only dumping (printing) the statically defined main, idle, work and ISR stacks. Use k_thread_foreach() API which is a generic API to iterate over threads. Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
This commit is contained in:
parent
110b8e42ff
commit
149a3296ab
1 changed files with 3 additions and 1 deletions
|
@ -551,8 +551,10 @@ typedef void (*k_thread_user_cb_t)(const struct k_thread *thread,
|
|||
* produce output.
|
||||
*
|
||||
* @return N/A
|
||||
*
|
||||
* @deprecated This API is deprecated. Use k_thread_foreach().
|
||||
*/
|
||||
extern void k_call_stacks_analyze(void);
|
||||
__deprecated extern void k_call_stacks_analyze(void);
|
||||
|
||||
/**
|
||||
* @brief Iterate over all the threads in the system.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue