git: kernel - Store page statistics in bytes

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jul 29 12:28:12 PDT 2017


commit fef9ed17273fae140624529bb82ca913ceb69b27
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Jul 29 11:42:59 2017 -0700

    kernel - Store page statistics in bytes
    
    * Store page statistics in bytes rather than pages.  Pages aren't useful
      for userland display and there is no reason to force useland to do the
      conversion.
    
    * Include a realtime timestamp along with ticks in the structure.
    
    * Flesh out text output for kcollect.  Reverse output order to print
      oldest data first, so output from the -f option stays consistent.

Summary of changes:
 sys/kern/kern_collect.c     |   5 +-
 sys/sys/kcollect.h          |  15 +--
 sys/vm/swap_pager.c         |  17 +--
 sys/vm/vm_meter.c           |  30 +++---
 usr.bin/Makefile            |   1 +
 usr.bin/kcollect/Makefile   |   5 +-
 usr.bin/kcollect/kcollect.c | 256 ++++++++++++++++++++++++++++++++++++++++----
 7 files changed, 283 insertions(+), 46 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fef9ed17273fae140624529bb82ca913ceb69b27


-- 
DragonFly BSD source repository



More information about the Commits mailing list