This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Help in parsing the TRACE


Hi all,
I'm getting the trace and I need help in understanding the threads
states/queue/wait_info/sleep reason/wake reason.

As I understand the queue field is 0x0000 when the thread is in run-able state.

What I fail to understand is the value if the wait_info. Is it an
address of mutex/semaphore?


Scheduler:

Lock:                0
Current Thread:      CLI

Threads:

         Idle Thread pri =  31 state =      R id =   1
                     stack base = 80045668 ptr = 80045c90 size = 00000800
                     sleep reason     NONE wake reason     NONE
                     queue = 00000000      wait info = 00000000

              COM-TX pri =   7 state = S      id =   2
                     stack base = 80039690 ptr = 80039d10 size = 00000800
                     sleep reason     WAIT wake reason     NONE
                     queue = 8004e96c      wait info = 80039dc0

              COM-RX pri =  15 state = S      id =   3
                     stack base = 80039e90 ptr = 8003a618 size = 00000a00
                     sleep reason     WAIT wake reason     NONE
                     queue = 8004b678      wait info = 00000000

                 CLI pri =  20 state =      R id =   4
                     stack base = 8003de90 ptr = 8003e7b8 size = 00000e00
                     sleep reason     NONE wake reason     DONE
                     queue = 00000000      wait info = 00000000

              MODEM1 pri =  11 state = S      id =   5
                     stack base = 8003c890 ptr = 8003d188 size = 00000b00
                     sleep reason     WAIT wake reason     NONE
                     queue = 8004e954      wait info = 00000000

                 RF1 pri =  11 state = S      id =   6
                     stack base = 8003b490 ptr = 8003bb70 size = 00000a00
                     sleep reason     WAIT wake reason     NONE
                     queue = 8004e94c      wait info = 00000000

              MODEM2 pri =  11 state = S      id =   7
                     stack base = 8003d390 ptr = 8003dc88 size = 00000b00
                     sleep reason     WAIT wake reason     NONE
                     queue = 8004e964      wait info = 00000000

                 RF2 pri =  11 state =      R id =   8
                     stack base = 8003be90 ptr = 8003c570 size = 00000a00
                     sleep reason     NONE wake reason     DONE
                     queue = 00000000      wait info = 00000000

                MIRS pri =  11 state = S      id =   9
                     stack base = 8003a890 ptr = 8003b2f0 size = 00000c00
                     sleep reason     WAIT wake reason     NONE
                     queue = 8004e944      wait info = 8003b3a0

                 TCP pri =   7 state = S      id =  10
                     stack base = 8004bbbc ptr = 8004c1f0 size = 00000800
                     sleep reason  TIMEOUT wake reason     NONE
                     queue = 8004bab8      wait info = 00000000

                 ETH pri =   6 state = S      id =  11
                     stack base = 8004c3bc ptr = 8004ca48 size = 00000800
                     sleep reason     WAIT wake reason     NONE
                     queue = 80033910      wait info = 00000000

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]