procps/ps
Jim Warner 2ceb4c31da library: readstat redesigned using 'stack' vs. 'chain'
In addition to that text shown below the line which is
common to several commit messages, this patch contains
several minor changes with lessor impact upon the API:

. A call to procps_stat_read_jiffs() has been added to
those jiffs functions carrying the 'fill' nomenclature
to parallel like functions in some of our other files.

. The #include header files are ordered alphabetically
now, with all those <sys/??> types separately grouped.

. Standard copyright boilerplate was added in .c file.

. The header file follows the conventions of indenting
(by 4 spaces) those parameters too lengthy for 1 line.

------------------------------------------------------
. The former 'chains' have now become 'stacks' without
the 'next' pointer in each result struct. The pointers
initially seemed to offer some flexibility with memory
allocations and benefits for the library access logic.
However, user access was always via displacement and a
a statically allocated chain was cumbersome to define.

. An enumerator ending in '_noop' will no longer serve
as a fencepost delimiter. Rather, it has become a much
more important and flexible user oriented tool. Adding
one or more such 'items' in any items list passed into
the library becomes the means of extending the 'stack'
to also include user (not just library) data. Any such
data is guaranteed to never be altered by the library.

. Anticipating PID support, where many different types
must be represented in a result structure, we'll adopt
a common naming standard. And, while not every results
structure currently needs to reflect disparate types a
union will be employed so the same dot qualifier ('.')
can be used consistently when accessing all such data.

Signed-off-by: Jim Warner <james.warner@comcast.net>
2015-07-23 22:31:39 +10:00
..
common.h ps: exploit the simplified library interface for wchan 2015-06-19 19:09:20 +10:00
COPYING license: update FSF addresses 2012-03-04 08:04:24 +11:00
display.c library: Remove signal name from library 2015-06-29 21:52:51 +10:00
global.c library: Update uptime calls to standard format 2015-06-29 22:09:59 +10:00
HACKING docs: remove old information from HACKING 2012-01-13 22:42:38 +01:00
help.c ps: add -q/q/--quick-pid option 2014-07-10 21:24:19 +02:00
output.c library: readstat redesigned using 'stack' vs. 'chain' 2015-07-23 22:31:39 +10:00
parser.c ps: exploit the simplified library interface for wchan 2015-06-19 19:09:20 +10:00
ps.1 documentation: fix man pages due to refactor for wchan 2015-06-19 19:09:21 +10:00
regression procps 010114 2002-02-01 22:47:29 +00:00
select.c ps: add -q/q/--quick-pid option 2014-07-10 21:24:19 +02:00
sortformat.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
stacktrace.c ps: cut out code unused code 2012-11-06 22:30:02 +11:00