From 775608db7c004aca265474adb3e081f676b3b12a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20B=C3=B6hm?= Date: Thu, 4 Nov 2021 23:11:56 +0000 Subject: [PATCH] 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. --- sys/man/1/leak | 19 +++++++++++++------ 1 file 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 . + +