library: normalize the readstat context structure name

The new library meminfo & vmstat modules use structure
names for their context which exactly mirror the names
of the very /proc/ files whose particulars they yield.

The one exception to this rule was the readstat module
whose struct was named statinfo yet the file was stat.

This commit simply renames that structure (only) so as
to hopefully establish such a naming convention as our
standard going forward. And, it's makes good symmetry.

[ this module's name itself is just perfect as it is ]

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2015-06-30 00:00:00 -05:00
committed by Craig Small
parent faf6d4dc93
commit e88b11f176
5 changed files with 35 additions and 35 deletions

View File

@ -269,7 +269,7 @@ enum mem_enums {
};
#define MEM_VAL(e) mem_chain[e].result
static struct procps_statinfo *sys_info;
static struct procps_stat *sys_info;
static struct procps_jiffs_hist *Cpu_jiffs;
/*###### Sort callbacks ################################################*/