Date: Thu, 5 Mar 2009 09:37:03 -0800 From: George Kumar <grgkumar4@gmail.com> To: freebsd-current@freebsd.org Subject: how to dump kernel function trace in freebsd Message-ID: <5f695cd0903050937h320e72dbrfef1d9e1a1d3b543@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi,
In Linux I could use dump_stack() this to see how a function was
called - (In essence stack trace back ),
Function() {
dump_stack();
.....
...
}
What is the equivalent to dump_stack() in freebsd ?
Is it kdb_backtrace() ? But for this I need to have kdb, ddb and
kdb_trace options in the config file ? is that correct ?
thanks.
George
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5f695cd0903050937h320e72dbrfef1d9e1a1d3b543>
