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-15 16:55:29 Functions: 139 160 86.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 774 1128 68.6 %

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 5
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 10
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 21
period_poller_set_interrupt_mode 23
sspin_stacks_print 28
spdk_thread_set_interrupt_mode 33
io_device_tree_RB_NEXT 45
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_next_timed_poller 78
sspin_stack_print 84
spdk_thread_get_next_active_poller 96
spdk_thread_is_bound 99
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 138
busy_poller_set_interrupt_mode 138
_thread_remove_pollers 140
poller_interrupt_fini 153
spdk_poller_resume 169
spdk_interrupt_register 171
spdk_poller_pause 219
spdk_poller_register 258
spdk_interrupt_unregister 321
spdk_thread_get_count 337
spdk_thread_lib_init 409
_back_to_orig_thread 529
spdk_for_each_thread 529
spdk_thread_get_by_id 557
thread_interrupt_msg_process 629
_on_thread 673
spdk_thread_get_name 782
spdk_poller_register_interrupt 875
spdk_thread_send_critical_msg 1472
thread_trace 2720
spdk_thread_lib_init_ext 2773
_thread_trace 3100
register_flag_thread 3100
spdk_thread_lib_fini 3177
_thread_lib_init 3182
io_device_tree_RB_MINMAX 3197
spdk_thread_is_running 3818
_free_thread 8315
spdk_thread_destroy 8324
interrupt_timerfd_process 8400
spdk_thread_create 8490
spdk_thread_exit 8490
spdk_thread_get_stats 8943
spdk_thread_set_cpumask 11686
io_channel_tree_RB_MINMAX 16764
timed_pollers_tree_RB_MINMAX 17085
spdk_thread_next_poller_expiration 21506
spdk_thread_get_cpumask 28744
spdk_thread_get_app_thread 36737
spdk_thread_get_ctx 38305
spdk_thread_is_app_thread 40625
_finish_unregister 43704
io_device_tree_RB_REMOVE_COLOR 44903
io_device_free 53947
io_device_tree_RB_INSERT_COLOR 53952
io_device_tree_RB_REMOVE 53952
spdk_io_device_unregister 53957
io_device_tree_RB_INSERT 53962
spdk_io_device_register 53962
spdk_thread_get_id 77751
io_channel_tree_RB_REMOVE_COLOR 98397
sspin_fini_internal 106290
spdk_spin_destroy 106295
io_channel_tree_RB_REMOVE 121029
io_channel_tree_RB_INSERT 121034
io_channel_tree_RB_INSERT_COLOR 121034
put_io_channel 121118
spdk_spin_init 146964
sspin_init_internal 146964
spdk_poller_register_named 295932
convert_us_to_ticks 296190
poller_register 296190
thread_insert_poller 296314
spdk_put_io_channel 358242
spdk_get_io_channel 358262
_call_completion 637169
spdk_for_each_channel 637169
spdk_io_channel_iter_get_io_device 665804
_call_channel 701945
spdk_for_each_channel_continue 701945
spdk_poller_unregister 718854
spdk_io_channel_iter_get_channel 764469
thread_exit 772670
io_device_get 1049403
io_device_tree_RB_FIND 1049403
spdk_io_channel_iter_get_ctx 1265429
spdk_thread_has_active_pollers 2101040
spdk_spin_unlock 2313724
spdk_spin_lock 2313730
io_channel_tree_RB_FIND 3868010
thread_get_io_channel 3868010
_interrupt_wrapper 4195156
io_device_cmp 4362122
spdk_spin_held 6716532
spdk_thread_send_msg 7191218
thread_send_msg_notification 7192690
io_channel_cmp 10585355
timed_pollers_tree_RB_REMOVE_COLOR 17325072
thread_execute_timed_poller 22694594
timed_pollers_tree_RB_REMOVE 22699919
poller_insert_timer 22700019
timed_pollers_tree_RB_INSERT 22700019
timed_pollers_tree_RB_INSERT_COLOR 22700019
timed_pollers_tree_RB_NEXT 22705827
spdk_io_channel_get_io_device 28664192
spdk_io_channel_from_ctx 37872086
spdk_set_thread 68878494
spdk_thread_is_idle 99330848
thread_has_unpaused_pollers 99330858
timed_poller_compare 123055771
spdk_interrupt_mode_is_enabled 305773929
spdk_io_channel_get_thread 401774085
spdk_get_thread 473792345
spdk_thread_get_last_tsc 11744721550
spdk_thread_is_exited 11749061227
spdk_thread_poll 11946115907
thread_poll 11946115907
thread_update_stats 11946115907
msg_queue_run_batch 11946116413
_get_thread 12428142730
thread_execute_poller 13374832469
spdk_thread_get_from_ctx 23467050338

Generated by: LCOV version 1.14