LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1211 1547 78.3 %
Date: 2024-12-10 00:36:33 Functions: 142 168 84.5 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4160 10472 39.7 %

Function Name Sort by function name Hit count Sort by hit count
__posix_abort 0
interrupt_fd_group_wrapper 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_register_fd_group 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
spdk_thread_register_post_poller_handler 0
thread_run_pp_handlers 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
spdk_thread_get_first_active_poller 24
spdk_thread_get_first_paused_poller 24
spdk_thread_get_first_timed_poller 24
spdk_thread_get_next_timed_poller 24
sspin_stacks_print 25
io_device_tree_RB_NEXT 36
spdk_interrupt_mode_enable 40
spdk_poller_get_state_str 44
spdk_thread_is_bound 72
sspin_stack_print 75
thread_interrupt_create 120
thread_interrupt_destroy 120
spdk_thread_set_interrupt_mode 136
spdk_poller_resume 205
spdk_poller_pause 209
period_poller_interrupt_init 233
poller_remove_timer 237
period_poller_set_interrupt_mode 241
_thread_exit 243
spdk_poller_register 243
spdk_thread_get_interrupt_fd_group 264
spdk_thread_get_by_id 370
spdk_thread_lib_init 371
spdk_thread_get_count 393
_back_to_orig_thread 519
spdk_for_each_thread 519
_on_thread 634
spdk_thread_get_name 854
busy_poller_interrupt_init 1032
busy_poller_set_interrupt_mode 1032
_thread_remove_pollers 1225
poller_interrupt_fini 1265
spdk_thread_send_critical_msg 1274
spdk_interrupt_register 1293
alloc_interrupt 1491
spdk_interrupt_register_ext 1491
spdk_interrupt_register_for_events 1491
spdk_poller_register_interrupt 1744
thread_trace 2189
spdk_thread_lib_init_ext 2239
spdk_thread_lib_fini 2602
_thread_lib_init 2610
io_device_tree_RB_MINMAX 2618
_thread_trace 2869
register_flag_thread 2869
spdk_thread_is_running 3057
spdk_interrupt_unregister 3353
spdk_thread_get_stats 6767
_free_thread 7109
spdk_thread_destroy 7117
spdk_thread_create 7247
spdk_thread_exit 7258
spdk_thread_set_cpumask 12004
io_channel_tree_RB_MINMAX 14329
timed_pollers_tree_RB_MINMAX 15835
spdk_thread_get_app_thread 22355
spdk_thread_next_poller_expiration 23124
spdk_thread_get_cpumask 27858
_finish_unregister 34846
spdk_thread_is_app_thread 35128
io_device_tree_RB_REMOVE_COLOR 36246
spdk_thread_get_ctx 36810
io_device_free 44047
io_device_tree_RB_INSERT_COLOR 44051
io_device_tree_RB_REMOVE 44051
spdk_io_device_unregister 44055
io_device_tree_RB_INSERT 44059
spdk_io_device_register 44059
spdk_thread_get_id 77303
io_channel_tree_RB_REMOVE_COLOR 81591
interrupt_timerfd_process 84882
sspin_fini_internal 89750
spdk_spin_destroy 89754
io_channel_tree_RB_REMOVE 96647
io_channel_tree_RB_INSERT 96655
io_channel_tree_RB_INSERT_COLOR 96655
put_io_channel 96715
spdk_spin_init 129838
sspin_init_internal 129838
spdk_poller_register_named 155538
poller_register 155783
convert_us_to_ticks 155785
thread_insert_poller 155910
spdk_put_io_channel 306059
spdk_get_io_channel 306084
spdk_poller_unregister 373400
_call_completion 617797
spdk_for_each_channel 617797
_call_channel 709777
spdk_for_each_channel_continue 709777
spdk_io_channel_iter_get_channel 719472
thread_interrupt_msg_process 756290
spdk_io_channel_iter_get_io_device 790307
io_device_get 967947
io_device_tree_RB_FIND 967947
spdk_io_channel_iter_get_ctx 1343619
spdk_spin_held 1838496
spdk_spin_unlock 1996453
spdk_spin_lock 1996463
spdk_thread_has_active_pollers 3812033
io_device_cmp 3910935
thread_exit 4078691
io_channel_tree_RB_FIND 4290601
thread_get_io_channel 4290601
io_channel_cmp 11129343
spdk_thread_send_msg 13462671
thread_send_msg_notification 13463945
spdk_io_channel_get_io_device 13824471
spdk_io_channel_from_ctx 18827447
timed_pollers_tree_RB_REMOVE_COLOR 21345723
thread_execute_timed_poller 24126186
timed_pollers_tree_RB_REMOVE 24133458
poller_insert_timer 24133538
timed_pollers_tree_RB_INSERT 24133538
timed_pollers_tree_RB_INSERT_COLOR 24133538
timed_pollers_tree_RB_NEXT 24141597
spdk_thread_is_idle 60144800
thread_has_unpaused_pollers 60149033
spdk_interrupt_mode_is_enabled 141495771
timed_poller_compare 189402214
_interrupt_wrapper 216930011
spdk_io_channel_get_thread 344935124
spdk_set_thread 437103484
spdk_get_thread 681466028
thread_execute_poller 5811514966
spdk_thread_is_exited 7801821617
spdk_thread_get_last_tsc 7806324253
thread_poll 8031029883
msg_queue_run_batch 8031141568
spdk_thread_poll 8031232959
thread_update_stats 8031571053
_get_thread 8717803062
spdk_thread_get_from_ctx 15529316535

Generated by: LCOV version 1.14