diff options
Diffstat (limited to 'ubuntu/_base/tdesdk/debian/man/kmtrace.1')
-rw-r--r-- | ubuntu/_base/tdesdk/debian/man/kmtrace.1 | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/ubuntu/_base/tdesdk/debian/man/kmtrace.1 b/ubuntu/_base/tdesdk/debian/man/kmtrace.1 new file mode 100644 index 000000000..14f5f9fc8 --- /dev/null +++ b/ubuntu/_base/tdesdk/debian/man/kmtrace.1 @@ -0,0 +1,72 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH KMTRACE 1 "February 25, 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp <n> insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +kmtrace \- a TDE memory leak tracer +.SH SYNOPSIS +.B kmtrace +[ \fIgeneric-options\fP ] +[ \fB\-x, \-\-exclude\fP \fIfile\fP ] +[ \fB\-e, \-\-exe\fP \fIfile\fP ] +[ \fB\-t, \-\-tree\fP \fIfile\fP +[ \fB\-\-th, \-\-treethreshold\fP \fIvalue\fP ] +[ \fB\-\-td, \-\-treedepth\fP \fIvalue\fP ]] +[ \fItrace-log\fP ] +.SH DESCRIPTION +\fBKMtrace\fP is a TDE tool to assist with malloc debugging using +glibc's "mtrace" functionality. Unfortunately the mtrace that is part of +current (9/9/2000) glibc versions only logs the return-address of the +malloc/free call. The library included with KMtrace +logs a complete backtrace upon malloc/free. +.PP +KMtrace will investigate the trace log specified on the command line, +or \fIktrace.out\fP if no trace log is specified. +.PP +This utility is part of the TDE Software Development Kit. +.SH OPTIONS +Below are the kmtrace-specific options. +For a full summary of options, run \fIkmtrace \-\-help\fP. +.TP +\fB\-x, \-\-exclude\fP \fIfile\fP +File containing symbols to exclude from output. +.TP +\fB\-e, \-\-exe\fP \fIfile\fP +Executable to use for looking up unknown symbols. +.TP +\fB\-t, \-\-tree\fP \fIfile\fP +Write a tree of the allocations to the given file. +.TP +\fB\-\-th, \-\-treethreshold\fP \fIvalue\fP +When writing the allocations tree, hide subtrees allocating less than the +given memory amount. +.TP +\fB\-\-td, \-\-treedepth\fP \fIvalue\fP +When writing the allocations tree, hide subtrees that are deeper than the +specified depth. +.SH SEE ALSO +.BR demangle (1), +.BR kminspector (1), +.BR kmmatch (1). +.PP +Much more extensive documentation can be found in +\fI/usr/share/doc/kmtrace/README\fP. +.SH AUTHOR +KMtrace was written by Waldo Bastian <[email protected]>, +Mike Haertel <[email protected]> and Andi Kleen <[email protected]>. +.br +This manual page was prepared by Ben Burton <[email protected]> +for the Debian GNU/Linux system (but may be used by others). |