LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1085 1305 83.1 %
Date: 2024-07-10 22:01:07 Functions: 139 160 86.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 773 1128 68.5 %

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 12
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 22
period_poller_set_interrupt_mode 23
spdk_thread_set_interrupt_mode 33
sspin_stacks_print 34
io_device_tree_RB_NEXT 54
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_next_timed_poller 78
spdk_thread_get_next_active_poller 96
sspin_stack_print 102
spdk_thread_is_bound 104
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_poller_resume 197
spdk_poller_pause 257
spdk_poller_register 310
spdk_thread_get_count 318
spdk_interrupt_unregister 322
spdk_thread_lib_init 473
_back_to_orig_thread 512
spdk_for_each_thread 512
spdk_thread_get_by_id 553
thread_interrupt_msg_process 628
_on_thread 660
spdk_thread_get_name 786
spdk_poller_register_interrupt 796
spdk_thread_send_critical_msg 1436
thread_trace 2719
spdk_thread_lib_init_ext 2782
_thread_trace 3145
register_flag_thread 3145
spdk_thread_lib_fini 3249
_thread_lib_init 3255
io_device_tree_RB_MINMAX 3273
spdk_thread_is_running 3894
_free_thread 8322
interrupt_timerfd_process 8322
spdk_thread_destroy 8333
spdk_thread_exit 8529
spdk_thread_create 8532
spdk_thread_get_stats 8717
spdk_thread_set_cpumask 12016
io_channel_tree_RB_MINMAX 16805
timed_pollers_tree_RB_MINMAX 17133
spdk_thread_next_poller_expiration 22095
spdk_thread_get_cpumask 28788
spdk_thread_get_app_thread 37622
spdk_thread_get_ctx 38732
spdk_thread_is_app_thread 40336
_finish_unregister 44163
io_device_tree_RB_REMOVE_COLOR 44846
io_device_free 54623
io_device_tree_RB_INSERT_COLOR 54629
io_device_tree_RB_REMOVE 54629
spdk_io_device_unregister 54635
io_device_tree_RB_INSERT 54641
spdk_io_device_register 54641
spdk_thread_get_id 77873
io_channel_tree_RB_REMOVE_COLOR 95572
sspin_fini_internal 103652
spdk_spin_destroy 103658
io_channel_tree_RB_REMOVE 118523
io_channel_tree_RB_INSERT 118529
io_channel_tree_RB_INSERT_COLOR 118529
put_io_channel 118590
spdk_spin_init 144389
sspin_init_internal 144389
spdk_poller_register_named 261476
convert_us_to_ticks 261786
poller_register 261786
thread_insert_poller 261929
spdk_put_io_channel 347674
spdk_get_io_channel 347698
spdk_poller_unregister 588549
spdk_io_channel_iter_get_io_device 640030
_call_completion 643242
spdk_for_each_channel 643242
_call_channel 703104
spdk_for_each_channel_continue 703104
spdk_io_channel_iter_get_channel 721896
thread_exit 883638
io_device_get 1045593
io_device_tree_RB_FIND 1045593
spdk_io_channel_iter_get_ctx 1266338
spdk_thread_has_active_pollers 1793089
spdk_spin_unlock 2467190
spdk_spin_lock 2467198
io_channel_tree_RB_FIND 3899350
thread_get_io_channel 3899350
_interrupt_wrapper 3990717
io_device_cmp 4340712
spdk_spin_held 5431544
spdk_thread_send_msg 6485293
thread_send_msg_notification 6486729
io_channel_cmp 10598971
timed_pollers_tree_RB_REMOVE_COLOR 18357545
thread_execute_timed_poller 23663793
timed_pollers_tree_RB_REMOVE 23669205
poller_insert_timer 23669325
timed_pollers_tree_RB_INSERT 23669325
timed_pollers_tree_RB_INSERT_COLOR 23669325
timed_pollers_tree_RB_NEXT 23675163
spdk_io_channel_get_io_device 28129584
spdk_io_channel_from_ctx 36315951
spdk_set_thread 72109083
spdk_thread_is_idle 85843313
thread_has_unpaused_pollers 85843325
timed_poller_compare 137469361
spdk_interrupt_mode_is_enabled 247689634
spdk_io_channel_get_thread 385261751
spdk_get_thread 452694449
spdk_thread_get_last_tsc 11664297758
spdk_thread_is_exited 11670925516
spdk_thread_poll 11869959725
thread_poll 11869959725
thread_update_stats 11869959725
msg_queue_run_batch 11869960230
_get_thread 12330177272
thread_execute_poller 13467024468
spdk_thread_get_from_ctx 23308398984

Generated by: LCOV version 1.14