f5e7c145fc
that knows how to extract UMA(9) allocator statistics from a core dump or live memory image using kvm(3). The caller is expected to provide the necessary kvm_t handle, which is then used by libmemstat(3). With these changes, it is trivially straight forward to re-introduce vmstat -z support on core dumps, which was lost when UMA was introduced. In the short term, this requires including vm/ include files that are not intended for extra-kernel use, requiring in turn some ugliness. |
||
---|---|---|
.. | ||
libmemstat.3 | ||
Makefile | ||
memstat_all.c | ||
memstat_internal.h | ||
memstat_malloc.c | ||
memstat_uma.c | ||
memstat.c | ||
memstat.h |