mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] x86_64: add an option to configure oops stack dump
Date: Thu, 21 Oct 2004 08:13:42 -0700	[thread overview]
Message-ID: <4177D226.7020607@osdl.org> (raw)
In-Reply-To: <200410201907.i9KJ7r2s022648@hera.kernel.org>

Linux Kernel Mailing List wrote:
> ChangeSet 1.2016, 2004/10/20 08:11:53-07:00, ak@muc.de
> 
> 	[PATCH] x86_64: add an option to configure oops stack dump
> 	
> 	Add an kstack= option to configure how much stack should be printed on a
> 	oops.
> 	
> 	Signed-off-by: Andi Kleen <ak@suse.de>
> 	Signed-off-by: Andrew Morton <akpm@osdl.org>
> 	Signed-off-by: Linus Torvalds <torvalds@osdl.org>
> 
> 
> 
>  traps.c |    8 ++++++++
>  1 files changed, 8 insertions(+)
> 
> 
> diff -Nru a/arch/x86_64/kernel/traps.c b/arch/x86_64/kernel/traps.c
> --- a/arch/x86_64/kernel/traps.c	2004-10-20 12:08:04 -07:00
> +++ b/arch/x86_64/kernel/traps.c	2004-10-20 12:08:04 -07:00
> @@ -900,3 +900,11 @@
>  	return -1; 
>  } 
>  __setup("oops=", oops_dummy); 
> +
> +static int __init kstack_setup(char *s)
> +{
> +	kstack_depth_to_print = simple_strtoul(s,NULL,0);
> +	return 0;
> +}
> +__setup("kstack=", kstack_setup);

I'm happy to see this, but I don't see why it's arch-specific...

-- 
~Randy

           reply	other threads:[~2004-10-21 15:26 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <200410201907.i9KJ7r2s022648@hera.kernel.org>]

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=4177D226.7020607@osdl.org \
    --to=rddunlap@osdl.org \
    --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

Powered by JetHome