procps/proc
Jim Warner 876ec555c3 library: final tweaks to code and/or comments, 3rd gen
With the dust now settling on all those 3rd generation
upgrades, this patch tries to provide some consistency
among the separate modules involved. Someday we should
consider a 4th generation where all redundant code has
been removed and isolated in a new shared source file.

Following is a summary of significant changes (if any)
to each of these now upgraded 3rd gen library modules.

<meminfo> ............................................
. strictly formatting/comment changes, code unaffected

<pids> ...............................................
. replaced a local mkSTR macro with existing STRINGIFY
. added fetch narrative explaining duplicate addresses

<slabinfo> ...........................................
. rearranged some free logic for procps_slabinfo_unref
. added fetch narrative explaining duplicate addresses

<stat> ...............................................
. added #define ENFORCE_LOGICAL, just as in <slabinfo>
. replaced a local mkSTR macro with existing STRINGIFY
. alphabetized the function declarations in the header

<vmstat> .............................................
. made one coverity concession with read_vmstat_failed

[ several of these changes may reflect this author's ]
[ continuing pursuit of an unreasonable goal -- that ]
[ of a 'perfect' (plus 'pretty') C language program! ]

Signed-off-by: Jim Warner <james.warner@comcast.net>
2016-06-13 10:33:37 +10:00
..
.gitignore tests: update template and add pids 2016-04-19 21:33:02 +10:00
alloc.c library: cleanup of library includes 2016-04-16 17:03:57 +10:00
alloc.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
COPYING
devname.c library: Remove tty_to_dev() 2015-09-01 20:41:25 +10:00
devname.h library: cleanup of readproc functions 2016-04-17 14:14:27 +10:00
diskstat.c misc: Few more resource leak fixes 2016-05-03 21:58:13 +10:00
diskstat.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
escape.c library: re-arrange escape commands 2016-04-17 14:45:19 +10:00
escape.h library: re-arrange escape commands 2016-04-17 14:45:19 +10:00
libprocps.pc.in
libprocps.sym library: normalize/standardize the i/f, <SLABINFO> api 2016-06-09 20:51:06 +10:00
meminfo.c library: final tweaks to code and/or comments, 3rd gen 2016-06-13 10:33:37 +10:00
meminfo.h library: final tweaks to code and/or comments, 3rd gen 2016-06-13 10:33:37 +10:00
namespace.c miscellaneous: silence a whole bunch of clang warnings 2015-09-21 22:34:27 +10:00
namespace.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
openproc.3 documentation: fix man pages due to refactor for wchan 2015-06-19 19:09:21 +10:00
pids.c library: final tweaks to code and/or comments, 3rd gen 2016-06-13 10:33:37 +10:00
pids.h library: final tweaks to code and/or comments, 3rd gen 2016-06-13 10:33:37 +10:00
procps-private.h library: please keep procps-private.h free of #include 2016-06-11 11:50:37 +10:00
procps.h library: rename the 'slab' sources as 'slabinfo' files 2016-06-09 20:51:06 +10:00
pwcache.c library: export pwcache functions correctly 2015-06-26 22:37:53 +10:00
pwcache.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
readproc.3
readproc.c library: eliminated a final potential NULL, <PIDS> api 2016-05-22 21:59:18 +10:00
readproc.h library: eliminated a final potential NULL, <PIDS> api 2016-05-22 21:59:18 +10:00
readproctab.3
slabinfo.c library: final tweaks to code and/or comments, 3rd gen 2016-06-13 10:33:37 +10:00
slabinfo.h library: final tweaks to code and/or comments, 3rd gen 2016-06-13 10:33:37 +10:00
stat.c library: final tweaks to code and/or comments, 3rd gen 2016-06-13 10:33:37 +10:00
stat.h library: final tweaks to code and/or comments, 3rd gen 2016-06-13 10:33:37 +10:00
sysinfo.c library: correct the procps_pid_length() +1 distortion 2016-04-18 19:29:41 +10:00
sysinfo.h library: remove an obsolete 'jiffs' typedef in sysinfo 2016-05-08 21:12:22 +10:00
test_namespace.c tests: update template and add pids 2016-04-19 21:33:02 +10:00
test_pids.c library: fix new and unref pids test 2016-06-07 21:13:57 +10:00
test_sysinfo.c tests: update template and add pids 2016-04-19 21:33:02 +10:00
test_uptime.c library: procps_uptime() return value is a status 2016-05-01 16:50:25 +10:00
test_version.c library: Fix LINUX_VERSION macro 2016-05-01 17:46:25 +10:00
uptime.c library: procps_uptime() return value is a status 2016-05-01 16:50:25 +10:00
uptime.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
version.c miscellaneous: remove some trailing whitespace buildup 2015-06-20 07:46:23 +10:00
version.h library: Fix LINUX_VERSION macro 2016-05-01 17:46:25 +10:00
vmstat.c library: final tweaks to code and/or comments, 3rd gen 2016-06-13 10:33:37 +10:00
vmstat.h library: final tweaks to code and/or comments, 3rd gen 2016-06-13 10:33:37 +10:00
wchan.c
wchan.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00