lkml.org 
[lkml]   [2008]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-01-09 10:21    [W:0.039 / U:3.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site