example(console): print column name for tasks.

This commit is contained in:
Michael (Xiao Xufeng) 2018-02-13 15:54:44 +08:00
parent ca3faa6186
commit 10ab4c085b

View File

@ -94,6 +94,7 @@ static int tasks_info(int argc, char** argv)
ESP_LOGE(__func__, "failed to allocate buffer for vTaskList output");
return 1;
}
fputs("Task Name\tStatus\tPrio\tHWM\tTask Number\n", stdout);
vTaskList(task_list_buffer);
fputs(task_list_buffer, stdout);
free(task_list_buffer);