how to dump kernel function trace in freebsd

From: George Kumar <grgkumar4_at_gmail.com>
Date: Thu, 5 Mar 2009 09:37:03 -0800
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
Received on Thu Mar 05 2009 - 17:01:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:43 UTC