]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - kernel/sched.c
sched: emit thread info flags with stack trace
[~shefty/rdma-dev.git] / kernel / sched.c
index 2a43a581ead32c2ae0396c8f13e3b484a89003c8..5aa63f50c6969b17370843c6e30d79b1e0ea1503 100644 (file)
@@ -6610,8 +6610,9 @@ void sched_show_task(struct task_struct *p)
 #ifdef CONFIG_DEBUG_STACK_USAGE
        free = stack_not_used(p);
 #endif
-       printk(KERN_CONT "%5lu %5d %6d\n", free,
-               task_pid_nr(p), task_pid_nr(p->real_parent));
+       printk(KERN_CONT "%5lu %5d %6d 0x%08lx\n", free,
+               task_pid_nr(p), task_pid_nr(p->real_parent),
+               (unsigned long)task_thread_info(p)->flags);
 
        show_stack(p, NULL);
 }