linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linuxppc-dev list <linuxppc-dev@ozlabs.org>
Subject: Re: [PATCH] powerpc: allow configuring max stack dump depth
Date: Wed, 19 Nov 2008 15:24:13 +1100	[thread overview]
Message-ID: <18723.38125.245930.196074@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <1225534317.3560.8.camel@johannes.berg>

Johannes Berg writes:

> On my screen, when something crashes, I only have space for maybe
> 16 functions of the stack trace before the information above it
> scrolls off the screen. It's easy to hack the kernel to print out
> only that much, but it's harder to remember to do it. This patch
> introduces a config option for it so that I can keep the setting
> in my config.

Could you make it depend on DEBUG_KERNEL or ADVANCED or something?

> +	help
> +	  This option allows you to set the stack depth that the kernel
> +	  prints out in case your display is too small.

The "in case" is a little ambiguous here.  I suggest:

+	  This option allows you to set the maximum depth that the kernel
+	  prints in stack traces.  This can be useful if your display
+	  is too small.

Paul.

  reply	other threads:[~2008-11-19  4:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-01 10:11 [PATCH] powerpc: allow configuring max stack dump depth Johannes Berg
2008-11-19  4:24 ` Paul Mackerras [this message]
2008-11-19 11:48   ` [PATCH v2] " Johannes Berg
2008-11-19 22:10     ` Paul Mackerras
2008-11-20 13:20       ` Johannes Berg
2008-11-20 13:24       ` [PATCH v3] " Johannes Berg

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=18723.38125.245930.196074@cargo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=johannes@sipsolutions.net \
    --cc=linuxppc-dev@ozlabs.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).