cvs commit: src/lib/libmemstat libmemstat.3 memstat.h memstat_all.c memstat_malloc.c

Robert Watson rwatson at
Wed Nov 9 10:22:30 GMT 2005

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 
  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   +9 -5      src/lib/libmemstat/libmemstat.3   +1 -0      src/lib/libmemstat/memstat.h   +0 -2      src/lib/libmemstat/memstat_all.c   +180 -0    src/lib/libmemstat/memstat_malloc.c

More information about the cvs-src mailing list