procps/proc/libprocps.sym
Jim Warner 73d7a18d66 library: extend cpu jiff logic beyond cpu summary info
There was not a way I could see to support top's needs
for cpu information with the new 'chained' provisions.
The sheer quantity of such data plus the unpredictable
number of potential processors suggested a totally new
approach was warranted while keeping internals opaque.

So this patch introduces two new structures solely for
use by potential callers (as seen in the API). They're
responsible for providing them to the library which is
then responsible for filling them with requested data.

The top program will continue to provide numa support,
without involving the library in any of those details.
[ not to mention all the 'dl' and 'stderr' numa crap ]

With this transfer of the cpu tics duty to our library
the provision associated with the CPU_ZEROTICS #define
could not initially be migrated. The commit referenced
below suggests it may have lost its importance. In any
case such logic may yet be incorporated in the future.
But for now, that #define has been completely removed.

Reference(s):
commit ee3ed4b45e

Signed-off-by: Jim Warner <james.warner@comcast.net>
2015-06-29 21:31:03 +10:00

93 lines
1.5 KiB
Plaintext

LIBPROCPS_0 {
global:
closeproc;
cpuinfo;
dev_to_tty;
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;
loadavg;
look_up_our_self;
lookup_wchan;
meminfo;
openproc;
page_bytes;
pretty_print_signals;
print_uptime;
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;
user_from_uid;
uptime;
sprint_uptime;
sprint_uptime_short;
procps_hertz_get;
procps_linux_version;
procps_meminfo_new;
procps_meminfo_read;
procps_meminfo_ref;
procps_meminfo_unref;
procps_meminfo_get;
procps_meminfo_get_chain;
procps_stat_new;
procps_stat_read;
procps_stat_read_jiffs;
procps_stat_ref;
procps_stat_unref;
procps_stat_get_cpu;
procps_stat_get_cpu_chain;
procps_stat_get_jiffs;
procps_stat_get_jiffs_all;
procps_stat_get_jiffs_hist;
procps_stat_get_jiffs_hist_all;
procps_stat_get_sys;
procps_stat_get_sys_chain;
procps_vmstat_new;
procps_vmstat_read;
procps_vmstat_ref;
procps_vmstat_unref;
procps_vmstat_get;
procps_vmstat_get_chain;
local:
*;
};