Reorder Nanos6 subsystems

This commit is contained in:
Rodrigo Arias 2022-08-29 16:25:06 +02:00
parent a1b668a872
commit 4d6e5b58ea

8
pcf.c
View File

@ -179,13 +179,15 @@ struct pcf_value_label kernel_cs_values[] = {
}; };
struct pcf_value_label nanos6_ss_values[] = { struct pcf_value_label nanos6_ss_values[] = {
{ ST_NULL, "NULL" }, { ST_NULL, "No subsystem" },
{ ST_TOO_MANY_TH, "Unknown: multiple threads running" }, { ST_TOO_MANY_TH, "Unknown: multiple threads running" },
{ ST_NANOS6_TASK_RUNNING, "Task: Running" }, { ST_NANOS6_TASK_RUNNING, "Task: Running" },
{ ST_NANOS6_SPAWNING, "Task: Spawning function" },
{ ST_NANOS6_CREATING, "Task: Creating" },
{ ST_NANOS6_SUBMIT, "Task: Submitting" },
{ ST_NANOS6_SCHED_HUNGRY, "Scheduler: Waiting for tasks" }, { ST_NANOS6_SCHED_HUNGRY, "Scheduler: Waiting for tasks" },
{ ST_NANOS6_SCHED_SERVING, "Scheduler: Serving tasks" }, { ST_NANOS6_SCHED_SERVING, "Scheduler: Serving tasks" },
{ ST_NANOS6_SCHED_SUBMITTING, "Scheduler: Adding ready tasks" }, { ST_NANOS6_SCHED_SUBMITTING, "Scheduler: Adding ready tasks" },
{ ST_NANOS6_SPAWNING, "Task: Spawning function" },
{ ST_NANOS6_ATTACHED, "Threading: Attached as external thread" }, { ST_NANOS6_ATTACHED, "Threading: Attached as external thread" },
{ ST_NANOS6_DEP_REG, "Dependency: Registering" }, { ST_NANOS6_DEP_REG, "Dependency: Registering" },
{ ST_NANOS6_DEP_UNREG, "Dependency: Unregistering" }, { ST_NANOS6_DEP_UNREG, "Dependency: Unregistering" },
@ -193,8 +195,6 @@ struct pcf_value_label nanos6_ss_values[] = {
{ ST_NANOS6_BLOCKING, "Blocking: Blocking current task" }, { ST_NANOS6_BLOCKING, "Blocking: Blocking current task" },
{ ST_NANOS6_UNBLOCKING, "Blocking: Unblocking remote task" }, { ST_NANOS6_UNBLOCKING, "Blocking: Unblocking remote task" },
{ ST_NANOS6_WAITFOR, "Blocking: Wait For" }, { ST_NANOS6_WAITFOR, "Blocking: Wait For" },
{ ST_NANOS6_CREATING, "Task: Creating" },
{ ST_NANOS6_SUBMIT, "Task: Submitting" },
{ EV_NANOS6_SCHED_SEND, "EV Scheduler: Send task" }, { EV_NANOS6_SCHED_SEND, "EV Scheduler: Send task" },
{ EV_NANOS6_SCHED_RECV, "EV Scheduler: Recv task" }, { EV_NANOS6_SCHED_RECV, "EV Scheduler: Recv task" },
{ EV_NANOS6_SCHED_SELF, "EV Scheduler: Self-assign task" }, { EV_NANOS6_SCHED_SELF, "EV Scheduler: Self-assign task" },