LCOV - code coverage report
Current view: top level - third_party/socket_wrapper - socket_wrapper.c (source / functions) Hit Total Coverage
Test: coverage report for master 2f515e9b Lines: 2671 3908 68.3 %
Date: 2024-04-21 15:09:00 Functions: 147 171 86.0 %

Function Name Sort by function name Hit count Sort by hit count
__close_nocancel 0
__swrap_bind_symbol_all_once 170687
_socket_wrapper_init_mutex 1256290
_swrap_bind_symbol 6827480
_swrap_mutex_lock 279671495
_swrap_mutex_unlock 279610018
convert_in_un_alloc 4925
convert_in_un_remote 16741889
convert_un_in 309644
find_socket_info 80008288
find_socket_info_index 507578142
getprogname 85863309
libc___close_nocancel 0
libc_accept4 208131
libc_bind 275912
libc_close 67651663
libc_connect 16755508
libc_dup 165908
libc_dup2 375850
libc_eventfd 48235
libc_fopen 2861043
libc_fopen64 76464
libc_getpeername 14090
libc_getsockname 1271124
libc_getsockopt 644934
libc_listen 4479
libc_open 74536420
libc_pipe 867172
libc_read 8739618
libc_readv 13777892
libc_recv 9002984
libc_recvfrom 75620
libc_recvmmsg 0
libc_recvmsg 3360176
libc_send 1025186
libc_sendmmsg 69
libc_sendmsg 2321473
libc_sendto 63096
libc_setsockopt 62485
libc_signalfd 0
libc_socket 1725215
libc_socketpair 1709
libc_timerfd_create 0
libc_vfcntl 294406485
libc_vfcntl64 65686
libc_vioctl 2906184
libc_vopen 80247612
libc_vopen64 1402419
libc_vopenat 5900004
libc_vopenat64 4466
libc_vsyscall 753084
libc_write 5730524
libc_writev 13657003
reset_socket_info_index 2011729
set_port 212485
set_socket_info_index 3725483
sockaddr_convert_from_un 309644
sockaddr_convert_to_un 16746814
socket_length 145955
socket_wrapper_default_iface 435773
socket_wrapper_dir 18713747
socket_wrapper_enabled 1757233
socket_wrapper_indicate_no_inet_fd 0
socket_wrapper_init_fds_idx 39919
socket_wrapper_init_sockets 1757210
socket_wrapper_max_sockets 39919
socket_wrapper_mtu 37266987
socket_wrapper_syscall_va 0
socket_wrapper_syscall_valid 0
swrap___close_nocancel 0
swrap_accept 212769
swrap_add_socket_info 1697671
swrap_auto_bind 214056
swrap_bind 67994
swrap_bind_symbol_all 608082417
swrap_bindresvport_sa 0
swrap_close 64294858
swrap_close_fd_array 0
swrap_connect 331953
swrap_constructor 170687
swrap_create_socket 1695853
swrap_dec_fd_passed_array 0
swrap_dec_refcount 1976946
swrap_destructor 219175
swrap_dir_usable 18713724
swrap_dup 169725
swrap_dup2 384371
swrap_eventfd 49172
swrap_fopen 2945605
swrap_fopen64 79029
swrap_get_next_free 1667290
swrap_get_refcount 1976946
swrap_get_socket_info 64073573
swrap_getpeername 220006
swrap_getsockname 1556309
swrap_getsockopt 651839
swrap_inc_refcount 1683373
swrap_inject_o_largefile 86874205
swrap_ipv4_bcast 16736303
swrap_ipv4_iface 525297
swrap_ipv4_net 34052300
swrap_ipv6 6347
swrap_is_swrap_related_syscall 36583393
swrap_listen 4567
swrap_load_lib_handle 6827480
swrap_log 86501627
swrap_msghdr_add_cmsghdr 0
swrap_msghdr_add_pktinfo 0
swrap_msghdr_add_socket_info 0
swrap_noop_close 16072282
swrap_pcap_dump_packet 39574649
swrap_pcap_get_fd 37268210
swrap_pcap_init_file 39574649
swrap_pcap_marshall_packet 37475809
swrap_pcap_packet_init 37268210
swrap_pipe 871123
swrap_read 23993656
swrap_readv 13822469
swrap_recv 9050307
swrap_recvfrom 77759
swrap_recvmmsg 0
swrap_recvmsg 3452703
swrap_recvmsg_after 23335697
swrap_recvmsg_after_unix 232827
swrap_recvmsg_before 23345489
swrap_recvmsg_before_unix 232827
swrap_recvmsg_unix_scm_rights 69609
swrap_recvmsg_unix_sol_socket 69609
swrap_remove_stale 15733112
swrap_remove_wrapper 83513865
swrap_send 17458167
swrap_sendmmsg 69
swrap_sendmsg 2406100
swrap_sendmsg_after 14120742
swrap_sendmsg_after_unix 556587
swrap_sendmsg_before 30566078
swrap_sendmsg_before_unix 556590
swrap_sendmsg_copy_cmsg 0
swrap_sendmsg_filter_cmsg_ipproto_ip 0
swrap_sendmsg_filter_cmsg_pktinfo 0
swrap_sendmsg_filter_cmsg_sol_socket 0
swrap_sendmsg_filter_cmsghdr 0
swrap_sendmsg_unix_scm_rights 70318
swrap_sendmsg_unix_sol_socket 70318
swrap_sendto 59830
swrap_set_next_free 2598890399
swrap_setsockopt 134760
swrap_signalfd 0
swrap_sockaddr_string 33174273
swrap_socket 1756846
swrap_socketpair 1879
swrap_str_lib 6629560
swrap_syscall 386
swrap_thread_child 8783
swrap_thread_parent 1315971
swrap_thread_prepare 1324754
swrap_timerfd_create 0
swrap_un_path 36260076
swrap_un_path_EINVAL 4931
swrap_undo_si_idx_array 0
swrap_uwrap_syscall_va 35911926
swrap_uwrap_syscall_valid 36665010
swrap_vfcntl 310070168
swrap_vfcntl64 67131
swrap_vioctl 2949154
swrap_vopen 5711192
swrap_vopen64 1402419
swrap_vopenat 5900004
swrap_vopenat64 4466
swrap_write 23131171
swrap_writev 13721024

Generated by: LCOV version 1.14