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 16:06:25 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4212 10270 41.0 %

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
spdk_interrupt_mode_enable 27
io_device_tree_RB_NEXT 36
spdk_poller_get_state_str 44
thread_interrupt_create 68
thread_interrupt_destroy 68
sspin_stack_print 75
spdk_thread_get_next_timed_poller 78
spdk_thread_set_interrupt_mode 84
spdk_thread_get_next_active_poller 96
spdk_thread_get_first_active_poller 126
spdk_thread_get_first_paused_poller 126
spdk_thread_get_first_timed_poller 126
spdk_thread_is_bound 127
period_poller_interrupt_init 132
_thread_exit 134
poller_remove_timer 136
period_poller_set_interrupt_mode 140
spdk_thread_get_interrupt_fd_group 160
spdk_poller_resume 200
spdk_poller_pause 204
spdk_poller_register 243
spdk_thread_lib_init 362
spdk_thread_get_count 396
_back_to_orig_thread 538
spdk_for_each_thread 538
spdk_thread_get_by_id 644
busy_poller_interrupt_init 673
busy_poller_set_interrupt_mode 673
_thread_remove_pollers 737
_on_thread 749
poller_interrupt_fini 805
spdk_interrupt_register 824
spdk_interrupt_register_for_events 928
spdk_interrupt_register_ext 929
spdk_thread_get_name 1058
spdk_thread_send_critical_msg 1180
spdk_interrupt_unregister 2110
thread_trace 2111
spdk_thread_lib_init_ext 2160
spdk_poller_register_interrupt 2204
spdk_thread_lib_fini 2518
_thread_lib_init 2522
io_device_tree_RB_MINMAX 2534
_thread_trace 2749
register_flag_thread 2749
spdk_thread_is_running 2886
_free_thread 6822
spdk_thread_destroy 6829
spdk_thread_create 6956
spdk_thread_exit 6971
spdk_thread_get_stats 7936
spdk_thread_set_cpumask 8220
io_channel_tree_RB_MINMAX 13753
timed_pollers_tree_RB_MINMAX 14776
spdk_thread_next_poller_expiration 15999
spdk_thread_get_app_thread 21758
spdk_thread_get_cpumask 23824
spdk_thread_get_ctx 28784
_finish_unregister 32406
spdk_thread_is_app_thread 33660
io_device_tree_RB_REMOVE_COLOR 34402
io_device_free 41182
io_device_tree_RB_INSERT_COLOR 41186
io_device_tree_RB_REMOVE 41186
spdk_io_device_unregister 41190
io_device_tree_RB_INSERT 41194
spdk_io_device_register 41194
interrupt_timerfd_process 56550
io_channel_tree_RB_REMOVE_COLOR 69954
spdk_thread_get_id 71276
sspin_fini_internal 82352
spdk_spin_destroy 82356
io_channel_tree_RB_REMOVE 83592
io_channel_tree_RB_INSERT 83600
io_channel_tree_RB_INSERT_COLOR 83600
put_io_channel 83655
spdk_spin_init 120469
sspin_init_internal 120469
spdk_poller_register_named 140748
poller_register 140990
convert_us_to_ticks 140991
thread_insert_poller 141109
spdk_poller_unregister 262722
spdk_put_io_channel 274197
spdk_get_io_channel 274217
_call_completion 538282
spdk_for_each_channel 538282
_call_channel 593164
spdk_for_each_channel_continue 593164
spdk_io_channel_iter_get_channel 600047
thread_interrupt_msg_process 634035
spdk_io_channel_iter_get_io_device 826691
io_device_get 853702
io_device_tree_RB_FIND 853702
spdk_io_channel_iter_get_ctx 1134506
spdk_spin_held 1159405
spdk_spin_unlock 1623285
spdk_spin_lock 1623295
spdk_thread_has_active_pollers 3490136
io_device_cmp 3519965
thread_exit 3630126
io_channel_tree_RB_FIND 4003362
thread_get_io_channel 4003362
io_channel_cmp 10869023
spdk_thread_send_msg 11143939
thread_send_msg_notification 11145119
spdk_io_channel_get_io_device 13916925
spdk_io_channel_from_ctx 18977733
timed_pollers_tree_RB_REMOVE_COLOR 21444695
thread_execute_timed_poller 24131076
timed_pollers_tree_RB_REMOVE 24136944
poller_insert_timer 24137025
timed_pollers_tree_RB_INSERT 24137025
timed_pollers_tree_RB_INSERT_COLOR 24137025
timed_pollers_tree_RB_NEXT 24143631
thread_has_unpaused_pollers 52345864
spdk_thread_is_idle 52347945
_interrupt_wrapper 104815526
spdk_interrupt_mode_is_enabled 142720299
timed_poller_compare 186959245
spdk_set_thread 212187457
spdk_io_channel_get_thread 317330900
spdk_get_thread 501731168
thread_execute_poller 6079867767
spdk_thread_get_last_tsc 6897788728
spdk_thread_is_exited 6916769954
spdk_thread_poll 7118513896
thread_poll 7118521576
thread_update_stats 7118822175
msg_queue_run_batch 7119216448
_get_thread 7623109799
spdk_thread_get_from_ctx 13763196619

Generated by: LCOV version 1.15