Date: Thu, 20 Apr 2017 15:36:26 -0700 From: Gleb Smirnoff <glebius@FreeBSD.org> To: Jung-uk Kim <jkim@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r317231 - head/usr.bin/systat Message-ID: <20170420223626.GX1033@FreeBSD.org> In-Reply-To: <201704202230.v3KMUdAm030762@repo.freebsd.org> References: <201704202230.v3KMUdAm030762@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, Jung-uk! On Thu, Apr 20, 2017 at 10:30:39PM +0000, Jung-uk Kim wrote: J> Author: jkim J> Date: Thu Apr 20 22:30:39 2017 J> New Revision: 317231 J> URL: https://svnweb.freebsd.org/changeset/base/317231 J> J> Log: J> Fix systat(1) regression. It was broken by r317061. J> J> Modified: J> head/usr.bin/systat/vmstat.c J> J> Modified: head/usr.bin/systat/vmstat.c J> ============================================================================== J> --- head/usr.bin/systat/vmstat.c Thu Apr 20 21:48:54 2017 (r317230) J> +++ head/usr.bin/systat/vmstat.c Thu Apr 20 22:30:39 2017 (r317231) J> @@ -70,35 +70,35 @@ static const char sccsid[] = "@(#)vmstat J> J> static struct Info { J> long time[CPUSTATES]; J> - u_int v_swtch; /* context switches */ J> - u_int v_trap; /* calls to trap */ J> - u_int v_syscall; /* calls to syscall() */ J> - u_int v_intr; /* device interrupts */ J> - u_int v_soft; /* software interrupts */ J> + uint64_t v_swtch; /* context switches */ J> + uint64_t v_trap; /* calls to trap */ J> + uint64_t v_syscall; /* calls to syscall() */ J> + uint64_t v_intr; /* device interrupts */ J> + uint64_t v_soft; /* software interrupts */ J> /* J> * Virtual memory activity. J> */ J> - u_int v_vm_faults; /* number of address memory faults */ J> - u_int v_io_faults; /* page faults requiring I/O */ J> - u_int v_cow_faults; /* number of copy-on-writes */ J> - u_int v_zfod; /* pages zero filled on demand */ J> - u_int v_ozfod; /* optimized zero fill pages */ J> - u_int v_swapin; /* swap pager pageins */ J> - u_int v_swapout; /* swap pager pageouts */ J> - u_int v_swappgsin; /* swap pager pages paged in */ J> - u_int v_swappgsout; /* swap pager pages paged out */ J> - u_int v_vnodein; /* vnode pager pageins */ J> - u_int v_vnodeout; /* vnode pager pageouts */ J> - u_int v_vnodepgsin; /* vnode_pager pages paged in */ J> - u_int v_vnodepgsout; /* vnode pager pages paged out */ J> - u_int v_intrans; /* intransit blocking page faults */ J> - u_int v_reactivated; /* number of pages reactivated by pagedaemon */ J> - u_int v_pdwakeups; /* number of times daemon has awaken from sleep */ J> - u_int v_pdpages; /* number of pages analyzed by daemon */ J> - J> - u_int v_dfree; /* pages freed by daemon */ J> - u_int v_pfree; /* pages freed by exiting processes */ J> - u_int v_tfree; /* total pages freed */ J> + uint64_t v_vm_faults; /* number of address memory faults */ J> + uint64_t v_io_faults; /* page faults requiring I/O */ J> + uint64_t v_cow_faults; /* number of copy-on-writes */ J> + uint64_t v_zfod; /* pages zero filled on demand */ J> + uint64_t v_ozfod; /* optimized zero fill pages */ J> + uint64_t v_swapin; /* swap pager pageins */ J> + uint64_t v_swapout; /* swap pager pageouts */ J> + uint64_t v_swappgsin; /* swap pager pages paged in */ J> + uint64_t v_swappgsout; /* swap pager pages paged out */ J> + uint64_t v_vnodein; /* vnode pager pageins */ J> + uint64_t v_vnodeout; /* vnode pager pageouts */ J> + uint64_t v_vnodepgsin; /* vnode_pager pages paged in */ J> + uint64_t v_vnodepgsout; /* vnode pager pages paged out */ J> + uint64_t v_intrans; /* intransit blocking page faults */ J> + uint64_t v_reactivated; /* number of pages reactivated by pagedaemon */ J> + uint64_t v_pdwakeups; /* number of times daemon has awaken from sleep */ J> + uint64_t v_pdpages; /* number of pages analyzed by daemon */ J> + J> + uint64_t v_dfree; /* pages freed by daemon */ J> + uint64_t v_pfree; /* pages freed by exiting processes */ J> + uint64_t v_tfree; /* total pages freed */ J> /* J> * Distribution of page usages. J> */ J> _______________________________________________ J> svn-src-all@freebsd.org mailing list J> https://lists.freebsd.org/mailman/listinfo/svn-src-all J> To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" -- Totus tuus, Glebius.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170420223626.GX1033>