Re: [PATCH] show_task: real_parent

From: Ingo Molnar
Date: Wed Jan 09 2008 - 04:17:39 EST



* Roland McGrath <roland@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/