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

Robert Watson rwatson at FreeBSD.org
Mon Aug 1 19:07:40 GMT 2005


rwatson     2005-08-01 19:07:39 UTC

  FreeBSD src repository

  Modified files:
    lib/libmemstat       libmemstat.3 memstat.c memstat.h 
                         memstat_all.c memstat_uma.c 
  Log:
  Add memstat_kvm_uma(), an implementation of a libmemstat(3) query routine
  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.
  
  Revision  Changes    Path
  1.7       +7 -2      src/lib/libmemstat/libmemstat.3
  1.7       +6 -0      src/lib/libmemstat/memstat.c
  1.8       +9 -0      src/lib/libmemstat/memstat.h
  1.2       +13 -0     src/lib/libmemstat/memstat_all.c
  1.10      +213 -0    src/lib/libmemstat/memstat_uma.c


More information about the cvs-src mailing list