Re: RFC: Stack saving/tracing functionality.
From: Jeff Roberson (jroberson_at_chesapeake.net)
Date: 06/10/05
- Previous message: Garance A Drosehn: "Changes to `arg' - Bug in #! processing & "pear broken...""
- In reply to: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- Next in thread: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- Reply: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 10 Jun 2005 17:30:06 -0400 (EDT) To: Poul-Henning Kamp <phk@phk.freebsd.dk>
On Thu, 9 Jun 2005, Poul-Henning Kamp wrote:
> In message <20050608221829.75c2de12.antoine.brodin@laposte.net>, Antoine Brodin writes:
> >Hi,
> >
> >
> >With Jeff@'s help, I implemented stack saving/tracing functionality.
>
> Thankyou!
Yes, indeed. Good work Antoine.
>
> >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.
You mean use it to print the unresolved addresses without ddb compiled in?
It might be useful to breakout the ddb functionality which parses the
symbols, and consider always building in the symbols except perhaps in
extreme low memory situations.
>
> A sysctl to enable grepping a backtrace from core-dumping processes
> would be wonderful as well.
I'm not sure I understand what you mean here? This is designed to save
and display kernel stacks while running.
>
>
> --
> 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.
> _______________________________________________
> freebsd-arch@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
>
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Garance A Drosehn: "Changes to `arg' - Bug in #! processing & "pear broken...""
- In reply to: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- Next in thread: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- Reply: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]