library: rename the 'slab' sources as 'slabinfo' files
Where possible, libprocps files convey the name of the actual source pseudo file under the '/proc' directory. This patch brings slab into line with such a standard. Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
d2b29312bb
commit
5be4167782
@ -193,8 +193,8 @@ proc_libprocps_la_SOURCES = \
|
||||
proc/pwcache.h \
|
||||
proc/readproc.c \
|
||||
proc/readproc.h \
|
||||
proc/slab.c \
|
||||
proc/slab.h \
|
||||
proc/slabinfo.c \
|
||||
proc/slabinfo.h \
|
||||
proc/stat.c \
|
||||
proc/stat.h \
|
||||
proc/sysinfo.c \
|
||||
@ -218,7 +218,7 @@ proc_libprocps_la_include_HEADERS = \
|
||||
proc/procps.h \
|
||||
proc/pwcache.h \
|
||||
proc/readproc.h \
|
||||
proc/slab.h \
|
||||
proc/slabinfo.h \
|
||||
proc/sysinfo.h \
|
||||
proc/uptime.h \
|
||||
proc/version.h \
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <proc/meminfo.h>
|
||||
#include <proc/namespace.h>
|
||||
#include <proc/pids.h>
|
||||
#include <proc/slab.h>
|
||||
#include <proc/slabinfo.h>
|
||||
#include <proc/stat.h>
|
||||
#include <proc/sysinfo.h>
|
||||
#include <proc/version.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* slab.c - slab related functions for libproc
|
||||
* slabinfo.c - slab related functions for libproc
|
||||
*
|
||||
* Chris Rivera <cmrivera@ufl.edu>
|
||||
* Robert Love <rml@tech9.net>
|
||||
@ -35,7 +35,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <proc/slab.h>
|
||||
#include <proc/slabinfo.h>
|
||||
#include "procps-private.h"
|
||||
|
||||
#define SLABINFO_FILE "/proc/slabinfo"
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* slab.h - slab related functions for libproc
|
||||
* slabinfo.h - slab related functions for libproc
|
||||
*
|
||||
* Copyright (C) 1998-2005 Albert Cahalan
|
||||
* Copyright (C) 2015 Craig Small <csmall@enc.com.au>
|
Loading…
Reference in New Issue
Block a user