12b6452135
All TIC delta fields are checked for possible negative results and set to zero when found. This is done so as to protect against potential anomalies which depend on kernel version and/or toggling cpus offline or online. [ it's probably unnecessary with the latest kernels, ] [ except for iowait. documentation suggests it might ] [ decrease which would then create a negative delta. ] The same approach is employed for most of the 'system' deltas (ctxt, intr & procs_created). However, with two of the fields (procs_blocked & procs_running) negative results were allowed. But it now seems such a division is unwise so this patch will allow all to go negative. [ rather than force any 'system' delta value to show ] [ what's logical, we'll now let all reflect reality. ] Signed-off-by: Jim Warner <james.warner@comcast.net> |
||
---|---|---|
.. | ||
.gitignore | ||
COPYING | ||
devname.c | ||
devname.h | ||
diskstats.c | ||
diskstats.h | ||
escape.c | ||
escape.h | ||
libprocps.pc.in | ||
libprocps.sym | ||
meminfo.c | ||
meminfo.h | ||
namespace.c | ||
namespace.h | ||
numa.c | ||
numa.h | ||
pids.c | ||
pids.h | ||
procps-private.h | ||
procps.h | ||
pwcache.c | ||
pwcache.h | ||
readproc.c | ||
readproc.h | ||
slabinfo.c | ||
slabinfo.h | ||
stat.c | ||
stat.h | ||
sysinfo.c | ||
sysinfo.h | ||
test_namespace.c | ||
test_pids.c | ||
test_sysinfo.c | ||
test_uptime.c | ||
test_version.c | ||
uptime.c | ||
uptime.h | ||
version.c | ||
version.h | ||
vmstat.c | ||
vmstat.h | ||
wchan.c | ||
wchan.h | ||
xtra-procps-debug.h |