summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Böhm <igor@9lab.org>2021-11-04 23:11:56 +0000
committerIgor Böhm <igor@9lab.org>2021-11-04 23:11:56 +0000
commit775608db7c004aca265474adb3e081f676b3b12a (patch)
treed22587705bfdd514d7273fecb20f784cede747c5
parent9827a6b1780efb2e87541115fd0dd3476eb1f193 (diff)
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.
-rw-r--r--sys/man/1/leak19
1 files changed, 13 insertions, 6 deletions
diff --git a/sys/man/1/leak b/sys/man/1/leak
index 45d91a0a1..6628bbe12 100644
--- a/sys/man/1/leak
+++ b/sys/man/1/leak
@@ -218,7 +218,17 @@ and
.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 @@ will not work on APE programs.
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 .
+
+