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-14 20:52:57 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4193 10466 40.1 %

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 28
io_device_tree_RB_NEXT 36
spdk_poller_get_state_str 44
spdk_thread_get_next_active_poller 48
thread_interrupt_create 73
thread_interrupt_destroy 73
sspin_stack_print 75
spdk_thread_get_next_timed_poller 78
spdk_thread_set_interrupt_mode 89
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 132
period_poller_interrupt_init 135
poller_remove_timer 139
_thread_exit 142
period_poller_set_interrupt_mode 143
spdk_thread_get_interrupt_fd_group 170
spdk_poller_resume 204
spdk_poller_pause 208
spdk_poller_register 243
spdk_thread_lib_init 370
spdk_thread_get_count 409
_back_to_orig_thread 584
spdk_for_each_thread 584
spdk_thread_get_by_id 659
busy_poller_interrupt_init 686
busy_poller_set_interrupt_mode 686
_thread_remove_pollers 755
_on_thread 795
poller_interrupt_fini 821
spdk_interrupt_register 844
spdk_interrupt_register_for_events 948
spdk_interrupt_register_ext 949
alloc_interrupt 951
spdk_thread_get_name 1228
spdk_thread_send_critical_msg 1325
spdk_poller_register_interrupt 1693
thread_trace 2294
spdk_thread_lib_init_ext 2344
spdk_interrupt_unregister 2403
spdk_thread_lib_fini 2706
_thread_lib_init 2714
io_device_tree_RB_MINMAX 2722
spdk_thread_is_running 2922
_thread_trace 3017
register_flag_thread 3017
_free_thread 7494
spdk_thread_destroy 7503
spdk_thread_create 7632
spdk_thread_exit 7640
spdk_thread_get_stats 8607
spdk_thread_set_cpumask 11996
io_channel_tree_RB_MINMAX 15098
timed_pollers_tree_RB_MINMAX 16138
spdk_thread_next_poller_expiration 17139
spdk_thread_get_app_thread 22464
spdk_thread_get_cpumask 29220
_finish_unregister 36296
spdk_thread_is_app_thread 36919
spdk_thread_get_ctx 37652
io_device_tree_RB_REMOVE_COLOR 37834
io_device_free 45734
io_device_tree_RB_INSERT_COLOR 45738
io_device_tree_RB_REMOVE 45738
spdk_io_device_unregister 45742
io_device_tree_RB_INSERT 45746
spdk_io_device_register 45746
interrupt_timerfd_process 61729
io_channel_tree_RB_REMOVE_COLOR 85970
spdk_thread_get_id 89473
sspin_fini_internal 92955
spdk_spin_destroy 92959
io_channel_tree_RB_REMOVE 101191
io_channel_tree_RB_INSERT 101199
io_channel_tree_RB_INSERT_COLOR 101199
put_io_channel 101278
spdk_spin_init 134191
sspin_init_internal 134191
spdk_poller_register_named 157274
poller_register 157518
convert_us_to_ticks 157519
thread_insert_poller 157643
interrupt_fd_group_wrapper 162201
spdk_poller_unregister 303817
spdk_put_io_channel 343879
spdk_get_io_channel 343896
thread_interrupt_msg_process 397038
spdk_io_channel_iter_get_channel 705183
_call_completion 723610
spdk_for_each_channel 723610
_call_channel 780634
spdk_for_each_channel_continue 780634
spdk_io_channel_iter_get_io_device 794375
io_device_get 1113264
io_device_tree_RB_FIND 1113264
spdk_io_channel_iter_get_ctx 1435051
spdk_spin_unlock 2565673
spdk_spin_lock 2565682
spdk_thread_has_active_pollers 3751884
thread_exit 3854473
io_channel_tree_RB_FIND 4531314
thread_get_io_channel 4531314
io_device_cmp 4616605
spdk_spin_held 7516009
io_channel_cmp 12107352
spdk_io_channel_get_io_device 17544891
spdk_thread_send_msg 17854967
thread_send_msg_notification 17856291
timed_pollers_tree_RB_REMOVE_COLOR 23194848
spdk_io_channel_from_ctx 24940831
thread_execute_timed_poller 27223741
timed_pollers_tree_RB_REMOVE 27231069
poller_insert_timer 27231151
timed_pollers_tree_RB_INSERT 27231151
timed_pollers_tree_RB_INSERT_COLOR 27231151
timed_pollers_tree_RB_NEXT 27239592
_interrupt_wrapper 109134150
thread_has_unpaused_pollers 126842881
spdk_thread_is_idle 126845507
timed_poller_compare 179338766
spdk_set_thread 221125143
spdk_interrupt_mode_is_enabled 399748484
spdk_io_channel_get_thread 444504125
spdk_get_thread 763213637
thread_execute_poller 7883744305
spdk_thread_is_exited 8529189556
spdk_thread_get_last_tsc 8616760444
thread_poll 8712468684
spdk_thread_poll 8712486014
thread_update_stats 8712686727
msg_queue_run_batch 8713365392
_get_thread 9487954262
spdk_thread_get_from_ctx 16984610367

Generated by: LCOV version 1.15