Re: [PATCH 1/3] reliable stack trace support

From: Pavel Machek
Date: Thu May 18 2006 - 07:16:32 EST


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@xxxxxxxxxx>
>
> --- 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@xxxxxxxxxx>
> + *
> + * 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@xxxxxxxxxx>
> + *
> + * 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/