From: Ken Chen <kenchen@google.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Steven Rostedt <rostedt@goodmis.org>
Subject: Re: [patch] sched: fix single-depth wchan output
Date: Wed, 5 Nov 2008 22:16:59 -0800 [thread overview]
Message-ID: <b040c32a0811052216i4594a094gdcee3ae280cddec7@mail.gmail.com> (raw)
In-Reply-To: <20081106061125.GA6384@elte.hu>
On Wed, Nov 5, 2008 at 10:11 PM, Ingo Molnar <mingo@elte.hu> wrote:
> hm, this adds overhead - and the thing is that WCHAN is rather
> uninformative to begin with (because it's a single dimension), so we
> should phase it out, not expand it.
>
> How about adding a /proc/<PID>/stacktrace file that gives us the stack
> trace of any task in the system? That would be useful for a number of
> other purposes as well, and about 100 times more useful than wchan.
> (often it would be more useful than sysrq-t dumps)
Sure, my main motivation is to remove frame pointer generation. x86_64
unconditionally adds fp for kernel/sched.c right now. I'm all for
phasing out wchan if people don't think there is value in it.
- Ken
next prev parent reply other threads:[~2008-11-06 6:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-06 5:58 Ken Chen
2008-11-06 6:11 ` Ingo Molnar
2008-11-06 6:16 ` Ken Chen [this message]
2008-11-06 6:30 ` Ingo Molnar
2008-11-06 6:42 ` Ken Chen
2008-11-06 6:59 ` Ingo Molnar
2008-11-06 7:28 ` Ken Chen
2008-11-06 7:44 ` Ingo Molnar
2008-11-06 22:33 ` Andi Kleen
2008-11-06 21:56 ` Matt Mackall
2008-11-06 22:30 ` Chris Friesen
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=b040c32a0811052216i4594a094gdcee3ae280cddec7@mail.gmail.com \
--to=kenchen@google.com \
--cc=a.p.zijlstra@chello.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.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
all inboxes | Powered by JetHome®