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 09:06:21 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4143 10270 40.3 %

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 119
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 204
spdk_poller_pause 208
period_poller_interrupt_init 237
poller_remove_timer 241
spdk_poller_register 243
_thread_exit 245
period_poller_set_interrupt_mode 245
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 356
spdk_thread_get_count 402
_back_to_orig_thread 532
spdk_for_each_thread 532
spdk_thread_get_by_id 633
_on_thread 743
spdk_thread_get_name 1068
busy_poller_interrupt_init 1091
busy_poller_set_interrupt_mode 1091
spdk_thread_send_critical_msg 1249
_thread_remove_pollers 1250
poller_interrupt_fini 1328
spdk_interrupt_register 1358
spdk_interrupt_register_for_events 1556
spdk_interrupt_register_ext 1557
thread_trace 2180
spdk_thread_lib_init_ext 2229
spdk_poller_register_interrupt 2380
spdk_thread_lib_fini 2581
_thread_lib_init 2585
io_device_tree_RB_MINMAX 2597
_thread_trace 2852
register_flag_thread 2852
spdk_thread_is_running 2997
spdk_interrupt_unregister 3391
_free_thread 7006
spdk_thread_destroy 7015
spdk_thread_create 7140
spdk_thread_exit 7153
spdk_thread_set_cpumask 7712
spdk_thread_get_stats 7941
io_channel_tree_RB_MINMAX 14125
timed_pollers_tree_RB_MINMAX 15761
spdk_thread_get_app_thread 22115
spdk_thread_next_poller_expiration 23282
spdk_thread_get_cpumask 23715
spdk_thread_get_ctx 28189
_finish_unregister 33049
spdk_thread_is_app_thread 34574
io_device_tree_RB_REMOVE_COLOR 35141
io_device_free 42051
io_device_tree_RB_INSERT_COLOR 42055
io_device_tree_RB_REMOVE 42055
spdk_io_device_unregister 42059
io_device_tree_RB_INSERT 42063
spdk_io_device_register 42063
io_channel_tree_RB_REMOVE_COLOR 68492
spdk_thread_get_id 74055
io_channel_tree_RB_REMOVE 82255
io_channel_tree_RB_INSERT 82263
io_channel_tree_RB_INSERT_COLOR 82263
put_io_channel 82322
sspin_fini_internal 83603
spdk_spin_destroy 83607
interrupt_timerfd_process 94331
spdk_spin_init 122872
sspin_init_internal 122872
spdk_poller_register_named 150376
poller_register 150614
convert_us_to_ticks 150620
thread_insert_poller 150744
spdk_put_io_channel 245556
spdk_get_io_channel 245581
spdk_poller_unregister 343257
_call_completion 604400
spdk_for_each_channel 604406
_call_channel 681878
spdk_for_each_channel_continue 681878
spdk_io_channel_iter_get_channel 692372
thread_interrupt_msg_process 774189
spdk_io_channel_iter_get_io_device 818264
io_device_get 892058
io_device_tree_RB_FIND 892058
spdk_spin_held 1176500
spdk_io_channel_iter_get_ctx 1293556
spdk_spin_unlock 1958038
spdk_spin_lock 1958048
spdk_thread_has_active_pollers 3294685
io_device_cmp 3626147
thread_exit 3642661
io_channel_tree_RB_FIND 4208279
thread_get_io_channel 4208279
spdk_thread_send_msg 10499916
thread_send_msg_notification 10501163
io_channel_cmp 11214745
spdk_io_channel_get_io_device 12583700
spdk_io_channel_from_ctx 16375751
timed_pollers_tree_RB_REMOVE_COLOR 22072609
thread_execute_timed_poller 24799318
timed_pollers_tree_RB_REMOVE 24806455
poller_insert_timer 24806535
timed_pollers_tree_RB_INSERT_COLOR 24806535
timed_pollers_tree_RB_INSERT 24806536
timed_pollers_tree_RB_NEXT 24814559
thread_has_unpaused_pollers 54370416
spdk_thread_is_idle 54371534
spdk_interrupt_mode_is_enabled 144652735
timed_poller_compare 194550921
_interrupt_wrapper 259114069
spdk_io_channel_get_thread 292025241
spdk_set_thread 521071767
spdk_get_thread 638096584
thread_execute_poller 6097754841
spdk_thread_get_last_tsc 6795157037
spdk_thread_is_exited 6819673551
spdk_thread_poll 7056233054
thread_update_stats 7056339554
thread_poll 7056520187
msg_queue_run_batch 7057794104
_get_thread 7699407251
spdk_thread_get_from_ctx 13555001842

Generated by: LCOV version 1.15