procps/proc/library.map

25 lines
1.1 KiB
Plaintext
Raw Normal View History

# for --version-script
# WTF is the syntax for this file?
# Give me a BNF, man!
2005-06-10 21:13:15 +05:30
_3_2_5 {
2003-01-24 15:45:23 +05:30
global:
2003-02-09 12:57:16 +05:30
__cyg_profile_func_enter; __cyg_profile_func_exit; main;
2003-10-16 09:00:41 +05:30
readproc; readtask; readproctab; readproctab2; look_up_our_self; escape_command;
enhanced libproc cgroup/cmdline support, exploited by top Library Changes . added PROC_EDITCMDLCVT flag . added an internal (static) fill_cmdline_cvt function: - reads and "escapes" /proc/#/cmdline - returns result as a single string in a single vector - callers are guaranteed a cmdline (no more NULL) . added vectorize_this_str function, exploited by fill_cgroup_cvt, fill_cmdline_cvt . generalized read_cmdline function as read_unvectored, now exploited by fill_cgroup_cvt, fill_cmdline_cvt, read_cmdline ( cgroup and cmdline no longer need be converted to string ) ( vectors before being transformed to final representation ) . fixed bug regarding skipped group numbers (when enabled) . escape_str made responsible for all single byte translation with distinction between control chars + other unprintable . added escaped_copy function for already escaped strings . reorganized parts of proc_t to restore formatting standards ( displacement changes shouldn't matter with new version # ) . former ZAP_SUSEONLY #define now OOMEM_ENABLE . added to library.map: escaped_copy; read_cmdline Top Program Changes . exploited the new PROC_EDITCMDLCVT provision . eliminated now obsolete #include "proc/escape.h" . changed the P_WCH display format if no kernel symbol table . fixed very old bug in lflgs for out-of-view sort fields . former ZAP_SUSEONLY #define now OOMEM_ENABLE Ps Program Changes . exploited the new PROC_EDITCMDLCVT provision . exploited the new escaped_copy function . consolidated pr_args and pr_comm into pr_argcom Signed-off-by: Jan Görig <jgorig@redhat.com>
2011-05-18 14:03:44 +05:30
escape_str; escape_strlist; escaped_copy; read_cmdline;
2003-01-25 13:11:45 +05:30
openproc; closeproc;
tty_to_dev; dev_to_tty; open_psdb_message; open_psdb; lookup_wchan;
2003-01-25 13:11:45 +05:30
display_version; procps_version; linux_version_code;
Hertz; smp_num_cpus; have_privs; getbtime;
2003-01-25 13:11:45 +05:30
sprint_uptime; uptime; user_from_uid; print_uptime; loadavg;
2003-03-18 05:12:00 +05:30
pretty_print_signals; print_given_signals; unix_print_signals; signal_name_to_number; signal_number_to_name;
2003-08-11 05:10:41 +05:30
meminfo; vminfo; getstat; getdiskstat; getpartitions_num; getslabinfo; get_pid_digits;
2003-01-24 15:45:23 +05:30
kb_active; kb_inactive; kb_main_buffers; kb_main_cached;
kb_main_free; kb_main_total; kb_main_used; kb_swap_free;
2003-01-25 13:11:45 +05:30
kb_swap_total; kb_swap_used; kb_main_shared;
2004-01-30 10:17:14 +05:30
kb_low_total; kb_low_free; kb_high_total; kb_high_free;
vm_pgpgin; vm_pgpgout; vm_pswpin; vm_pswpout;
free_slabinfo; put_slabinfo; get_slabinfo; get_proc_stats;
2003-01-24 15:45:23 +05:30
local: *;
2003-01-15 16:22:39 +05:30
};