Rev 1184 | Rev 1210 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1184 | Rev 1196 | ||
---|---|---|---|
Line 416... | Line 416... | ||
416 | node = list_get_instance(cur, btree_node_t, leaf_link); |
416 | node = list_get_instance(cur, btree_node_t, leaf_link); |
417 | for (i = 0; i < node->keys; i++) { |
417 | for (i = 0; i < node->keys; i++) { |
418 | thread_t *t; |
418 | thread_t *t; |
419 | 419 | ||
420 | t = (thread_t *) node->value[i]; |
420 | t = (thread_t *) node->value[i]; |
421 | printf("%s: address=%P, tid=%d, state=%s, task=%P, code=%P, stack=%P, cpu=", |
421 | printf("%s: address=%#zX, tid=%zd, state=%s, task=%#zX, code=%#zX, stack=%#zX, cpu=", |
422 | t->name, t, t->tid, thread_states[t->state], t->task, t->thread_code, t->kstack); |
422 | t->name, t, t->tid, thread_states[t->state], t->task, t->thread_code, t->kstack); |
423 | if (t->cpu) |
423 | if (t->cpu) |
424 | printf("cpu%d ", t->cpu->id); |
424 | printf("cpu%zd ", t->cpu->id); |
425 | else |
425 | else |
426 | printf("none"); |
426 | printf("none"); |
427 | printf("\n"); |
427 | printf("\n"); |
428 | } |
428 | } |
429 | } |
429 | } |