public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Padraig Brady <padraig.brady@corvil.com>
To: linux-kernel@vger.kernel.org
Subject: [OT] backtrace
Date: Thu, 03 Oct 2002 09:31:06 +0100	[thread overview]
Message-ID: <3D9C004A.3080006@corvil.com> (raw)
In-Reply-To: E17wmTG-0001Zn-00@starship

Daniel Phillips wrote:
> On Wednesday 02 October 2002 11:22, Ingo Molnar wrote:
> 
>>The attached (tested) patch modifies x86's dump_stack() to print out the
>>much friendlier backtrace.
> 
> How about calling it backtrace(), since that's now what it is.

Sorry to go off topic but this tip is just too useful IMHO.
You can do the same in userspace with glibc. Details here:
http://www.iol.ie/~padraiga/backtrace.c

Pádraig.


  reply	other threads:[~2002-10-03  8:26 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
2002-10-02 16:35 ` Daniel Phillips
2002-10-03  8:31   ` Padraig Brady [this message]
2002-10-03  9:38     ` [OT] backtrace 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=3D9C004A.3080006@corvil.com \
    --to=padraig.brady@corvil.com \
    --cc=linux-kernel@vger.kernel.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