Re: [PATCH] RFC. User space backtrace on segv

From: P
Date: Thu Oct 07 2004 - 04:59:48 EST


Neil Horman wrote:
IIRC, there is already a backtrace function defined for most arches in the c library. in execinfo.h there is a family of backtrace functions that can unwind the stack fairly well for most arches, and store the trace in a post SIGSEGV-safe fashion.

I've some info on this here:
http://www.pixelbeat.org/libs/backtrace.c

Pádraig.
-
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/