File tree Expand file tree Collapse file tree 2 files changed +0
-38
lines changed Expand file tree Collapse file tree 2 files changed +0
-38
lines changed Original file line number Diff line number Diff line change @@ -603,26 +603,6 @@ enum execution_context_types {
603
603
typedef void (* k_thread_user_cb_t )(const struct k_thread * thread ,
604
604
void * user_data );
605
605
606
- /**
607
- * @brief Analyze the main, idle, interrupt and system workqueue call stacks
608
- *
609
- * This routine calls @ref STACK_ANALYZE on the 4 call stacks declared and
610
- * maintained by the kernel. The sizes of those 4 call stacks are defined by:
611
- *
612
- * CONFIG_MAIN_STACK_SIZE
613
- * CONFIG_IDLE_STACK_SIZE
614
- * CONFIG_ISR_STACK_SIZE
615
- * CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE
616
- *
617
- * @note CONFIG_INIT_STACKS and CONFIG_PRINTK must be set for this function to
618
- * produce output.
619
- *
620
- * @return N/A
621
- *
622
- * @deprecated This API is deprecated. Use k_thread_foreach().
623
- */
624
- __deprecated extern void k_call_stacks_analyze (void );
625
-
626
606
/**
627
607
* @brief Iterate over all the threads in the system.
628
608
*
Original file line number Diff line number Diff line change @@ -130,24 +130,6 @@ K_THREAD_STACK_DEFINE(_interrupt_stack3, CONFIG_ISR_STACK_SIZE);
130
130
131
131
extern void idle (void * unused1 , void * unused2 , void * unused3 );
132
132
133
- /* LCOV_EXCL_START */
134
- #if defined(CONFIG_INIT_STACKS ) && defined(CONFIG_PRINTK )
135
- extern K_THREAD_STACK_DEFINE (sys_work_q_stack ,
136
- CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE ) ;
137
-
138
-
139
- void k_call_stacks_analyze (void )
140
- {
141
- printk ("Kernel stacks:\n" );
142
- STACK_ANALYZE ("main " , _main_stack );
143
- STACK_ANALYZE ("idle " , _idle_stack );
144
- STACK_ANALYZE ("interrupt" , _interrupt_stack );
145
- STACK_ANALYZE ("workqueue" , sys_work_q_stack );
146
- }
147
- #else
148
- void k_call_stacks_analyze (void ) { }
149
- #endif
150
- /* LCOV_EXCL_STOP */
151
133
152
134
/**
153
135
*
You can’t perform that action at this time.
0 commit comments