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-15 14:51:33 Functions: 139 161 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 775 1132 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_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 3
poller_set_interrupt_mode 6
spdk_poller_get_id 6
spdk_poller_get_name 6
spdk_poller_get_period_ticks 6
spdk_poller_get_state_str 6
spdk_poller_get_stats 6
spdk_thread_has_pollers 6
spdk_interrupt_mode_enable 10
period_poller_interrupt_init 12
_thread_exit 14
thread_interrupt_create 14
thread_interrupt_destroy 14
poller_remove_timer 15
period_poller_set_interrupt_mode 18
spdk_thread_get_first_active_poller 18
spdk_thread_get_first_paused_poller 18
spdk_thread_get_first_timed_poller 18
spdk_thread_get_next_timed_poller 18
sspin_stacks_print 18
spdk_thread_bind 19
spdk_thread_set_interrupt_mode 26
io_device_tree_RB_NEXT 27
spdk_thread_get_interrupt_fd_group 46
sspin_stack_print 54
spdk_thread_is_bound 61
busy_poller_interrupt_init 108
busy_poller_set_interrupt_mode 108
_thread_remove_pollers 111
spdk_poller_resume 113
poller_interrupt_fini 120
spdk_interrupt_register 135
spdk_interrupt_register_for_events 135
spdk_poller_pause 143
spdk_poller_register 156
spdk_thread_get_count 249
spdk_thread_lib_init 250
spdk_interrupt_unregister 283
spdk_thread_get_by_id 326
_back_to_orig_thread 434
spdk_for_each_thread 434
_on_thread 474
thread_interrupt_msg_process 520
spdk_poller_register_interrupt 703
spdk_thread_get_name 821
spdk_thread_send_critical_msg 1244
thread_trace 2337
spdk_thread_lib_init_ext 2370
spdk_thread_lib_fini 2617
_thread_lib_init 2620
io_device_tree_RB_MINMAX 2629
_thread_trace 2954
register_flag_thread 2954
spdk_thread_is_running 3098
spdk_thread_get_stats 6658
_free_thread 6773
spdk_thread_destroy 6778
interrupt_timerfd_process 6841
spdk_thread_create 6878
spdk_thread_exit 6880
spdk_thread_set_cpumask 11948
io_channel_tree_RB_MINMAX 13626
timed_pollers_tree_RB_MINMAX 13792
spdk_thread_next_poller_expiration 20487
spdk_thread_get_cpumask 26005
spdk_thread_get_app_thread 28403
_finish_unregister 33486
spdk_thread_is_app_thread 34011
io_device_tree_RB_REMOVE_COLOR 35680
spdk_thread_get_ctx 36368
io_device_free 42169
io_device_tree_RB_INSERT_COLOR 42172
io_device_tree_RB_REMOVE 42172
spdk_io_device_unregister 42175
io_device_tree_RB_INSERT 42178
spdk_io_device_register 42178
spdk_thread_get_id 66629
io_channel_tree_RB_REMOVE_COLOR 82552
sspin_fini_internal 88083
spdk_spin_destroy 88086
io_channel_tree_RB_REMOVE 98074
io_channel_tree_RB_INSERT 98077
io_channel_tree_RB_INSERT_COLOR 98077
put_io_channel 98138
spdk_spin_init 123131
sspin_init_internal 123131
spdk_poller_register_named 235608
convert_us_to_ticks 235764
poller_register 235764
thread_insert_poller 235850
spdk_put_io_channel 293382
spdk_get_io_channel 293394
_call_completion 412857
spdk_for_each_channel 412857
_call_channel 479044
spdk_for_each_channel_continue 479044
spdk_io_channel_iter_get_io_device 570069
spdk_io_channel_iter_get_channel 575283
spdk_poller_unregister 596814
io_device_get 748435
io_device_tree_RB_FIND 748435
spdk_io_channel_iter_get_ctx 902617
spdk_thread_has_active_pollers 1622128
spdk_spin_unlock 1697291
spdk_spin_lock 1697297
spdk_spin_held 1787832
io_channel_tree_RB_FIND 2710789
thread_get_io_channel 2710789
thread_exit 2806943
io_device_cmp 2994722
_interrupt_wrapper 3890988
spdk_thread_send_msg 7128914
thread_send_msg_notification 7130158
io_channel_cmp 7210441
spdk_set_thread 8837110
timed_pollers_tree_RB_REMOVE_COLOR 13105786
spdk_io_channel_get_io_device 16928821
thread_execute_timed_poller 16970093
timed_pollers_tree_RB_REMOVE 16974859
poller_insert_timer 16974919
timed_pollers_tree_RB_INSERT 16974919
timed_pollers_tree_RB_INSERT_COLOR 16974919
timed_pollers_tree_RB_NEXT 16980089
spdk_io_channel_from_ctx 22030434
spdk_thread_is_idle 81285979
thread_has_unpaused_pollers 81285985
spdk_interrupt_mode_is_enabled 90302612
timed_poller_compare 108646667
spdk_io_channel_get_thread 234954877
spdk_get_thread 314930809
spdk_thread_get_last_tsc 8969544681
spdk_thread_is_exited 8976994911
spdk_thread_poll 9166266162
thread_poll 9166266162
thread_update_stats 9166266162
msg_queue_run_batch 9166266554
_get_thread 9489071292
thread_execute_poller 9543859117
spdk_thread_get_from_ctx 17910508649

Generated by: LCOV version 1.14