Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Aug 2005 19:07:39 +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.c memstat.h memstat_all.c memstat_uma.c
Message-ID:  <200508011907.j71J7dCJ015803@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508011907.j71J7dCJ015803>