mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 04:39:18 +08:00
@@ -47,6 +47,12 @@ rtems_monitor_task_canonical(
|
||||
|
||||
api = rtems_thread->API_Extensions[ THREAD_API_RTEMS ];
|
||||
|
||||
_Thread_Get_name(
|
||||
rtems_thread,
|
||||
canonical_task->name_string,
|
||||
sizeof( canonical_task->name_string )
|
||||
);
|
||||
|
||||
rtems_monitor_task_wait_info( canonical_task, rtems_thread );
|
||||
|
||||
canonical_task->entry = rtems_thread->Start.Entry;
|
||||
@@ -97,7 +103,7 @@ rtems_monitor_task_dump(
|
||||
|
||||
length += rtems_monitor_dump_id(monitor_task->id);
|
||||
length += rtems_monitor_pad(11, length);
|
||||
length += rtems_monitor_dump_name(monitor_task->id);
|
||||
length += fprintf(stdout, "%s", monitor_task->name_string);
|
||||
length += rtems_monitor_pad(21, length);
|
||||
length += rtems_monitor_dump_decimal(monitor_task->cpu);
|
||||
length += rtems_monitor_pad(26, length);
|
||||
|
||||
@@ -95,6 +95,7 @@ typedef struct {
|
||||
rtems_id id;
|
||||
rtems_name name;
|
||||
/* end of common portion */
|
||||
char name_string[10];
|
||||
Thread_Entry_information entry;
|
||||
void *stack;
|
||||
uint32_t stack_size;
|
||||
|
||||
Reference in New Issue
Block a user