procps/ps
Jim Warner 612f36189e related: change for lost 'PROCPS_' enumerator prefixes
With this patch we've completed a progression toward a
standard approach to naming conventions which follows:

* Only functions will begin with that 'procps_' prefix
. ........................................... examples
. procps_vmstat_get ()
. procps_diskstats_select ()
- ----------------------------------------------------

* Exposed structures begin with the module/header name
. ........................................... examples
. struct pids_info
. struct stat_reaped
- ----------------------------------------------------

* Item enumerators begin like structs, but capitalized
. ........................................... examples
. VMSTAT_COMPACT_FAIL
. MEMINFO_DELTA_ACTIVE

[ slabinfo varies slightly due to some item variants ]
. SLABINFO_extra
. SLABS_SIZE_ACTIVE
. SLABNODE_OBJS_PER_SLAB
[ could cure with a prefix of SLABINFO, but too long ]
- ----------------------------------------------------

* Other enumerators work exactly like item enumerators
. ........................................... examples
. PIDS_SORT_ASCEND
. STAT_REAP_CPUS_AND_NODES
- ----------------------------------------------------

* Macros and constants begin just like the enumerators
. ........................................... examples
. #define SLABINFO_GET
. #define DISKSTATS_TYPE_DISK
- ----------------------------------------------------

Signed-off-by: Jim Warner <james.warner@comcast.net>
2016-07-26 20:49:44 +10:00
..
common.h related: change for lost 'PROCPS_' enumerator prefixes 2016-07-26 20:49:44 +10:00
COPYING license: update FSF addresses 2012-03-04 08:04:24 +11:00
display.c related: change for lost 'PROCPS_' enumerator prefixes 2016-07-26 20:49:44 +10:00
global.c related: change for lost 'PROCPS_' enumerator prefixes 2016-07-26 20:49:44 +10:00
HACKING docs: remove old information from HACKING 2012-01-13 22:42:38 +01:00
help.c library: cleanup of library includes 2016-04-16 17:03:57 +10:00
output.c related: change for lost 'PROCPS_' enumerator prefixes 2016-07-26 20:49:44 +10:00
parser.c Merge branch 'master' into newlib 2015-10-28 21:09:26 +11:00
ps.1 ps: display control group name 2015-10-14 21:34:37 +11:00
regression procps 010114 2002-02-01 22:47:29 +00:00
select.c ps: exploit those new <pids> task/threads capabilities 2015-10-05 21:52:08 +11:00
sortformat.c related: change for lost 'PROCPS_' enumerator prefixes 2016-07-26 20:49:44 +10:00
stacktrace.c misc: just eliminate several 'unused' warning messages 2016-07-26 07:59:48 +10:00