LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Roland McGrath <roland@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] show_task: real_parent
Date: Wed, 9 Jan 2008 10:16:42 +0100	[thread overview]
Message-ID: <20080109091642.GA20457@elte.hu> (raw)
In-Reply-To: <20080109080323.8FCDC26F9A7@magilla.localdomain>


* 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

  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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20080109091642.GA20457@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roland@redhat.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

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