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

Robert Watson rwatson at
Sat Aug 6 13:54:05 GMT 2005

rwatson     2005-08-06 13:54:03 UTC

  FreeBSD src repository

  Modified files:
    lib/libmemstat       libmemstat.3 memstat.h memstat_all.c 
  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

More information about the cvs-src mailing list