[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080109091642.GA20457@elte.hu>
Date: Wed, 9 Jan 2008 10:16:42 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Roland McGrath <roland@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] show_task: real_parent
* Roland McGrath <roland@...hat.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists