]> granicus.if.org Git - procps-ng/commit
library: add delta values with swap too, <meminfo> api
authorJim Warner <james.warner@comcast.net>
Thu, 7 Sep 2017 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Sun, 1 Oct 2017 11:25:18 +0000 (22:25 +1100)
commitdaf7c86c01b17de2705a8410691c7b13693a7878
tree1a291cdafcb401ec2999b071d4119a2078008dbd
parentccbd818cb490a62dc6a65e1cd1b2a728b85cd98f
library: add delta values with swap too, <meminfo> api

As an oversight, delta values for SWAP amounts weren't
included in the <meminfo> API. Since any runtime costs
of including them only amount to slightly more storage
this commit will simply correct the earlier oversight.

Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/meminfo.c
proc/meminfo.h