From owner-cvs-all@FreeBSD.ORG Wed Nov 9 10:22:30 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C47316A428; Wed, 9 Nov 2005 10:22:30 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E00CA43D49; Wed, 9 Nov 2005 10:22:29 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jA9AMTIc023814; Wed, 9 Nov 2005 10:22:29 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jA9AMTJH023813; Wed, 9 Nov 2005 10:22:29 GMT (envelope-from rwatson) Message-Id: <200511091022.jA9AMTJH023813@repoman.freebsd.org> From: Robert Watson Date: Wed, 9 Nov 2005 10:22:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/lib/libmemstat libmemstat.3 memstat.h memstat_all.c memstat_malloc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2005 10:22:30 -0000 rwatson 2005-11-09 10:22:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libmemstat libmemstat.3 memstat.h memstat_all.c memstat_malloc.c Log: Merge libmemstat.3:1.8, memstat.h:1.9, memstat_all.c:1.3, memstat_malloc:1.6 from HEAD to RELENG_6: 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.6.2.4 +9 -5 src/lib/libmemstat/libmemstat.3 1.7.2.3 +1 -0 src/lib/libmemstat/memstat.h 1.1.2.3 +0 -2 src/lib/libmemstat/memstat_all.c 1.4.2.3 +180 -0 src/lib/libmemstat/memstat_malloc.c