d66000588a
The 'PROCPS_PIDS_extra' enumerator already enjoys some special place wherein it's zeroed with each iteration. This patch simply extends the special handling to also include support for sorting. It will be treated as the 'ull_int' data type, since that encompasses the entire scope of that union within all pids_result structures. [ plus, we've also corrected the actual 'extra' name ] This change was prompted by the conversion of ps which needs that enumerator to store the former 'pcpu' data, so it will be available for sorting (not for display). Signed-off-by: Jim Warner <james.warner@comcast.net> |
||
---|---|---|
.. | ||
.gitignore | ||
alloc.c | ||
alloc.h | ||
COPYING | ||
devname.c | ||
devname.h | ||
diskstat.c | ||
diskstat.h | ||
escape.c | ||
escape.h | ||
libprocps.pc.in | ||
libprocps.sym | ||
meminfo.c | ||
meminfo.h | ||
namespace.c | ||
namespace.h | ||
openproc.3 | ||
pids.c | ||
pids.h | ||
procps-private.h | ||
procps.h | ||
pwcache.c | ||
pwcache.h | ||
readproc.3 | ||
readproc.c | ||
readproc.h | ||
readproctab.3 | ||
readstat.c | ||
readstat.h | ||
slab.c | ||
slab.h | ||
sysinfo.c | ||
sysinfo.h | ||
test_namespace.c | ||
test_sysinfo.c | ||
uptime.c | ||
uptime.h | ||
version.c | ||
version.h | ||
vmstat.c | ||
vmstat.h | ||
wchan.c | ||
wchan.h |