Rev 3983 | Rev 3988 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3983 | Rev 3987 | ||
|---|---|---|---|
| Line 394... | Line 394... | ||
| 394 | uint64_t cycles; |
394 | uint64_t cycles; |
| 395 | char suffix; |
395 | char suffix; |
| 396 | order(task_get_accounting(t), &cycles, &suffix); |
396 | order(task_get_accounting(t), &cycles, &suffix); |
| 397 | 397 | ||
| 398 | #ifdef __32_BITS__ |
398 | #ifdef __32_BITS__ |
| 399 | printf("%-6" PRIu64 " %-10s %-3" PRIu32 " %10p %10p %9" PRIu64 |
399 | printf("%-6" PRIu64 " %-12s %-3" PRIu32 " %10p %10p %9" PRIu64 |
| 400 | "%c %7ld %6ld", t->taskid, t->name, t->context, t, t->as, cycles, |
400 | "%c %7ld %6ld", t->taskid, t->name, t->context, t, t->as, cycles, |
| 401 | suffix, atomic_get(&t->refcount), atomic_get(&t->active_calls)); |
401 | suffix, atomic_get(&t->refcount), atomic_get(&t->active_calls)); |
| 402 | #endif |
402 | #endif |
| 403 | 403 | ||
| 404 | #ifdef __64_BITS__ |
404 | #ifdef __64_BITS__ |
| 405 | printf("%-6" PRIu64 " %-10s %-3" PRIu32 " %18p %18p %9" PRIu64 |
405 | printf("%-6" PRIu64 " %-12s %-3" PRIu32 " %18p %18p %9" PRIu64 |
| 406 | "%c %7ld %6ld", t->taskid, t->name, t->context, t, t->as, cycles, |
406 | "%c %7ld %6ld", t->taskid, t->name, t->context, t, t->as, cycles, |
| 407 | suffix, atomic_get(&t->refcount), atomic_get(&t->active_calls)); |
407 | suffix, atomic_get(&t->refcount), atomic_get(&t->active_calls)); |
| 408 | #endif |
408 | #endif |
| 409 | 409 | ||
| 410 | for (j = 0; j < IPC_MAX_PHONES; j++) { |
410 | for (j = 0; j < IPC_MAX_PHONES; j++) { |
| Line 427... | Line 427... | ||
| 427 | spinlock_lock(&tasks_lock); |
427 | spinlock_lock(&tasks_lock); |
| 428 | 428 | ||
| 429 | #ifdef __32_BITS__ |
429 | #ifdef __32_BITS__ |
| 430 | printf("taskid name ctx address as " |
430 | printf("taskid name ctx address as " |
| 431 | "cycles threads calls callee\n"); |
431 | "cycles threads calls callee\n"); |
| 432 | printf("------ ---------- --- ---------- ---------- " |
432 | printf("------ ------------ --- ---------- ---------- " |
| 433 | "---------- ------- ------ ------>\n"); |
433 | "---------- ------- ------ ------>\n"); |
| 434 | #endif |
434 | #endif |
| 435 | 435 | ||
| 436 | #ifdef __64_BITS__ |
436 | #ifdef __64_BITS__ |
| 437 | printf("taskid name ctx address as " |
437 | printf("taskid name ctx address as " |
| 438 | "cycles threads calls callee\n"); |
438 | "cycles threads calls callee\n"); |
| 439 | printf("------ ---------- --- ------------------ ------------------ " |
439 | printf("------ ------------ --- ------------------ ------------------ " |
| 440 | "---------- ------- ------ ------>\n"); |
440 | "---------- ------- ------ ------>\n"); |
| 441 | #endif |
441 | #endif |
| 442 | 442 | ||
| 443 | avltree_walk(&tasks_tree, task_print_walker, NULL); |
443 | avltree_walk(&tasks_tree, task_print_walker, NULL); |
| 444 | 444 | ||