Date: Sat, 6 Aug 2005 13:54:03 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libmemstat libmemstat.3 memstat.h memstat_all.c memstat_malloc.c Message-ID: <200508061354.j76Ds3qH087320@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2005-08-06 13:54:03 UTC FreeBSD src repository Modified files: lib/libmemstat libmemstat.3 memstat.h memstat_all.c memstat_malloc.c Log: Teach libmemstat(3) how to extract malloc(9) statistics using kvm(3), so that libmemstat can be used to view full memory statistics from kernel core dumps and /dev/mem. This is provided via a new query function, memstat_kvm_malloc(), which is also automatically invoked by memstat_kvm_all(). A kvm handle must be passed in. This will allow malloc(9)-specific code to be removed from vmstat(8). Revision Changes Path 1.8 +9 -5 src/lib/libmemstat/libmemstat.3 1.9 +1 -0 src/lib/libmemstat/memstat.h 1.3 +0 -2 src/lib/libmemstat/memstat_all.c 1.6 +180 -0 src/lib/libmemstat/memstat_malloc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508061354.j76Ds3qH087320>