how to dump function trace in freebsd

In Linux I could do this to see how a function was called - (In essence function call trace),

Function() {
dump_stack();
.....
...
}
What is the equivalent to dump_stack() in freebsd ?

thanks.
 
Back
Top