procps/proc
Jim Warner 5c3542c4e1 library: revised sort + new allocate APIs for slabinfo
With this patch, we will be close to an implementation
which will be needed when accommodating tasks/threads.
The following explanation was from an earlier message:

The slabtop requirements are similar to those of PIDs.
One must accommodate the variable number of slab nodes
(PIDs) while also accepting different data (char * and
unsigned long). Furthermore, some generalized means to
sort all that acquired stuff must somehow be provided.
------------------------------------------------------

So this patch expands the API to provide dynamic chain
allocation plus allow sorting of those dynamic chains.
While specific to slab needs (nodes, not global stats)
it is not too early to begin to think of newlib chains
as the opaque replacement for a deprecated old proc_t.

Better yet, any newlib chain is inherently variable in
length, something the old proc_t couldn't claim to be.
Of course, as we get to PIDs we'll want to grow/shrink
chains (easily accomplished with a special item enum).
And we'll want to grow/shrink those **head arrays too.
But these minor details don't seem insurmountable now.

Signed-off-by: Jim Warner <james.warner@comcast.net>
2015-07-14 22:36:07 +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: revised sort + new allocate APIs for slabinfo 2015-07-14 22:36:07 +10:00
meminfo.c library: refactor meminfo providing dynamic allocation 2015-07-14 22:32:41 +10:00
meminfo.h library: refactor meminfo providing dynamic allocation 2015-07-14 22:32:41 +10:00
openproc.3 documentation: fix man pages due to refactor for wchan 2015-06-19 19:09:21 +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 library: add support for displaying LXC container name 2015-06-14 15:36:05 +10:00
readproc.h library: sysstat and vmstat api changes 2015-06-26 22:37:28 +10:00
readproctab.3 misc: result after checking all files for misspellings 2014-08-08 22:14:21 +02:00
readstat.c library: normalize the readstat context structure name 2015-07-01 21:30:58 +10:00
readstat.h library: normalize the readstat context structure name 2015-07-01 21:30:58 +10:00
slab.c library: revised sort + new allocate APIs for slabinfo 2015-07-14 22:36:07 +10:00
slab.h library: revised sort + new allocate APIs for slabinfo 2015-07-14 22:36:07 +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
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: the uref functions were insufficiently robust 2015-07-01 21:30:17 +10:00
vmstat.h library: the uref functions were insufficiently robust 2015-07-01 21:30:17 +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