LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1089 1309 83.2 %
Date: 2024-08-13 00:13:26 Functions: 140 161 87.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 777 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_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 6
poller_set_interrupt_mode 8
spdk_poller_get_id 8
spdk_poller_get_name 8
spdk_poller_get_period_ticks 8
spdk_poller_get_state_str 8
spdk_poller_get_stats 8
spdk_thread_has_pollers 10
spdk_interrupt_mode_enable 13
period_poller_interrupt_init 15
_thread_exit 17
thread_interrupt_create 17
thread_interrupt_destroy 17
poller_remove_timer 19
spdk_thread_bind 21
period_poller_set_interrupt_mode 23
sspin_stacks_print 28
spdk_thread_set_interrupt_mode 33
io_device_tree_RB_NEXT 45
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_next_timed_poller 78
sspin_stack_print 84
spdk_thread_get_next_active_poller 96
spdk_thread_is_bound 110
spdk_thread_get_first_active_poller 126
spdk_thread_get_first_paused_poller 126
spdk_thread_get_first_timed_poller 126
busy_poller_interrupt_init 139
busy_poller_set_interrupt_mode 139
_thread_remove_pollers 141
poller_interrupt_fini 154
spdk_interrupt_register 172
spdk_interrupt_register_for_events 172
spdk_poller_resume 224
spdk_poller_pause 229
spdk_poller_register 258
spdk_interrupt_unregister 322
spdk_thread_get_count 373
spdk_thread_lib_init 416
_back_to_orig_thread 557
spdk_for_each_thread 557
spdk_thread_get_by_id 577
thread_interrupt_msg_process 654
_on_thread 744
spdk_thread_get_name 1087
spdk_thread_send_critical_msg 1273
thread_trace 2155
spdk_poller_register_interrupt 2162
spdk_thread_lib_init_ext 2208
spdk_thread_lib_fini 2619
_thread_lib_init 2624
io_device_tree_RB_MINMAX 2639
_thread_trace 2919
register_flag_thread 2919
spdk_thread_is_running 3213
_free_thread 7123
spdk_thread_destroy 7132
spdk_thread_create 7303
spdk_thread_exit 7303
spdk_thread_get_stats 8015
interrupt_timerfd_process 9082
spdk_thread_set_cpumask 11686
io_channel_tree_RB_MINMAX 14390
timed_pollers_tree_RB_MINMAX 14712
spdk_thread_get_app_thread 23163
spdk_thread_next_poller_expiration 23958
spdk_thread_get_cpumask 26303
spdk_thread_is_app_thread 34721
spdk_thread_get_ctx 35942
_finish_unregister 36210
io_device_tree_RB_REMOVE_COLOR 37487
io_device_free 45292
io_device_tree_RB_INSERT_COLOR 45297
io_device_tree_RB_REMOVE 45297
spdk_io_device_unregister 45303
io_device_tree_RB_INSERT 45307
spdk_io_device_register 45307
spdk_thread_get_id 78780
io_channel_tree_RB_REMOVE_COLOR 79020
sspin_fini_internal 86762
spdk_spin_destroy 86767
io_channel_tree_RB_REMOVE 96569
io_channel_tree_RB_INSERT 96579
io_channel_tree_RB_INSERT_COLOR 96579
put_io_channel 96631
spdk_spin_init 125748
sspin_init_internal 125748
spdk_poller_register_named 161171
convert_us_to_ticks 161429
poller_register 161429
thread_insert_poller 161553
spdk_put_io_channel 281198
spdk_get_io_channel 281223
spdk_poller_unregister 307779
thread_exit 623010
_call_completion 671631
spdk_for_each_channel 671631
spdk_io_channel_iter_get_channel 677006
spdk_io_channel_iter_get_io_device 688905
_call_channel 740832
spdk_for_each_channel_continue 740832
io_device_get 998172
io_device_tree_RB_FIND 998172
spdk_io_channel_iter_get_ctx 1338731
spdk_thread_has_active_pollers 1830908
_interrupt_wrapper 2200995
spdk_spin_unlock 2268813
spdk_spin_lock 2268819
io_channel_tree_RB_FIND 4034687
thread_get_io_channel 4034687
io_device_cmp 4332644
spdk_set_thread 6085351
spdk_spin_held 7436593
io_channel_cmp 11289192
spdk_thread_send_msg 13035584
thread_send_msg_notification 13036857
spdk_io_channel_get_io_device 18602890
timed_pollers_tree_RB_REMOVE_COLOR 19111083
thread_execute_timed_poller 23348807
timed_pollers_tree_RB_REMOVE 23354201
poller_insert_timer 23354301
timed_pollers_tree_RB_INSERT 23354301
timed_pollers_tree_RB_INSERT_COLOR 23354301
timed_pollers_tree_RB_NEXT 23360219
spdk_io_channel_from_ctx 24170375
spdk_thread_is_idle 56041999
thread_has_unpaused_pollers 56042009
timed_poller_compare 137104065
spdk_interrupt_mode_is_enabled 310192375
spdk_io_channel_get_thread 381377052
spdk_get_thread 483218836
spdk_thread_is_exited 9517223928
spdk_thread_get_last_tsc 9519975120
thread_execute_poller 9652971072
spdk_thread_poll 9724113772
thread_poll 9724113772
thread_update_stats 9724113772
msg_queue_run_batch 9724114426
_get_thread 10221362208
spdk_thread_get_from_ctx 18993369633

Generated by: LCOV version 1.14