git: 9front

Download patch

ref: 619b713f3ad92802197298139d5f00a1b9378654
parent: 87be1b3755682ac09f9d021e1c790479047dbed1
author: Igor Böhm <igor@9lab.org>
date: Thu Nov 4 19:11:56 EDT 2021

leak(1): document how to generate pool.$objtype.acid
/sys/lib/acid/leak requires /sys/src/libc/port/pool.$objtype.acid
which is not present by default, describe how to generate it.


--- a/sys/man/1/leak
+++ b/sys/man/1/leak
@@ -218,7 +218,17 @@
 .I kmem
 depend on the internal structure of the
 libc pool memory allocator (see 
-.IR pool (2)).
+.IR pool (2))
+and require
+.B /sys/src/libc/port/pool.$objtype.acid
+to be present and generated from
+.BR pool.c 
+as follows:
+.IP
+.EX
+% cd /sys/src/libc/port && mk pool.$objtype.acid
+.EE
+.PP
 Since the ANSI/POSIX environment uses a different
 allocator,
 .I leak
@@ -228,8 +238,5 @@
 is not speedy, and
 .I acidleak
 can consume more memory than the process(es) being examined.
-.PP
-These commands require
-.B /sys/src/libc/port/pool.acid
-to be present and generated from
-.BR pool.c .
+
+
--