public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Elad Yosef <elad.yosef@gmail.com>
To: eCos Discussion <ecos-discuss@ecos.sourceware.org>
Subject: [ECOS] Help in parsing the TRACE
Date: Wed, 20 Feb 2013 14:48:00 -0000	[thread overview]
Message-ID: <CAOFa9c1M-=UTh=fkSqBMW7QXQGbpqemEsZKoMd8Yu3n424Cd-g@mail.gmail.com> (raw)

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

                 reply	other threads:[~2013-02-20 14:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOFa9c1M-=UTh=fkSqBMW7QXQGbpqemEsZKoMd8Yu3n424Cd-g@mail.gmail.com' \
    --to=elad.yosef@gmail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).