The size comparison of the ifplugd daemon in busybox
Maksym Kryzhanovskyy
xmaks at email.cz
Tue Jun 8 12:48:35 UTC 2010
Maybe you'll also come in interesting, what would be the size of ifplugd _as is_
in busybox (minimalist ifpligd for busybox is 3590 bytes):
function old new delta
.rodata 131343 137432 +6089
work - 2209 +2209
daemon_fork - 2147 +2147
ifplugd_main 1 1791 +1790
action - 816 +816
interface_detect_beat_wlan - 794 +794
daemon_pid_file_is_running - 711 +711
static.range - 568 +568
daemon_close_allv - 493 +493
daemon_retval_wait - 453 +453
static.long_options - 448 +448
daemon_pid_file_create - 439 +439
daemon_signal_install - 413 +413
welcome_iface - 320 +320
interface_up - 269 +269
daemon_logv - 266 +266
static.txt - 256 +256
static.log_ident - 256 +256
lock_file - 242 +242
daemon_pid_file_kill_wait - 239 +239
callback - 216 +216
interface_detect_beat_priv - 199 +199
interface_detect_beat_mii - 199 +199
detect_beat_auto - 179 +179
daemon_unblock_sigs - 175 +175
daemon_reset_sigs - 175 +175
daemon_close_all - 175 +175
interface_detect_beat_ethtool - 156 +156
daemon_signal_next - 155 +155
daemon_reset_sigsv - 154 +154
interface_detect_beat_iff - 144 +144
daemon_retval_send - 138 +138
detect_beat - 136 +136
move_fd_up - 132 +132
daemon_unblock_sigsv - 122 +122
_null_open - 106 +106
daemon_nonblock - 95 +95
daemon_retval_init - 94 +94
daemon_signal_done - 89 +89
daemon_retval_done - 87 +87
daemon_set_verbosity - 81 +81
daemon_pid_file_proc_default - 79 +79
daemon_signal_init - 68 +68
_sigfunc - 61 +61
daemon_pid_file_remove - 50 +50
daemon_pid_file_kill - 49 +49
ifmonitor_cb - 44 +44
daemon_ident_from_argv0 - 41 +41
pid_file_proc - 40 +40
daemon_log - 33 +33
strstatus - 20 +20
static.__PRETTY_FUNCTION__ - 11 +11
daemon_signal_fd - 10 +10
_signal_pipe - 8 +8
_daemon_retval_pipe - 8 +8
sigchld - 5 +5
wait_on_kill - 4 +4
wait_on_fork - 4 +4
use_syslog - 4 +4
use_ifmonitor - 4 +4
use_beep - 4 +4
static.last_status - 4 +4
run1 - 4 +4
polltime - 4 +4
no_startup_script - 4 +4
no_shutdown_script - 4 +4
nlapi_fd - 4 +4
interface_do_message - 4 +4
interface_auto_up - 4 +4
interface - 4 +4
initial_down - 4 +4
ignore_retval - 4 +4
failure_status - 4 +4
extra_arg - 4 +4
disabled - 4 +4
detect_beat_func - 4 +4
delay_up - 4 +4
delay_down - 4 +4
daemonize1 - 4 +4
daemon_verbosity_level - 4 +4
daemon_pid_file_proc - 4 +4
daemon_pid_file_ident - 4 +4
daemon_log_use - 4 +4
daemon_log_ident - 4 +4
callbacks - 4 +4
cached_detect_beat_func - 4 +4
api_mode - 4 +4
------------------------------------------------------------------------------
(add/remove: 85/0 grow/shrink: 2/0 up/down: 22876/0) Total: 22876 bytes
text data bss dec hex filename
698322 2097 9048 709467 ad35b busybox_old
720351 2637 14604 737592 b4138 busybox_unstripped
Max
More information about the busybox
mailing list