LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1204 1483 81.2 %
Date: 2024-11-20 10:56:54 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4192 10270 40.8 %

Function Name Sort by function name Hit count Sort by hit count
__posix_abort 0
io_channel_tree_RB_NEXT 0
io_channel_tree_RB_NFIND 0
io_channel_tree_RB_PREV 0
io_channel_tree_RB_REINSERT 0
io_device_tree_RB_NFIND 0
io_device_tree_RB_PREV 0
io_device_tree_RB_REINSERT 0
spdk_interrupt_set_event_types 0
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_device_get_name 0
spdk_thread_get_first_io_channel 0
spdk_thread_get_interrupt_fd 0
spdk_thread_get_next_io_channel 0
spdk_thread_get_next_paused_poller 0
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
wrong_thread 0
__pending_unregister 4
spdk_thread_get_trace_id 6
poller_set_interrupt_mode 8
spdk_thread_has_pollers 8
spdk_poller_get_name 16
spdk_poller_get_period_ticks 16
spdk_poller_get_stats 16
spdk_poller_get_id 20
spdk_thread_bind 20
sspin_stacks_print 25
io_device_tree_RB_NEXT 36
spdk_interrupt_mode_enable 41
spdk_poller_get_state_str 44
sspin_stack_print 75
spdk_thread_get_next_timed_poller 78
spdk_thread_get_next_active_poller 96
spdk_thread_is_bound 116
thread_interrupt_create 122
thread_interrupt_destroy 122
spdk_thread_get_first_active_poller 126
spdk_thread_get_first_paused_poller 126
spdk_thread_get_first_timed_poller 126
spdk_thread_set_interrupt_mode 138
spdk_poller_resume 187
spdk_poller_pause 191
period_poller_interrupt_init 240
spdk_poller_register 243
poller_remove_timer 244
_thread_exit 247
period_poller_set_interrupt_mode 248
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 350
spdk_thread_get_count 397
_back_to_orig_thread 534
spdk_for_each_thread 534
spdk_thread_get_by_id 607
_on_thread 745
spdk_thread_get_name 1078
spdk_thread_send_critical_msg 1220
busy_poller_interrupt_init 1488
busy_poller_set_interrupt_mode 1488
_thread_remove_pollers 1609
poller_interrupt_fini 1728
spdk_interrupt_register 1758
spdk_interrupt_register_for_events 1956
spdk_interrupt_register_ext 1957
thread_trace 2076
spdk_thread_lib_init_ext 2126
spdk_poller_register_interrupt 2386
spdk_thread_lib_fini 2472
_thread_lib_init 2476
io_device_tree_RB_MINMAX 2488
_thread_trace 2737
register_flag_thread 2737
spdk_thread_is_running 2924
spdk_interrupt_unregister 3538
_free_thread 6930
spdk_thread_destroy 6938
spdk_thread_create 7064
spdk_thread_exit 7080
spdk_thread_get_stats 7901
spdk_thread_set_cpumask 11856
io_channel_tree_RB_MINMAX 13971
timed_pollers_tree_RB_MINMAX 15966
spdk_thread_next_poller_expiration 17569
spdk_thread_get_app_thread 21568
spdk_thread_get_cpumask 27722
_finish_unregister 32326
spdk_thread_is_app_thread 33395
io_device_tree_RB_REMOVE_COLOR 33996
spdk_thread_get_ctx 36339
io_device_free 40688
io_device_tree_RB_INSERT_COLOR 40692
io_device_tree_RB_REMOVE 40692
spdk_io_device_unregister 40696
io_device_tree_RB_INSERT 40700
spdk_io_device_register 40700
spdk_thread_get_id 69018
io_channel_tree_RB_REMOVE_COLOR 79039
sspin_fini_internal 86929
spdk_spin_destroy 86933
interrupt_timerfd_process 92753
io_channel_tree_RB_REMOVE 92839
io_channel_tree_RB_INSERT 92847
io_channel_tree_RB_INSERT_COLOR 92847
put_io_channel 92910
spdk_spin_init 123742
sspin_init_internal 123742
spdk_poller_register_named 157081
convert_us_to_ticks 157324
poller_register 157324
thread_insert_poller 157431
spdk_put_io_channel 294793
spdk_get_io_channel 294809
spdk_poller_unregister 324903
_call_completion 570469
spdk_for_each_channel 570469
_call_channel 654261
spdk_for_each_channel_continue 654261
spdk_io_channel_iter_get_channel 671809
spdk_io_channel_iter_get_io_device 813207
io_device_get 905988
io_device_tree_RB_FIND 905988
thread_interrupt_msg_process 952616
spdk_spin_held 1171988
spdk_io_channel_iter_get_ctx 1242553
spdk_spin_unlock 1993741
spdk_spin_lock 1993755
thread_exit 3560525
spdk_thread_has_active_pollers 3646569
io_device_cmp 3724700
io_channel_tree_RB_FIND 4205187
thread_get_io_channel 4205187
io_channel_cmp 11197907
spdk_thread_send_msg 12539876
thread_send_msg_notification 12541097
spdk_io_channel_get_io_device 14170008
spdk_io_channel_from_ctx 19435279
timed_pollers_tree_RB_REMOVE_COLOR 21700990
thread_execute_timed_poller 24458714
timed_pollers_tree_RB_REMOVE 24466175
poller_insert_timer 24466256
timed_pollers_tree_RB_INSERT 24466256
timed_pollers_tree_RB_INSERT_COLOR 24466256
timed_pollers_tree_RB_NEXT 24474953
thread_has_unpaused_pollers 58968608
spdk_thread_is_idle 58972798
spdk_interrupt_mode_is_enabled 143799857
timed_poller_compare 187519046
_interrupt_wrapper 258182535
spdk_io_channel_get_thread 313695602
spdk_set_thread 519558051
spdk_get_thread 679921314
thread_execute_poller 6565892715
spdk_thread_get_last_tsc 7152290064
spdk_thread_is_exited 7154588633
spdk_thread_poll 7382048756
thread_update_stats 7382101907
thread_poll 7382362731
msg_queue_run_batch 7383680541
_get_thread 8068127866
spdk_thread_get_from_ctx 14230930044

Generated by: LCOV version 1.15