linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Martin J. Bligh" <mbligh@aracnet.com>
To: Ingo Molnar <mingo@elte.hu>, Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] dump_stack() cleanup, BK-curr
Date: Wed, 02 Oct 2002 07:59:44 -0700	[thread overview]
Message-ID: <934212386.1033545583@[10.10.2.3]> (raw)
In-Reply-To: <Pine.LNX.4.44.0210021112020.6201-100000@localhost.localdomain>

>  void dump_stack(void)
>  {
> -	show_stack(0);
> +	unsigned long stack;
> +
> +	show_trace(&stack);
>  }

Doesn't this mean that dump_stack no longer dumps the stack?
(seems somewhat counter-intuitive)

Can't code which only wants a trace just call show_trace instead?

M.


  reply	other threads:[~2002-10-02 14:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-02  9:22 [patch] dump_stack() cleanup, BK-curr Ingo Molnar
2002-10-02 14:59 ` Martin J. Bligh [this message]
2002-10-02 16:35 ` Daniel Phillips
2002-10-03  8:31   ` [OT] backtrace Padraig Brady
2002-10-03  9:38     ` Keith Owens
2002-10-03 10:03       ` Mike Galbraith
2002-10-03 13:40         ` Russell King
2002-10-03 15:46       ` David Mosberger-Tang

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='934212386.1033545583@[10.10.2.3]' \
    --to=mbligh@aracnet.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=torvalds@transmeta.com \
    /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).