From: Paul Mundt <lethal@linux-sh.org>
To: "Steven J. Magnani" <steve@digidescorp.com>
Cc: microblaze-uclinux@itee.uq.edu.au, monstr@monstr.eu,
linux-kernel@vger.kernel.org
Subject: Re: [RFC] microblaze: Support FRAME_POINTER for better backtrace
Date: Tue, 2 Mar 2010 08:04:47 +0900 [thread overview]
Message-ID: <20100301230446.GB12088@linux-sh.org> (raw)
In-Reply-To: <1267128809-22749-1-git-send-email-steve@digidescorp.com>
On Thu, Feb 25, 2010 at 02:13:29PM -0600, Steven J. Magnani wrote:
> diff -uprN a/arch/microblaze/Kconfig.debug b/arch/microblaze/Kconfig.debug
> --- a/arch/microblaze/Kconfig.debug 2010-02-25 13:52:30.000000000 -0600
> +++ b/arch/microblaze/Kconfig.debug 2010-02-25 13:52:49.000000000 -0600
> @@ -26,4 +26,11 @@ config DEBUG_BOOTMEM
> depends on DEBUG_KERNEL
> bool "Debug BOOTMEM initialization"
>
> +config FRAME_POINTER
> + bool "Use frame pointers"
> + default n
> + help
> + If you say N here, the resulting kernel will be slightly smaller and
> + faster. However, stack dumps will be much harder to interpret.
> +
> endmenu
This isn't necessary, as it already exists in lib/Kconfig.debug. You can
add your architecture to the list there, or if you want it default
enabled you can also select ARCH_WANT_FRAME_POINTERS.
> diff -uprN a/arch/microblaze/kernel/traps.c b/arch/microblaze/kernel/traps.c
> --- a/arch/microblaze/kernel/traps.c 2010-02-25 13:50:00.000000000 -0600
> +++ b/arch/microblaze/kernel/traps.c 2010-02-25 13:51:11.000000000 -0600
> @@ -8,6 +8,7 @@
> * for more details.
> */
>
> +#include <generated/autoconf.h>
> #include <linux/kernel.h>
> #include <linux/kallsyms.h>
> #include <linux/module.h>
No need for this either, it's pulled in by Kbuild.
prev parent reply other threads:[~2010-03-01 23:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-25 20:13 [RFC] microblaze: Support FRAME_POINTER for better backtrace Steven J. Magnani
2010-02-26 8:06 ` Michal Simek
2010-02-26 16:49 ` Steven J. Magnani
2010-03-01 1:43 ` Paul Mundt
2010-03-01 21:26 ` Steven J. Magnani
2010-03-10 22:51 ` Steven J. Magnani
2010-03-11 0:05 ` Paul Mundt
2010-03-01 23:04 ` Paul Mundt [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=20100301230446.GB12088@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=microblaze-uclinux@itee.uq.edu.au \
--cc=monstr@monstr.eu \
--cc=steve@digidescorp.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