Describe the bug
typing cpuuse in console should show rtems names.
Add the following bits to OS_TaskCreate_Impl in rtems
#include <rtems/score/threadimpl.h>
...
ISR_lock_Context lock_context_1;
Thread_Control *the_thread;
...
the_thread = _Thread_Get(impl->id, &lock_context_1 );
_Thread_Set_name(the_thread, task->task_name);
Expected behavior
rtems should register its name, so it shows up when using rtems commands.
Code snips
If applicable, add references to the software.
System observed on:
- Hardware microblaze
- OS: rtems 6
Additional context
Better debug info in rtems
Reporter Info
Nasa
Describe the bug
typing
cpuusein console should show rtems names.Add the following bits to
OS_TaskCreate_Implin rtemsExpected behavior
rtems should register its name, so it shows up when using rtems commands.
Code snips
If applicable, add references to the software.
System observed on:
Additional context
Better debug info in rtems
Reporter Info
Nasa