Rev 1702 | Rev 1757 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1702 | Rev 1735 | ||
|---|---|---|---|
| Line 534... | Line 534... | ||
| 534 | node = list_get_instance(cur, btree_node_t, leaf_link); |
534 | node = list_get_instance(cur, btree_node_t, leaf_link); |
| 535 | for (i = 0; i < node->keys; i++) { |
535 | for (i = 0; i < node->keys; i++) { |
| 536 | thread_t *t; |
536 | thread_t *t; |
| 537 | 537 | ||
| 538 | t = (thread_t *) node->value[i]; |
538 | t = (thread_t *) node->value[i]; |
| 539 | printf("%s: address=%#zX, tid=%zd, state=%s, task=%#zX, code=%#zX, stack=%#zX, cpu=", |
539 | printf("%s: address=%#zx, tid=%zd, state=%s, task=%#zx, code=%#zx, stack=%#zx, cpu=", |
| 540 | t->name, t, t->tid, thread_states[t->state], t->task, t->thread_code, t->kstack); |
540 | t->name, t, t->tid, thread_states[t->state], t->task, t->thread_code, t->kstack); |
| 541 | if (t->cpu) |
541 | if (t->cpu) |
| 542 | printf("cpu%zd", t->cpu->id); |
542 | printf("cpu%zd", t->cpu->id); |
| 543 | else |
543 | else |
| 544 | printf("none"); |
544 | printf("none"); |
| 545 | if (t->state == Sleeping) { |
545 | if (t->state == Sleeping) { |
| 546 | printf(", kst=%#zX", t->kstack); |
546 | printf(", kst=%#zx", t->kstack); |
| 547 | printf(", wq=%#zX", t->sleep_queue); |
547 | printf(", wq=%#zx", t->sleep_queue); |
| 548 | } |
548 | } |
| 549 | printf("\n"); |
549 | printf("\n"); |
| 550 | } |
550 | } |
| 551 | } |
551 | } |
| 552 | 552 | ||