procps/proc/libprocps.sym
Jim Warner e4f0b4ebf3 library: tweak newly added MemAvailable fall-back code
This commit just ensures recalculation of some amounts
for iterative processes, like top. It also trades some
repeated runtime calls to sysconf for a one time cost.

Reference(s):
http://www.freelists.org/post/procps/systemd-support-to-library,7
. fall-back calculations
commit b779855cf1

Signed-off-by: Jim Warner <james.warner@comcast.net>
2014-07-18 20:49:57 +02:00

70 lines
992 B
Plaintext

LIBPROCPS_0 {
global:
Hertz;
closeproc;
cpuinfo;
dev_to_tty;
display_version;
escape_command;
escape_str;
escape_strlist;
escaped_copy;
free_slabinfo;
freeproc;
get_ns_id;
get_ns_name;
get_pid_digits;
get_slabinfo;
getbtime;
getdiskstat;
getpartitions_num;
getslabinfo;
getstat;
kb_active;
kb_high_free;
kb_high_total;
kb_inactive;
kb_low_free;
kb_low_total;
kb_main_available;
kb_main_buffers;
kb_main_cached;
kb_main_free;
kb_main_shared;
kb_main_total;
kb_main_used;
kb_swap_free;
kb_swap_total;
kb_swap_used;
linux_version_code;
loadavg;
look_up_our_self;
lookup_wchan;
meminfo;
open_psdb;
open_psdb_message;
openproc;
page_bytes;
pretty_print_signals;
print_uptime;
procps_version;
put_slabinfo;
readeither;
readproc;
readproctab2;
readproctab3;
readproctab;
readtask;
signal_name_to_number;
signal_number_to_name;
smp_num_cpus;
sprint_uptime;
strtosig;
tty_to_dev;
unix_print_signals;
uptime;
user_from_uid;
local:
*;
};