Rev 1078 | Rev 1115 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1078 | Rev 1086 | ||
---|---|---|---|
Line 157... | Line 157... | ||
157 | spinlock_lock(&tasks_lock); |
157 | spinlock_lock(&tasks_lock); |
158 | 158 | ||
159 | for (cur=tasks_head.next; cur!=&tasks_head; cur=cur->next) { |
159 | for (cur=tasks_head.next; cur!=&tasks_head; cur=cur->next) { |
160 | t = list_get_instance(cur, task_t, tasks_link); |
160 | t = list_get_instance(cur, task_t, tasks_link); |
161 | spinlock_lock(&t->lock); |
161 | spinlock_lock(&t->lock); |
162 | printf("%s: address=%P, taskid=%Q, as=%P, ActiveCalls: %d", |
162 | printf("%s: address=%P, taskid=%Q\n\tas=%P, ActiveCalls: %d", |
163 | t->name, t, t->taskid, t->as, atomic_get(&t->active_calls)); |
163 | t->name, t, t->taskid, t->as, atomic_get(&t->active_calls)); |
164 | for (i=0; i < IPC_MAX_PHONES; i++) { |
164 | for (i=0; i < IPC_MAX_PHONES; i++) { |
165 | if (t->phones[i].callee) |
165 | if (t->phones[i].callee) |
166 | printf(" Ph(%d): %P ", i,t->phones[i].callee); |
166 | printf(" Ph(%d): %P ", i,t->phones[i].callee); |
167 | } |
167 | } |