how to dump kernel function trace in freebsd

George Kumar grgkumar4 at gmail.com
Thu Mar 5 10:01:36 PST 2009


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


More information about the freebsd-current mailing list