LKML Archive on
help / color / mirror / Atom feed
From: Ingo Molnar <>
To: Roland McGrath <>
Cc: Andrew Morton <>,
	Linus Torvalds <>,
Subject: Re: [PATCH] show_task: real_parent
Date: Wed, 9 Jan 2008 10:16:42 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <20080109080323.8FCDC26F9A7@magilla.localdomain>

* 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.

>  	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 ;-)


  reply	other threads:[~2008-01-09  9:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-09  8:03 [PATCH] show_task: real_parent Roland McGrath
2008-01-09  9:16 ` Ingo Molnar [this message]
2008-01-09 16:03 ` Linus Torvalds
2008-01-09 20:15   ` Roland McGrath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).