procps/proc
Jim Warner 387d4030f4 library: miscellaneous tweaks to pid code and comments
. traded a complex misaligned memory allocation scheme
in the make_hist function for a simple aligned scheme.
plus memory allocation increases are globally defined.

. changed 1 parameter for procps_pids_stacks_sort() to
better reflect the 'array of pointers', not an address
of a pointer as is used with guys such as 'new/unref'.

. the pids_reap struct was changed slightly to make it
more reflective of it's actual implementation details.

. the Item_table member .mustfree is now .needfree and
that .makehist was now made .needhist for consistency.

. reduced the number of separate 'return NULL;' source
statements in that primary procps_pids_reap() routine.

. ensured consistent reference to sizeof(void *) & not
occasional reference to sizeof(void*) without a space.

. rather than enable/disable validate_stacks via a #if
in the function body, it is now handled via a #define.

. some comments in the procps_pids_reset function were
adjusted to reflect this current implementation. shown
originally, they reflected an aborted attempt to avoid
a testing aberration not fully understood at the time.

. added a summary of the memory overhead cost of HST_t
processing to that UNREF_RPTHASH output at unref time.

. a 'PIDs at max depth:' portion of that UNREF_RPTHASH
enabled #define is now published only when the maximum
depth of hash table entry chains exceed depths of one.

Signed-off-by: Jim Warner <james.warner@comcast.net>
2015-08-23 21:08:18 +10:00
..
.gitignore library: tests for sysinfo 2015-07-20 22:23:21 +10:00
alloc.c pmap: use correct types for memory allocation 2012-11-06 22:22:11 +11:00
alloc.h library: sysstat and vmstat api changes 2015-06-26 22:37:28 +10:00
COPYING miscellaneous: clean up trailing whitespace once again 2013-04-07 18:05:01 +10:00
devname.c miscellaneous: clean up trailing whitespace throughout 2013-03-14 12:36:47 +01:00
devname.h library: sysstat and vmstat api changes 2015-06-26 22:37:28 +10:00
diskstat.c library: Update diskstat API 2015-07-07 22:42:06 +10:00
diskstat.h library: Update diskstat API 2015-07-07 22:42:06 +10:00
escape.c miscellaneous: clean up trailing whitespace once again 2013-04-07 18:05:01 +10:00
escape.h library: sysstat and vmstat api changes 2015-06-26 22:37:28 +10:00
libprocps.pc.in Renaming libprocfs to libprocps 2011-12-23 09:18:43 +11:00
libprocps.sym library: implement task/thread support via the new api 2015-08-23 21:05:06 +10:00
meminfo.c library: minor tweaks of program logic and/or comments 2015-07-28 21:51:00 +10:00
meminfo.h library: meminfo redesigned to use 'stack' vs. 'chain' 2015-07-23 22:31:24 +10:00
openproc.3 documentation: fix man pages due to refactor for wchan 2015-06-19 19:09:21 +10:00
pids.c library: miscellaneous tweaks to pid code and comments 2015-08-23 21:08:18 +10:00
pids.h library: miscellaneous tweaks to pid code and comments 2015-08-23 21:08:18 +10:00
procps-private.h library: Change linux version 2015-06-19 21:00:46 +10:00
procps.h library: sysstat and vmstat api changes 2015-06-26 22:37:28 +10:00
pwcache.c library: export pwcache functions correctly 2015-06-26 22:37:53 +10:00
pwcache.h library: export pwcache functions correctly 2015-06-26 22:37:53 +10:00
readproc.3 misc: result after checking all files for misspellings 2014-08-08 22:14:21 +02:00
readproc.c old library: just some tweaks for transition to newlib 2015-08-23 21:05:06 +10:00
readproc.h old library: just some tweaks for transition to newlib 2015-08-23 21:05:06 +10:00
readproctab.3 misc: result after checking all files for misspellings 2014-08-08 22:14:21 +02:00
readstat.c library: minor tweaks of program logic and/or comments 2015-07-28 21:51:00 +10:00
readstat.h library: minor tweaks of program logic and/or comments 2015-07-28 21:51:00 +10:00
slab.c library: minor tweaks of program logic and/or comments 2015-07-28 21:51:00 +10:00
slab.h library: eliminate extra stack header space provisions 2015-07-23 22:31:50 +10:00
sysinfo.c library: Update diskstat API 2015-07-07 22:42:06 +10:00
sysinfo.h library: Update diskstat API 2015-07-07 22:42:06 +10:00
test_sysinfo.c library: tests for sysinfo 2015-07-20 22:23:21 +10:00
uptime.c library: loadavg change to procps_loadavg 2015-07-01 21:47:30 +10:00
uptime.h library: Update uptime calls to standard format 2015-06-29 22:09:59 +10:00
version.c miscellaneous: remove some trailing whitespace buildup 2015-06-20 07:46:23 +10:00
version.h library: sysstat and vmstat api changes 2015-06-26 22:37:28 +10:00
vmstat.c library: vmstat redesign now using 'stack' vs. 'chain' 2015-07-23 22:31:44 +10:00
vmstat.h library: vmstat redesign now using 'stack' vs. 'chain' 2015-07-23 22:31:44 +10:00
wchan.c library: refactor and rely on modern kernels for wchan 2015-06-19 19:09:20 +10:00
wchan.h library: sysstat and vmstat api changes 2015-06-26 22:37:28 +10:00