Re: [PATCH] show_task: real_parent

2008-01-09 Thread Roland McGrath
I agree with your points. I thought about making it display both. But I didn't want to worry about breaking scripts that parse console logs or whatever. Personally I don't think I've ever found the ppid in that display useful in debugging a ptrace issue. I don't have any special opinions about t

Re: [PATCH] show_task: real_parent

2008-01-09 Thread Linus Torvalds
On Wed, 9 Jan 2008, Roland McGrath 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. Hmm. It could go both ways. If the proble

Re: [PATCH] show_task: real_parent

2008-01-09 Thread Ingo Molnar
* Roland McGrath <[EMAIL PROTECTED]> 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",