[PATCH 1/3] reliable stack trace support

Pavel Machek pavel at suse.cz
Thu May 18 13:16:26 CEST 2006


On Út 16-05-06 16:21:27, Jan Beulich wrote:
> These are the generic bits needed to enable reliable stack traces based
> on Dwarf2-like (.eh_frame) unwind information. Subsequent patches will
> enable x86-64 and i386 to make use of this.
> 
> Signed-off-by: Jan Beulich <jbeulich at novell.com>
> 
> --- linux-2.6.17-rc4/include/asm-generic/unwind.h	1970-01-01 01:00:00.000000000 +0100
> +++ 2.6.17-rc4-unwind-generic/include/asm-generic/unwind.h	2006-05-16 14:36:21.000000000 +0200
> @@ -0,0 +1,119 @@
> +#ifndef _ASM_GENERIC_UNWIND_H
> +#define _ASM_GENERIC_UNWIND_H
> +
> +/*
> + * Copyright (C) 2002-2006 Novell, Inc.
> + *	Jan Beulich <jbeulich at novell.com>
> + *
> + * A simple API for unwinding kernel stacks.  This is used for
> + * debugging and error reporting purposes.  The kernel doesn't need
> + * full-blown stack unwinding with all the bells and whistles, so there
> + * is not much point in implementing the full Dwarf2 unwind API.

Missing GPL?

> --- linux-2.6.17-rc4/kernel/unwind.c	1970-01-01 01:00:00.000000000 +0100
> +++ 2.6.17-rc4-unwind-generic/kernel/unwind.c	2006-05-16 14:36:08.000000000 +0200
> @@ -0,0 +1,876 @@
> +/*
> + * Copyright (C) 2002-2006 Novell, Inc.
> + *	Jan Beulich <jbeulich at novell.com>
> + *
> + * A simple API for unwinding kernel stacks.  This is used for
> + * debugging and error reporting purposes.  The kernel doesn't need
> + * full-blown stack unwinding with all the bells and whistles, so there
> + * is not much point in implementing the full Dwarf2 unwind API.
> + */

...more than once, I'd say.
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



More information about the discuss mailing list