* Added a bit more missing info about user_threads.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34647 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
+18
-15
@@ -336,27 +336,30 @@ static void
|
|||||||
_dump_team_info(struct team* team)
|
_dump_team_info(struct team* team)
|
||||||
{
|
{
|
||||||
kprintf("TEAM: %p\n", team);
|
kprintf("TEAM: %p\n", team);
|
||||||
kprintf("id: %ld (%#lx)\n", team->id, team->id);
|
kprintf("id: %ld (%#lx)\n", team->id, team->id);
|
||||||
kprintf("name: '%s'\n", team->name);
|
kprintf("name: '%s'\n", team->name);
|
||||||
kprintf("args: '%s'\n", team->args);
|
kprintf("args: '%s'\n", team->args);
|
||||||
kprintf("next: %p\n", team->next);
|
kprintf("next: %p\n", team->next);
|
||||||
kprintf("parent: %p", team->parent);
|
kprintf("parent: %p", team->parent);
|
||||||
if (team->parent != NULL) {
|
if (team->parent != NULL) {
|
||||||
kprintf(" (id = %ld)\n", team->parent->id);
|
kprintf(" (id = %ld)\n", team->parent->id);
|
||||||
} else
|
} else
|
||||||
kprintf("\n");
|
kprintf("\n");
|
||||||
|
|
||||||
kprintf("children: %p\n", team->children);
|
kprintf("children: %p\n", team->children);
|
||||||
kprintf("num_threads: %d\n", team->num_threads);
|
kprintf("num_threads: %d\n", team->num_threads);
|
||||||
kprintf("state: %d\n", team->state);
|
kprintf("state: %d\n", team->state);
|
||||||
kprintf("flags: 0x%lx\n", team->flags);
|
kprintf("flags: 0x%lx\n", team->flags);
|
||||||
kprintf("io_context: %p\n", team->io_context);
|
kprintf("io_context: %p\n", team->io_context);
|
||||||
if (team->address_space)
|
if (team->address_space)
|
||||||
kprintf("address_space: %p\n", team->address_space);
|
kprintf("address_space: %p\n", team->address_space);
|
||||||
kprintf("main_thread: %p\n", team->main_thread);
|
kprintf("user data: %p (area %ld)\n", (void*)team->user_data,
|
||||||
kprintf("thread_list: %p\n", team->thread_list);
|
team->user_data_area);
|
||||||
kprintf("group_id: %ld\n", team->group_id);
|
kprintf("free user thread: %p\n", team->free_user_threads);
|
||||||
kprintf("session_id: %ld\n", team->session_id);
|
kprintf("main_thread: %p\n", team->main_thread);
|
||||||
|
kprintf("thread_list: %p\n", team->thread_list);
|
||||||
|
kprintf("group_id: %ld\n", team->group_id);
|
||||||
|
kprintf("session_id: %ld\n", team->session_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1233,6 +1233,7 @@ _dump_thread_info(struct thread *thread, bool shortInfo)
|
|||||||
kprintf("user_stack_area: %ld\n", thread->user_stack_area);
|
kprintf("user_stack_area: %ld\n", thread->user_stack_area);
|
||||||
kprintf("user_stack_base: %p\n", (void *)thread->user_stack_base);
|
kprintf("user_stack_base: %p\n", (void *)thread->user_stack_base);
|
||||||
kprintf("user_local_storage: %p\n", (void *)thread->user_local_storage);
|
kprintf("user_local_storage: %p\n", (void *)thread->user_local_storage);
|
||||||
|
kprintf("user_thread: %p\n", (void *)thread->user_thread);
|
||||||
kprintf("kernel_errno: %#x (%s)\n", thread->kernel_errno,
|
kprintf("kernel_errno: %#x (%s)\n", thread->kernel_errno,
|
||||||
strerror(thread->kernel_errno));
|
strerror(thread->kernel_errno));
|
||||||
kprintf("kernel_time: %Ld\n", thread->kernel_time);
|
kprintf("kernel_time: %Ld\n", thread->kernel_time);
|
||||||
|
|||||||
Reference in New Issue
Block a user