X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fleak-checker.man;h=beba9e1372bea3a62e270f1057587916c7874833;hb=3e34fbdd62bcd79dad4f62ba6ec920d8f3be71bb;hp=7b376e1a9ec40b62ed5afd5e7d69726163744da0;hpb=064af42167bf4fc9aaea2702d80ce08074b889c0;p=openvswitch diff --git a/lib/leak-checker.man b/lib/leak-checker.man index 7b376e1a..beba9e13 100644 --- a/lib/leak-checker.man +++ b/lib/leak-checker.man @@ -1,7 +1,15 @@ .TP -\fB--check-leaks=\fIfile\fR +\fB\-\-check\-leaks=\fIfile\fR . Logs information about memory allocation and deallocation to \fIfile\fR, to allow for debugging memory leaks in \fB\*(PN\fR. This option slows down \fB\*(PN\fR considerably, so it should only be used -when a memory leak is suspected. +when a memory leak is suspected. Use the \fBovs\-parse\-leaks\fR script +to interpret the leak file. +.TP +\fB\-\-leak\-limit=\fIsize\fR +. +Limits size of the leak file as specified by \fB\-\-check\-leaks\fR to +\fIsize\fR bytes. Finding leaks sometimes requires allowing the leak +file to grow very large, up to 1GB. By default, files are limited +to 10MB.