|
|
|
@ -209,9 +209,12 @@ int CmdTasks(int argc, char** argv) { |
|
|
|
|
#if (configUSE_TRACE_FACILITY == 0) |
|
|
|
|
std::cout |
|
|
|
|
<< "FreeRTOS is not configured to track task info." << std::endl |
|
|
|
|
<< "Enable CONFIG_FREERTOS_USE_TRACE_FACILITY=y in " << std::endl |
|
|
|
|
<< "sdkconfig.local, and also consider enabling " << std::endl |
|
|
|
|
<< "CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y" << std::endl; |
|
|
|
|
<< "You can enable task tracing via sdkconfig.local, by" << std::endl |
|
|
|
|
<< "setting CONFIG_FREERTOS_USE_TRACE_FACILITY=y. Alternately," << std::endl |
|
|
|
|
<< "use idf.py menuconfig to enable Components / FreeRTOS /" << std::endl |
|
|
|
|
<< "Kernel / configUSE_TRACE_FACILITY to do the same." << std::endl |
|
|
|
|
<< "Also consider 'Enable display of xCoreID in vTaskList'," << std::endl |
|
|
|
|
<< "or CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y" << std::endl; |
|
|
|
|
return 1; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
@ -252,7 +255,9 @@ int CmdTasks(int argc, char** argv) { |
|
|
|
|
<< "statistics, and this means that detailed task" << std::endl |
|
|
|
|
<< "information is not available." << std::endl |
|
|
|
|
<< "Enable CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS" << std::endl |
|
|
|
|
<< "in sdkconfig.local to capture these stats." << std::endl; |
|
|
|
|
<< "in sdkconfig.local to capture these stats, or" << std::endl |
|
|
|
|
<< "via idf.py menuconfig, in Components/FreeRTOS/" << std::endl |
|
|
|
|
<< "Kernel/configGENERATE_RUN_TIME_STATS." << std::endl; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
std::vector<std::pair<uint32_t, std::pmr::string>> info_strings; |
|
|
|
|