public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Yuriy Coureelo <coureelo@micran.ru>
To: ecos-discuss@sources.redhat.com
Subject: Re[2]: [ECOS] Task switching problem
Date: Mon, 04 Jul 2005 10:22:00 -0000	[thread overview]
Message-ID: <665984288.20050704172147@micran.ru> (raw)
In-Reply-To: <20050701105246.GJ5563@lunn.ch>

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

Dear Sir!

AL> You could try enabling the kernel instramentation.
AL> Andrew

Attached file contains instrumentation info.
I translated every byte from memory dump to textual representation.
Would take a look there and maybe catch something wrong, please.

Sincerely yours
Yuriy Coureelo
------------------------
Engineer
Telecommunication Equipment Division
Micran Company
Tomsk, Russia




[-- Attachment #2: instr.txt --]
[-- Type: text/plain, Size: 9581 bytes --]

Num Thread Time                    Arg1       Arg2

001 01     0x1a66 INTR_RESTORE     0x00000012 0x00000000
002 01     0x1b6e INTR_MASK        0x00000000 0x00000000
003 01     0x1b77 INTR_ACK         0x00000000 0x00000000
004 01     0x1b85 INTR_END         0x00000000 0x00000003
005 01     0x1b8c INTR_POST_DSR    0x00000000 0x00000000
006 01     0x1b94 SCHED_UNLOCK     0x00000001 0x00000000
007 01     0x1ba2 INTR_CALL_DSR    0x00000000 0x00000000
008 01     0x1baf SCHED_LOCK       0x00000002 0x00000000
009 01     0x1bc0 THREAD_WAKE      0x0211dea0 0x0208cfb8
010 01     0x1bc7 SCHED_LOCK       0x00000003 0x00000000
011 01     0x1bd4 SCHED_UNLOCK     0x00000003 0x00000000
012 01     0x1be3 SCHED_UNLOCK     0x00000002 0x00000000
013 01     0x1bee INTR_UNMASK      0x00000000 0x00000000
014 01     0x1bf8 SCHED_RESCHEDULE 0x00000000 0x00000000
015 01     0x1c09 THREAD_SWITCH    0x0208cea4 0x0211dea0
016 01     0x1c2f INTR_MASK        0x00000012 0x00000000
017 01     0x1c38 INTR_ACK         0x00000012 0x00000000
018 01     0x1c47 INTR_END         0x00000012 0x00000003
019 01     0x1c4e INTR_POST_DSR    0x00000012 0x00000000
020 01     0x1c56 SCHED_UNLOCK     0x00000002 0x00000000
021 01     0x1c5e INTR_RESTORE     0x00000012 0x00000000

022 06     0x1c71 SCHED_UNLOCK     0x00000001 0x00000000
023 06     0x1c7f INTR_CALL_DSR    0x00000012 0x00000000
024 06     0x1cab SCHED_LOCK       0x00000002 0x00000000
025 06     0x1cbc THREAD_WAKE      0x020ff280 0x0208cfb8
026 06     0x1cc3 SCHED_LOCK       0x00000003 0x00000000
027 06     0x1cd0 SCHED_UNLOCK     0x00000003 0x00000000
028 06     0x1cdf SCHED_UNLOCK     0x00000002 0x00000000
029 06     0x1ce9 INTR_UNMASK      0x00000012 0x00000000
030 06     0x1cf3 SCHED_RESCHEDULE 0x00000000 0x00000000
031 06     0x1d02 THREAD_SWITCH    0x0211dea0 0x020ff280

032 0e     0x1d1e SCHED_UNLOCK     0x00000001 0x00000000
033 0e     0x1d30 SCHED_LOCK       0x00000001 0x00000000
034 0e     0x1d36 SCHED_UNLOCK     0x00000001 0x00000000
035 0e     0x1d5a SCHED_LOCK       0x00000001 0x00000000
036 0e     0x1d62 SCHED_LOCK       0x00000002 0x00000000
037 0e     0x1d69 SCHED_UNLOCK     0x00000002 0x00000000
038 0e     0x1d75 THREAD_SLEEP     0x020ff280 0x00000000
039 0e     0x1d7c SCHED_LOCK       0x00000002 0x00000000
040 0e     0x1d86 SCHED_UNLOCK     0x00000002 0x00000000
041 0e     0x1d90 SCHED_RESCHEDULE 0x00000001 0x00000000
042 0e     0x1d98 SCHED_RESCHEDULE 0x00000000 0x00000000
043 0e     0x1da9 THREAD_SWITCH    0x020ff280 0x0211dea0

044 06     0x1dd5 INTR_MASK        0x00000012 0x00000000
045 06     0x1dde INTR_ACK         0x00000012 0x00000000
046 06     0x1dec INTR_END         0x00000012 0x00000003
047 06     0x1df3 INTR_POST_DSR    0x00000012 0x00000000
048 06     0x1dfb SCHED_UNLOCK     0x00000001 0x00000000
049 06     0x1e09 INTR_CALL_DSR    0x00000012 0x00000000
050 06     0x1e1f SCHED_LOCK       0x00000002 0x00000000
051 06     0x1e30 THREAD_WAKE      0x020ff280 0x0208cfb8
052 06     0x1e37 SCHED_LOCK       0x00000003 0x00000000
053 06     0x1e44 SCHED_UNLOCK     0x00000003 0x00000000
054 06     0x1e53 SCHED_UNLOCK     0x00000002 0x00000000
055 06     0x1e5d INTR_UNMASK      0x00000012 0x00000000
056 06     0x1e67 SCHED_RESCHEDULE 0x00000000 0x00000000
057 06     0x1e77 THREAD_SWITCH    0x0211dea0 0x020ff280

058 0e     0x1e92 SCHED_UNLOCK     0x00000001 0x00000000
059 0e     0x1ea4 SCHED_LOCK       0x00000001 0x00000000
060 0e     0x1eaa SCHED_UNLOCK     0x00000001 0x00000000
061 0e     0x1ed9 SCHED_LOCK       0x00000001 0x00000000
062 0e     0x1edf ALARM_REM        0x020eb158 0x020f3080
063 0e     0x1ee7 SCHED_UNLOCK     0x00000001 0x00000000
064 0e     0x1ef8 SCHED_LOCK       0x00000001 0x00000000
065 0e     0x1efe SCHED_UNLOCK     0x00000001 0x00000000
066 0e     0x1f4c SCHED_LOCK       0x00000001 0x00000000
067 0e     0x1f54 SCHED_LOCK       0x00000002 0x00000000
068 0e     0x1f5b SCHED_UNLOCK     0x00000002 0x00000000
069 0e     0x1f67 THREAD_SLEEP     0x020ff280 0x00000000
070 0e     0x1f6d SCHED_LOCK       0x00000002 0x00000000
071 0e     0x1f78 SCHED_UNLOCK     0x00000002 0x00000000
072 0e     0x1f82 SCHED_RESCHEDULE 0x00000001 0x00000000
073 0e     0x1f8a SCHED_RESCHEDULE 0x00000000 0x00000000
074 0e     0x1f9b THREAD_SWITCH    0x020ff280 0x0211dea0

075 06     0x1fb3 INTR_RESTORE     0x00000012 0x00000000
076 06     0x1fc2 SCHED_LOCK       0x00000001 0x00000000
077 06     0x1fc8 SCHED_UNLOCK     0x00000001 0x00000000
078 06     0x1feb SCHED_LOCK       0x00000001 0x00000000
079 06     0x1ff1 MUTEX_LOCK       0x0211de80 0x00000000
080 06     0x1ff8 MUTEX_LOCKED     0x0211de80 0x00000000
081 06     0x1ffe SCHED_UNLOCK     0x00000001 0x00000000
082 06     0x2022 SCHED_LOCK       0x00000001 0x00000000
083 06     0x2028 MUTEX_UNLOCK     0x0211de80 0x00000000
084 06     0x2031 SCHED_UNLOCK     0x00000001 0x00000000
085 06     0x2050 SCHED_LOCK       0x00000001 0x00000000
086 06     0x2056 MUTEX_LOCK       0x0211de80 0x00000000
087 06     0x205d MUTEX_LOCKED     0x0211de80 0x00000000
088 06     0x2063 SCHED_UNLOCK     0x00000001 0x00000000
089 06     0x20cd INTR_MASK        0x00000012 0x00000000
090 06     0x20d6 INTR_ACK         0x00000012 0x00000000
091 06     0x20e4 INTR_END         0x00000012 0x00000003
092 06     0x20eb INTR_POST_DSR    0x00000012 0x00000000
093 06     0x20f4 SCHED_UNLOCK     0x00000001 0x00000000
094 06     0x2102 INTR_CALL_DSR    0x00000012 0x00000000
095 06     0x212d SCHED_LOCK       0x00000002 0x00000000
096 06     0x213f THREAD_WAKE      0x020ff280 0x0208cfb8
097 06     0x2145 SCHED_LOCK       0x00000003 0x00000000
098 06     0x2152 SCHED_UNLOCK     0x00000003 0x00000000
099 06     0x2161 SCHED_UNLOCK     0x00000002 0x00000000
100 06     0x216b INTR_UNMASK      0x00000012 0x00000000
101 06     0x2176 SCHED_RESCHEDULE 0x00000000 0x00000000
102 06     0x2185 THREAD_SWITCH    0x0211dea0 0x020ff280

103 0e     0x21a1 SCHED_UNLOCK     0x00000001 0x00000000
104 0e     0x21b2 SCHED_LOCK       0x00000001 0x00000000
105 0e     0x21b8 SCHED_UNLOCK     0x00000001 0x00000000
106 0e     0x21d6 SCHED_LOCK       0x00000001 0x00000000
107 0e     0x21de SCHED_LOCK       0x00000002 0x00000000
108 0e     0x21e4 SCHED_UNLOCK     0x00000002 0x00000000
109 0e     0x2201 INTR_MASK        0x00000012 0x00000000
110 0e     0x220a INTR_ACK         0x00000012 0x00000000
111 0e     0x2218 INTR_END         0x00000012 0x00000003
112 0e     0x221f INTR_POST_DSR    0x00000012 0x00000000
113 0e     0x2228 SCHED_UNLOCK     0x00000002 0x00000000
114 0e     0x222f INTR_RESTORE     0x00000012 0x00000000
115 0e     0x223d THREAD_SLEEP     0x020ff280 0x00000000
116 0e     0x2243 SCHED_LOCK       0x00000002 0x00000000
117 0e     0x224e SCHED_UNLOCK     0x00000002 0x00000000
118 0e     0x2258 SCHED_RESCHEDULE 0x00000001 0x00000000
119 0e     0x2260 SCHED_RESCHEDULE 0x00000000 0x00000000
120 0e     0x2271 THREAD_SWITCH    0x020ff280 0x0211dea0

121 06     0x2293 INTR_CALL_DSR    0x00000012 0x00000000
122 06     0x22a2 SCHED_LOCK       0x00000002 0x00000000
123 06     0x22b4 THREAD_WAKE      0x020ff280 0x0208cfb8
124 06     0x22ba SCHED_LOCK       0x00000003 0x00000000
125 06     0x22c7 SCHED_UNLOCK     0x00000003 0x00000000
126 06     0x22d6 SCHED_UNLOCK     0x00000002 0x00000000
127 06     0x22e0 INTR_UNMASK      0x00000012 0x00000000
128 06     0x22eb SCHED_RESCHEDULE 0x00000000 0x00000000
129 06     0x22fa THREAD_SWITCH    0x0211dea0 0x020ff280

130 0e     0x2316 SCHED_UNLOCK     0x00000001 0x00000000
131 0e     0x2327 SCHED_LOCK       0x00000001 0x00000000
132 0e     0x232d SCHED_UNLOCK     0x00000001 0x00000000
133 0e     0x2344 ALARM_INIT       0x020f3080 0x00000000
134 0e     0x234a ALARM_TRIGGER    0x00000af6 0x00000000
135 0e     0x234f ALARM_INTERVAL   0x00000000 0x00000000
136 0e     0x2358 SCHED_LOCK       0x00000001 0x00000000
137 0e     0x2360 ALARM_ADD        0x020eb158 0x020f3080
138 0e     0x237f SCHED_UNLOCK     0x00000001 0x00000000
139 0e     0x2396 SCHED_LOCK       0x00000001 0x00000000
140 0e     0x239e SCHED_LOCK       0x00000002 0x00000000
141 0e     0x23a4 SCHED_UNLOCK     0x00000002 0x00000000
142 0e     0x23b0 THREAD_SLEEP     0x020ff280 0x00000000
143 0e     0x23b7 SCHED_LOCK       0x00000002 0x00000000
144 0e     0x23c2 SCHED_UNLOCK     0x00000002 0x00000000
145 0e     0x23cc SCHED_RESCHEDULE 0x00000001 0x00000000
146 0e     0x23d4 SCHED_RESCHEDULE 0x00000000 0x00000000
147 0e     0x23e5 THREAD_SWITCH    0x020ff280 0x0211dea0

148 06     0x23fc INTR_RESTORE     0x00000012 0x00000000
149 06     0x24e9 SCHED_LOCK       0x00000001 0x00000000
150 06     0x24ef MUTEX_UNLOCK     0x0211de80 0x00000000
151 06     0x24f8 SCHED_UNLOCK     0x00000001 0x00000000
152 06     0x250c SCHED_LOCK       0x00000001 0x00000000
153 06     0x2514 SCHED_LOCK       0x00000002 0x00000000
154 06     0x251b SCHED_UNLOCK     0x00000002 0x00000000
155 06     0x2527 THREAD_SLEEP     0x0211dea0 0x00000000
156 06     0x252e SCHED_LOCK       0x00000002 0x00000000
157 06     0x2538 SCHED_UNLOCK     0x00000002 0x00000000
158 06     0x2543 SCHED_RESCHEDULE 0x00000001 0x00000000
159 06     0x254a SCHED_RESCHEDULE 0x00000000 0x00000000
160 06     0x2567 THREAD_SWITCH    0x0211dea0 0x0208cea4

161 01     0x257f INTR_RESTORE     0x00000000 0x00000000
162 01     0x2142 INTR_MASK        0x00000000 0x00000000
163 01     0x214c INTR_ACK         0x00000000 0x00000000
164 01     0x215a INTR_END         0x00000000 0x00000003
165 01     0x2161 INTR_POST_DSR    0x00000000 0x00000000
166 01     0x2169 SCHED_UNLOCK     0x00000002 0x00000000
167 01     0x2171 INTR_RESTORE     0x00000000 0x00000000

[-- Attachment #3: Type: text/plain, Size: 148 bytes --]

-- 
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:[~2005-07-04 10:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-01  8:59 Yuriy Coureelo
2005-07-01 10:53 ` Andrew Lunn
2005-07-04 10:22   ` Yuriy Coureelo [this message]
2005-07-04 11:13     ` Andrew Lunn
2005-07-05  3:51       ` Yuriy Coureelo
2005-07-05  7:24         ` Andrew Lunn
2005-07-07  5:33           ` Yuriy Coureelo

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=665984288.20050704172147@micran.ru \
    --to=coureelo@micran.ru \
    --cc=ecos-discuss@sources.redhat.com \
    /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).