From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14299 invoked by alias); 20 Feb 2013 14:48:49 -0000 Received: (qmail 14276 invoked by uid 22791); 20 Feb 2013 14:48:47 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ob0-f175.google.com (HELO mail-ob0-f175.google.com) (209.85.214.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Feb 2013 14:48:42 +0000 Received: by mail-ob0-f175.google.com with SMTP id uz6so7696938obc.6 for ; Wed, 20 Feb 2013 06:48:42 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.182.3.134 with SMTP id c6mr9452417obc.10.1361371722031; Wed, 20 Feb 2013 06:48:42 -0800 (PST) Received: by 10.76.168.36 with HTTP; Wed, 20 Feb 2013 06:48:41 -0800 (PST) Date: Wed, 20 Feb 2013 14:48:00 -0000 Message-ID: From: Elad Yosef To: eCos Discussion Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Help in parsing the TRACE X-SW-Source: 2013-02/txt/msg00024.txt.bz2 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