LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1234 1547 79.8 %
Date: 2024-12-10 23:03:28 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4169 10466 39.8 %

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
spdk_thread_register_post_poller_handler 0
thread_run_pp_handlers 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
spdk_interrupt_register_fd_group 2
__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
spdk_thread_get_next_active_poller 48
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_first_active_poller 126
spdk_thread_get_first_paused_poller 126
spdk_thread_get_first_timed_poller 126
spdk_thread_is_bound 126
period_poller_interrupt_init 133
_thread_exit 135
poller_remove_timer 137
period_poller_set_interrupt_mode 141
spdk_thread_get_interrupt_fd_group 160
spdk_poller_resume 200
spdk_poller_pause 204
spdk_poller_register 243
spdk_thread_lib_init 370
spdk_thread_get_count 396
_back_to_orig_thread 536
spdk_for_each_thread 536
busy_poller_interrupt_init 619
busy_poller_set_interrupt_mode 619
spdk_thread_get_by_id 644
_thread_remove_pollers 707
_on_thread 747
poller_interrupt_fini 752
spdk_interrupt_register 769
spdk_interrupt_register_for_events 873
spdk_interrupt_register_ext 874
alloc_interrupt 876
spdk_thread_get_name 1058
spdk_thread_send_critical_msg 1183
spdk_poller_register_interrupt 1457
thread_trace 2114
spdk_interrupt_unregister 2135
spdk_thread_lib_init_ext 2163
spdk_thread_lib_fini 2525
_thread_lib_init 2533
io_device_tree_RB_MINMAX 2541
_thread_trace 2752
register_flag_thread 2752
spdk_thread_is_running 2888
_free_thread 6893
spdk_thread_destroy 6900
spdk_thread_create 7031
spdk_thread_exit 7043
spdk_thread_get_stats 8037
spdk_thread_set_cpumask 8052
io_channel_tree_RB_MINMAX 13894
timed_pollers_tree_RB_MINMAX 14886
spdk_thread_next_poller_expiration 16616
spdk_thread_get_app_thread 21993
spdk_thread_get_cpumask 23972
spdk_thread_get_ctx 28572
_finish_unregister 33375
spdk_thread_is_app_thread 33687
io_device_tree_RB_REMOVE_COLOR 34543
io_device_free 42171
io_device_tree_RB_INSERT_COLOR 42175
io_device_tree_RB_REMOVE 42175
spdk_io_device_unregister 42179
io_device_tree_RB_INSERT 42183
spdk_io_device_register 42183
interrupt_fd_group_wrapper 50821
interrupt_timerfd_process 58292
io_channel_tree_RB_REMOVE_COLOR 69980
spdk_thread_get_id 71200
sspin_fini_internal 83308
spdk_spin_destroy 83312
io_channel_tree_RB_REMOVE 84544
io_channel_tree_RB_INSERT 84552
io_channel_tree_RB_INSERT_COLOR 84552
put_io_channel 84612
spdk_spin_init 121476
sspin_init_internal 121476
spdk_poller_register_named 148092
poller_register 148333
convert_us_to_ticks 148337
thread_insert_poller 148457
spdk_put_io_channel 275383
spdk_get_io_channel 275403
spdk_poller_unregister 275425
thread_interrupt_msg_process 498390
_call_completion 545826
spdk_for_each_channel 545826
_call_channel 594534
spdk_for_each_channel_continue 594534
spdk_io_channel_iter_get_channel 607020
spdk_io_channel_iter_get_io_device 827259
io_device_get 863422
io_device_tree_RB_FIND 863422
spdk_io_channel_iter_get_ctx 1141096
spdk_spin_unlock 1723526
spdk_spin_lock 1723537
spdk_spin_held 1868672
spdk_thread_has_active_pollers 3306665
io_device_cmp 3512839
thread_exit 3901383
io_channel_tree_RB_FIND 3920330
thread_get_io_channel 3920330
io_channel_cmp 10595064
spdk_thread_send_msg 11816321
thread_send_msg_notification 11817502
spdk_io_channel_get_io_device 13137165
spdk_io_channel_from_ctx 18403605
timed_pollers_tree_RB_REMOVE_COLOR 21904192
thread_execute_timed_poller 24529226
timed_pollers_tree_RB_REMOVE 24535817
poller_insert_timer 24535898
timed_pollers_tree_RB_INSERT 24535898
timed_pollers_tree_RB_INSERT_COLOR 24535898
timed_pollers_tree_RB_NEXT 24543233
thread_has_unpaused_pollers 55785099
spdk_thread_is_idle 55787263
_interrupt_wrapper 121489063
spdk_interrupt_mode_is_enabled 149698053
timed_poller_compare 192434385
spdk_set_thread 245805520
spdk_io_channel_get_thread 310308852
spdk_get_thread 561196676
thread_execute_poller 5117860335
spdk_thread_is_exited 7005913527
spdk_thread_get_last_tsc 7031666261
thread_update_stats 7217552446
msg_queue_run_batch 7217922930
spdk_thread_poll 7218059734
thread_poll 7218825947
_get_thread 7781714898
spdk_thread_get_from_ctx 13936105993

Generated by: LCOV version 1.15