Messages in this thread | | | Date | Wed, 9 Jan 2008 10:16:42 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] show_task: real_parent |
| |
* Roland McGrath <roland@redhat.com> wrote:
> The show_task function invoked by sysrq-t et al displays the pid and > parent's pid of each task. It seems more useful to show the actual > process hierarchy here than who is using ptrace on each process.
> printk(KERN_CONT "%5lu %5d %6d\n", free, > - task_pid_nr(p), task_pid_nr(p->parent)); > + task_pid_nr(p), task_pid_nr(p->real_parent));
thanks, applied.
you must be hacking ptrace/gdb/strace code right now ;-)
Ingo
| |