readproc still had some of the old API hanging around that was good while we were trying it out, but its time to say goodbye: readproc.h removed from public procps.h header file enum ns_type - not used - removed get_ns_name() - not defined - removed get_ns_id() - not defined - removed PROCTAB proc_t only used internal to library readproctab() and 2,3 friends not used - removed proc_data_t was used by readproctab23() - removed readtask() - not used - removed read_cmdline() - copy,renamed and made generic - remove original freeproc() - not used - removed get_proc_status - not used - removed, however there should be a new function created that does this. Given a PID return data about it instead of scanning the entire procfs. Maybe it already does. Left as internal-to-library only functions: readproc(), readeither(), look_up_our_self(), openproc(), closeproc() Updated libprocps.sym to export only what we use.
83 lines
1.8 KiB
Plaintext
83 lines
1.8 KiB
Plaintext
LIBPROCPS_0 {
|
|
global:
|
|
escape_command;
|
|
escape_str;
|
|
escape_strlist;
|
|
escaped_copy;
|
|
fatal_proc_unmounted;
|
|
procps_cpu_count;
|
|
procps_diskstat_dev_count;
|
|
procps_diskstat_dev_get;
|
|
procps_diskstat_dev_getbyname;
|
|
procps_diskstat_dev_getname;
|
|
procps_diskstat_dev_isdisk;
|
|
procps_diskstat_new;
|
|
procps_diskstat_read;
|
|
procps_diskstat_ref;
|
|
procps_diskstat_unref;
|
|
procps_hertz_get;
|
|
procps_linux_version;
|
|
procps_loadavg;
|
|
procps_meminfo_new;
|
|
procps_meminfo_read;
|
|
procps_meminfo_ref;
|
|
procps_meminfo_unref;
|
|
procps_meminfo_get;
|
|
procps_meminfo_getstack;
|
|
procps_meminfo_stack_fill;
|
|
procps_meminfo_stack_alloc;
|
|
procps_ns_get_name;
|
|
procps_ns_get_id;
|
|
procps_ns_read_pid;
|
|
procps_pid_length;
|
|
procps_pids_new;
|
|
procps_pids_read_next;
|
|
procps_pids_read_open;
|
|
procps_pids_read_shut;
|
|
procps_pids_reap;
|
|
procps_pids_ref;
|
|
procps_pids_reset;
|
|
procps_pids_select;
|
|
procps_pids_sort;
|
|
procps_pids_unref;
|
|
procps_slabinfo_new;
|
|
procps_slabinfo_read;
|
|
procps_slabinfo_ref;
|
|
procps_slabinfo_unref;
|
|
procps_slabs_get;
|
|
procps_slabs_getstack;
|
|
procps_slabnode_count;
|
|
procps_slabnode_getname;
|
|
procps_slabnode_get;
|
|
procps_slabnode_getstack;
|
|
procps_slabnode_stack_fill;
|
|
procps_slabnode_stack_alloc;
|
|
procps_slabnode_stacks_fill;
|
|
procps_slabnode_stacks_sort;
|
|
procps_slabnode_stacks_alloc;
|
|
procps_stat_new;
|
|
procps_stat_read;
|
|
procps_stat_read_jiffs;
|
|
procps_stat_ref;
|
|
procps_stat_unref;
|
|
procps_stat_cpu_get;
|
|
procps_stat_cpu_getstack;
|
|
procps_stat_jiffs_get;
|
|
procps_stat_jiffs_hist_get;
|
|
procps_stat_jiffs_fill;
|
|
procps_stat_jiffs_hist_fill;
|
|
procps_stat_sys_get;
|
|
procps_stat_sys_getstack;
|
|
procps_uptime;
|
|
procps_uptime_sprint;
|
|
procps_uptime_sprint_short;
|
|
procps_vmstat_new;
|
|
procps_vmstat_read;
|
|
procps_vmstat_ref;
|
|
procps_vmstat_unref;
|
|
procps_vmstat_get;
|
|
procps_vmstat_getstack;
|
|
local:
|
|
*;
|
|
};
|