Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jun 2005 21:51:47 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Antoine Brodin <antoine.brodin@laposte.net>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: RFC: Stack saving/tracing functionality. 
Message-ID:  <9261.1118346707@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 08 Jun 2005 22:18:29 %2B0200." <20050608221829.75c2de12.antoine.brodin@laposte.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20050608221829.75c2de12.antoine.brodin@laposte.net>, Antoine Brodin writes:
>Hi,
>
>
>With Jeff@'s help, I implemented stack saving/tracing functionality.

Thankyou!

>Another question: Since the stack saving/tracing functionality depends
>on ddb, should kern/subr_stack.c be moved to ddb/stack.c and
>sys/stack.h to ddb/stack.h?

No.

This code should be compiled in as standard so that any panic prints
a stacktrace on the console, also for non-KDB kernels.

A sysctl to enable grepping a backtrace from core-dumping processes
would be wonderful as well.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9261.1118346707>