library: sysstat and vmstat api changes
Use the standard libc declarations. For protecting the headers for C++ procps used to have its own defines, this change makes them use the standard libc ones. getstat() -> procps_stat_* vminfo() -> procps_vmstat_* These two components of the library now use the newer version of the API with less exposed global variables. The old methods are there for now. Signed-off-by: Craig Small <csmall@enc.com.au>
This commit is contained in:
@@ -60,6 +60,17 @@ global:
|
||||
uptime;
|
||||
user_from_uid;
|
||||
procps_linux_version;
|
||||
procps_stat_new;
|
||||
procps_stat_read;
|
||||
procps_stat_ref;
|
||||
procps_stat_unref;
|
||||
procps_stat_get_cpu;
|
||||
procps_stat_get;
|
||||
procps_vmstat_new;
|
||||
procps_vmstat_read;
|
||||
procps_vmstat_ref;
|
||||
procps_vmstat_unref;
|
||||
procps_vmstat_get;
|
||||
local:
|
||||
*;
|
||||
};
|
||||
|
Reference in New Issue
Block a user