diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2007-11-29 17:16:55 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2007-11-29 17:16:55 +0000 |
commit | 7340f1a1b870813a073c252ced2d855f444a4fd9 (patch) | |
tree | 64ce435600f98b9646ad35b1e9db74627d518eea /share/man/man9/stack.9 | |
parent | 9790a3cbd4acf18a684305d39c51b4736287160a (diff) |
Add description of stack_print() and MLINK.
Notes
Notes:
svn path=/head/; revision=174078
Diffstat (limited to 'share/man/man9/stack.9')
-rw-r--r-- | share/man/man9/stack.9 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/share/man/man9/stack.9 b/share/man/man9/stack.9 index a47dc16ed9bc..dabef1aa321b 100644 --- a/share/man/man9/stack.9 +++ b/share/man/man9/stack.9 @@ -50,6 +50,8 @@ In kernel configuration files: .Ft void .Fn stack_zero "struct stack *st" .Ft void +.Fn stack_print "struct stack *st" +.Ft void .Fn stack_sbuf_print "struct sbuf sb*" "struct stack *st" .Ft void .Fn stack_save "struct stack *st" @@ -78,6 +80,10 @@ Memory associated with a trace may be freed by calling A trace of the current kernel thread's call stack may be captured using .Fn stack_save . .Pp +.Fn stack_print +may be used to print a stack trace using the kernel +.Xr printf 9 . +.Pp .Fn stack_sbuf_print may be used to construct a human-readable string, including conversion (where possible) from a simple kernel instruction pointer to a named symbol and @@ -99,7 +105,9 @@ and .Nm stack_put may be used to manipulate stack data structures directly. .Sh SEE ALSO -.Xr DDB 4 +.Xr DDB 4 , +.Xr printf 9 , +.Xr sbuf 9 .Sh AUTHORS .An -nosplit The |