linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Bradley Chapman <kakadu_croc@yahoo.com>
Cc: "Randy.Dunlap" <rddunlap@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: What do frame pointers do?
Date: Mon, 3 Nov 2003 10:04:49 +0000	[thread overview]
Message-ID: <20031103100449.A22719@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20031103092909.4955.qmail@web40907.mail.yahoo.com>; from kakadu_croc@yahoo.com on Mon, Nov 03, 2003 at 01:29:09AM -0800

On Mon, Nov 03, 2003 at 01:29:09AM -0800, Bradley Chapman wrote:
> > Frame pointers enable more deterministic back tracing of the stack,
> > which can be helpful for tracking down bugs.  I build with
> > CONFIG_FRAME_POINTER enabled all of the time.

On ARM, simply scanning the kernel stack for addresses in the kernels
text segment or a module text tends to (or at least used to) return a
large quantity of noise.  This makes reading the backtrace nearly
impossible - not only does it contain real function pointers and
return addresses, but also pointers to literal pools and the like.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

      reply	other threads:[~2003-11-03 10:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-02 17:00 What do frame pointers do? Bradley Chapman
2003-11-03  4:45 ` Randy.Dunlap
2003-11-03  9:29   ` Bradley Chapman
2003-11-03 10:04     ` Russell King [this message]

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=20031103100449.A22719@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=kakadu_croc@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rddunlap@osdl.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).