diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-11-29 17:16:55 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-11-29 17:16:55 +0000 |
commit | e1786b67983aa954a08f6d29eaa1aab8016065d3 (patch) | |
tree | 64ce435600f98b9646ad35b1e9db74627d518eea /share | |
parent | ab5beb74a63329a51e29c1d7431c6ba2762ae85e (diff) | |
download | FreeBSD-src-e1786b67983aa954a08f6d29eaa1aab8016065d3.zip FreeBSD-src-e1786b67983aa954a08f6d29eaa1aab8016065d3.tar.gz |
Add description of stack_print() and MLINK.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/Makefile | 1 | ||||
-rw-r--r-- | share/man/man9/stack.9 | 10 |
2 files changed, 10 insertions, 1 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index ffd3bd8..f3257bf 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -1070,6 +1070,7 @@ MLINKS+=spl.9 spl0.9 \ MLINKS+=stack.9 stack_copy.9 \ stack.9 stack_create.9 \ stack.9 stack_destroy.9 \ + stack.9 stack_printf.9 \ stack.9 stack_put.9 \ stack.9 stack_save.9 \ stack.9 stack_sbuf_print.9 \ diff --git a/share/man/man9/stack.9 b/share/man/man9/stack.9 index a47dc16..dabef1a 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 |