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 15:57:04 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_is_bound 95
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
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 555
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 3843
_free_thread 8315
spdk_thread_destroy 8324
spdk_thread_create 8490
spdk_thread_exit 8490
interrupt_timerfd_process 8757
spdk_thread_get_stats 8822
spdk_thread_set_cpumask 11854
io_channel_tree_RB_MINMAX 16764
timed_pollers_tree_RB_MINMAX 17085
spdk_thread_next_poller_expiration 21894
spdk_thread_get_cpumask 28919
spdk_thread_get_app_thread 37758
spdk_thread_get_ctx 38641
spdk_thread_is_app_thread 40639
_finish_unregister 43696
io_device_tree_RB_REMOVE_COLOR 44895
io_device_free 53939
io_device_tree_RB_INSERT_COLOR 53944
io_device_tree_RB_REMOVE 53944
spdk_io_device_unregister 53949
io_device_tree_RB_INSERT 53954
spdk_io_device_register 53954
spdk_thread_get_id 78170
io_channel_tree_RB_REMOVE_COLOR 98972
sspin_fini_internal 106308
spdk_spin_destroy 106313
io_channel_tree_RB_REMOVE 121281
io_channel_tree_RB_INSERT 121286
io_channel_tree_RB_INSERT_COLOR 121286
put_io_channel 121367
spdk_spin_init 146982
sspin_init_internal 146982
spdk_poller_register_named 302420
convert_us_to_ticks 302678
poller_register 302678
thread_insert_poller 302802
spdk_put_io_channel 358707
spdk_get_io_channel 358727
thread_exit 643775
_call_completion 684012
spdk_for_each_channel 684012
spdk_io_channel_iter_get_io_device 685401
_call_channel 745633
spdk_for_each_channel_continue 745633
spdk_poller_unregister 782142
spdk_io_channel_iter_get_channel 810998
io_device_get 1096703
io_device_tree_RB_FIND 1096703
spdk_io_channel_iter_get_ctx 1353004
spdk_thread_has_active_pollers 2088815
spdk_spin_unlock 2550769
spdk_spin_lock 2550775
_interrupt_wrapper 3798955
io_channel_tree_RB_FIND 4129193
thread_get_io_channel 4129193
io_device_cmp 4600629
spdk_spin_held 7584497
spdk_thread_send_msg 8021122
thread_send_msg_notification 8022594
io_channel_cmp 11470929
timed_pollers_tree_RB_REMOVE_COLOR 17915422
thread_execute_timed_poller 23309886
timed_pollers_tree_RB_REMOVE 23315197
poller_insert_timer 23315297
timed_pollers_tree_RB_INSERT 23315297
timed_pollers_tree_RB_INSERT_COLOR 23315297
timed_pollers_tree_RB_NEXT 23321069
spdk_io_channel_get_io_device 28111076
spdk_io_channel_from_ctx 37930751
spdk_set_thread 68868175
spdk_thread_is_idle 100089474
thread_has_unpaused_pollers 100089484
timed_poller_compare 129946469
spdk_interrupt_mode_is_enabled 308673772
spdk_io_channel_get_thread 418539238
spdk_get_thread 496603307
spdk_thread_is_exited 12208431080
spdk_thread_get_last_tsc 12208623524
spdk_thread_poll 12407433834
thread_poll 12407433834
thread_update_stats 12407433834
msg_queue_run_batch 12407434340
_get_thread 12913148300
thread_execute_poller 13756491365
spdk_thread_get_from_ctx 24388517112

Generated by: LCOV version 1.14