lkml.org 
[lkml]   [2004]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86_64: add an option to configure oops stack dump
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.028 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site