LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1087 1309 83.0 %
Date: 2024-07-12 17:03:22 Functions: 139 161 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 776 1132 68.6 %

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_active_poller 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 5
spdk_thread_has_pollers 8
poller_set_interrupt_mode 10
spdk_poller_get_id 10
spdk_poller_get_name 10
spdk_poller_get_period_ticks 10
spdk_poller_get_state_str 10
spdk_poller_get_stats 10
spdk_interrupt_mode_enable 16
period_poller_interrupt_init 18
_thread_exit 20
spdk_thread_bind 20
thread_interrupt_create 20
thread_interrupt_destroy 20
poller_remove_timer 23
sspin_stacks_print 24
period_poller_set_interrupt_mode 28
spdk_thread_get_first_active_poller 30
spdk_thread_get_first_paused_poller 30
spdk_thread_get_first_timed_poller 30
spdk_thread_get_next_timed_poller 30
io_device_tree_RB_NEXT 36
spdk_thread_set_interrupt_mode 40
spdk_thread_get_interrupt_fd_group 70
sspin_stack_print 72
spdk_thread_is_bound 83
spdk_poller_resume 141
busy_poller_interrupt_init 168
busy_poller_set_interrupt_mode 168
_thread_remove_pollers 169
spdk_poller_pause 181
poller_interrupt_fini 186
spdk_interrupt_register 207
spdk_interrupt_register_for_events 207
spdk_poller_register 208
spdk_thread_get_count 314
spdk_thread_lib_init 330
spdk_interrupt_unregister 355
spdk_thread_get_by_id 413
_back_to_orig_thread 466
spdk_for_each_thread 466
_on_thread 510
thread_interrupt_msg_process 773
spdk_thread_get_name 851
spdk_poller_register_interrupt 854
spdk_thread_send_critical_msg 1449
thread_trace 2717
spdk_thread_lib_init_ext 2760
spdk_thread_lib_fini 3086
_thread_lib_init 3090
io_device_tree_RB_MINMAX 3102
_thread_trace 3405
register_flag_thread 3405
spdk_thread_is_running 3574
spdk_thread_get_stats 7771
_free_thread 7963
spdk_thread_destroy 7970
spdk_thread_create 8103
spdk_thread_exit 8110
interrupt_timerfd_process 10094
spdk_thread_set_cpumask 11866
io_channel_tree_RB_MINMAX 16033
timed_pollers_tree_RB_MINMAX 16287
spdk_thread_next_poller_expiration 22220
spdk_thread_get_cpumask 28208
spdk_thread_get_ctx 38222
spdk_thread_get_app_thread 38513
spdk_thread_is_app_thread 40325
_finish_unregister 41669
io_device_tree_RB_REMOVE_COLOR 43897
io_device_free 51857
io_device_tree_RB_INSERT_COLOR 51861
io_device_tree_RB_REMOVE 51861
spdk_io_device_unregister 51866
io_device_tree_RB_INSERT 51869
spdk_io_device_register 51869
spdk_thread_get_id 66427
io_channel_tree_RB_REMOVE_COLOR 98835
sspin_fini_internal 108130
spdk_spin_destroy 108134
io_channel_tree_RB_REMOVE 117653
io_channel_tree_RB_INSERT 117657
io_channel_tree_RB_INSERT_COLOR 117657
put_io_channel 117736
spdk_spin_init 149647
sspin_init_internal 149647
spdk_poller_register_named 302116
convert_us_to_ticks 302324
poller_register 302324
thread_insert_poller 302429
spdk_put_io_channel 352824
spdk_get_io_channel 352840
_call_completion 561960
spdk_for_each_channel 561960
_call_channel 621455
spdk_for_each_channel_continue 621455
spdk_poller_unregister 738949
spdk_io_channel_iter_get_channel 775007
spdk_io_channel_iter_get_io_device 814307
io_device_get 966678
io_device_tree_RB_FIND 966678
spdk_io_channel_iter_get_ctx 1187204
spdk_spin_held 1868614
spdk_spin_unlock 1961988
spdk_spin_lock 1961996
spdk_thread_has_active_pollers 1979965
_interrupt_wrapper 3830008
io_device_cmp 3943571
io_channel_tree_RB_FIND 4260953
thread_get_io_channel 4260953
thread_exit 5194555
spdk_thread_send_msg 5878931
thread_send_msg_notification 5880380
spdk_set_thread 9038716
io_channel_cmp 11746496
timed_pollers_tree_RB_REMOVE_COLOR 14327156
thread_execute_timed_poller 18723497
timed_pollers_tree_RB_REMOVE 18728314
poller_insert_timer 18728394
timed_pollers_tree_RB_INSERT 18728394
timed_pollers_tree_RB_INSERT_COLOR 18728394
timed_pollers_tree_RB_NEXT 18733674
spdk_io_channel_get_io_device 22251764
spdk_io_channel_from_ctx 29774996
spdk_thread_is_idle 95442294
thread_has_unpaused_pollers 95442302
spdk_interrupt_mode_is_enabled 97931606
timed_poller_compare 120307185
spdk_io_channel_get_thread 285462863
spdk_get_thread 362940242
spdk_thread_get_last_tsc 9819983042
spdk_thread_is_exited 9826668926
spdk_thread_poll 10039628449
thread_poll 10039628449
thread_update_stats 10039628449
msg_queue_run_batch 10039629100
_get_thread 10409412221
thread_execute_poller 11041677610
spdk_thread_get_from_ctx 19611541785

Generated by: LCOV version 1.14