show_task: real_parent
authorRoland McGrath <roland@redhat.com>
Wed, 9 Jan 2008 08:03:23 +0000 (00:03 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 Jan 2008 16:03:58 +0000 (08:03 -0800)
commitfcfd50afb6e94c8cf121ca4e7e3e7166bae7c6aa
tree8e772c80e6dfd8fca5c02bc25859eccb7ea79545
parentcdf71a10c7b6432d9b48e292cca2c62a0b9fa6cf
show_task: real_parent

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.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sched.c