[PATCH 5/5] monitor: Sort alphabetically

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jul 23 07:14:54 UTC 2015


---
 cpukit/libmisc/monitor/mon-prmisc.c | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/cpukit/libmisc/monitor/mon-prmisc.c b/cpukit/libmisc/monitor/mon-prmisc.c
index f0d6b00..738014f 100644
--- a/cpukit/libmisc/monitor/mon-prmisc.c
+++ b/cpukit/libmisc/monitor/mon-prmisc.c
@@ -114,31 +114,31 @@ rtems_monitor_dump_priority(rtems_task_priority priority)
 
 
 static const rtems_assoc_t rtems_monitor_state_assoc[] = {
+    { "DELAY",  STATES_DELAYING, 0 },
     { "DORM",   STATES_DORMANT, 0 },
+    { "MIGRA",  STATES_MIGRATING, 0 },
+    { "RESTA",  STATES_RESTARTING, 0 },
     { "SUSP",   STATES_SUSPENDED, 0 },
-    { "DELAY",  STATES_DELAYING, 0 },
-    { "Wtime",  STATES_WAITING_FOR_TIME, 0 },
+    { "Wbar",   STATES_WAITING_FOR_BARRIER, 0 },
     { "Wbuf",   STATES_WAITING_FOR_BUFFER, 0 },
-    { "Wseg",   STATES_WAITING_FOR_SEGMENT, 0 },
-    { "Wmsg" ,  STATES_WAITING_FOR_MESSAGE, 0 },
-    { "Wevnt",  STATES_WAITING_FOR_EVENT, 0 },
-    { "Wsysev", STATES_WAITING_FOR_SYSTEM_EVENT, 0 },
-    { "Wsem",   STATES_WAITING_FOR_SEMAPHORE, 0 },
-    { "Wmutex", STATES_WAITING_FOR_MUTEX, 0 },
     { "Wcvar",  STATES_WAITING_FOR_CONDITION_VARIABLE, 0 },
+    { "Wevnt",  STATES_WAITING_FOR_EVENT, 0 },
+    { "Wisig",  STATES_INTERRUPTIBLE_BY_SIGNAL, 0 },
     { "Wjatx",  STATES_WAITING_FOR_JOIN_AT_EXIT, 0 },
     { "Wjoin",  STATES_WAITING_FOR_JOIN, 0 },
-    { "Wrpc",   STATES_WAITING_FOR_RPC_REPLY, 0 },
+    { "Wmsg" ,  STATES_WAITING_FOR_MESSAGE, 0 },
+    { "Wmutex", STATES_WAITING_FOR_MUTEX, 0 },
     { "WRATE",  STATES_WAITING_FOR_PERIOD, 0 },
-    { "Wsig",   STATES_WAITING_FOR_SIGNAL, 0 },
-    { "Wbar",   STATES_WAITING_FOR_BARRIER, 0 },
+    { "Wrpc",   STATES_WAITING_FOR_RPC_REPLY, 0 },
     { "Wrwlk",  STATES_WAITING_FOR_RWLOCK, 0 },
-    { "Wisig",  STATES_INTERRUPTIBLE_BY_SIGNAL, 0 },
-    { "Wwkup",  STATES_WAITING_FOR_BSD_WAKEUP, 0 },
+    { "Wseg",   STATES_WAITING_FOR_SEGMENT, 0 },
+    { "Wsem",   STATES_WAITING_FOR_SEMAPHORE, 0 },
+    { "Wsig",   STATES_WAITING_FOR_SIGNAL, 0 },
+    { "Wsysev", STATES_WAITING_FOR_SYSTEM_EVENT, 0 },
     { "Wterm",  STATES_WAITING_FOR_TERMINATION, 0 },
+    { "Wtime",  STATES_WAITING_FOR_TIME, 0 },
+    { "Wwkup",  STATES_WAITING_FOR_BSD_WAKEUP, 0 },
     { "ZOMBI",  STATES_ZOMBIE, 0 },
-    { "MIGRA",  STATES_MIGRATING, 0 },
-    { "RESTA",  STATES_RESTARTING, 0 },
     { 0, 0, 0 },
 };
 
-- 
1.8.4.5




More information about the devel mailing list