esp_backtrace_print_all_tasks() function
Print the backtrace of all tasks
Arguments
depth
The maximum number of stack frames to print (must be > 0)
Return value
- ESP_OK All backtraces successfully printed to completion or to depth limit - ESP_FAIL One or more backtraces are corrupt
Notes
Users must ensure that no tasks are created or deleted while this function is running. This function must be called from a task context.