LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1205 1505 80.1 %
Date: 2024-12-09 05:33:35 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4165 10364 40.2 %

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
__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
io_device_tree_RB_NEXT 36
spdk_interrupt_mode_enable 41
spdk_poller_get_state_str 44
spdk_thread_get_next_active_poller 48
sspin_stack_print 75
spdk_thread_get_next_timed_poller 78
thread_interrupt_create 122
thread_interrupt_destroy 122
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 131
spdk_thread_set_interrupt_mode 138
spdk_poller_resume 205
spdk_poller_pause 209
period_poller_interrupt_init 238
poller_remove_timer 242
spdk_poller_register 243
_thread_exit 246
period_poller_set_interrupt_mode 246
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 372
spdk_thread_get_count 408
_back_to_orig_thread 564
spdk_for_each_thread 564
spdk_thread_get_by_id 645
_on_thread 774
spdk_thread_get_name 1219
spdk_thread_send_critical_msg 1334
busy_poller_interrupt_init 1414
busy_poller_set_interrupt_mode 1414
_thread_remove_pollers 1579
poller_interrupt_fini 1652
spdk_interrupt_register 1682
spdk_poller_register_interrupt 1770
spdk_interrupt_register_for_events 1880
spdk_interrupt_register_ext 1881
thread_trace 2295
spdk_thread_lib_init_ext 2345
spdk_thread_lib_fini 2709
_thread_lib_init 2717
io_device_tree_RB_MINMAX 2725
_thread_trace 3008
register_flag_thread 3008
spdk_thread_is_running 3218
spdk_interrupt_unregister 3709
_free_thread 7488
spdk_thread_destroy 7497
spdk_thread_create 7626
spdk_thread_exit 7637
spdk_thread_get_stats 8422
spdk_thread_set_cpumask 11820
io_channel_tree_RB_MINMAX 15090
timed_pollers_tree_RB_MINMAX 17053
spdk_thread_get_app_thread 22440
spdk_thread_next_poller_expiration 24821
spdk_thread_get_cpumask 29037
_finish_unregister 35761
spdk_thread_is_app_thread 36621
io_device_tree_RB_REMOVE_COLOR 37315
spdk_thread_get_ctx 37344
io_device_free 45270
io_device_tree_RB_INSERT_COLOR 45274
io_device_tree_RB_REMOVE 45274
spdk_io_device_unregister 45278
io_device_tree_RB_INSERT 45282
spdk_io_device_register 45282
spdk_thread_get_id 81023
io_channel_tree_RB_REMOVE_COLOR 83246
sspin_fini_internal 91100
spdk_spin_destroy 91104
interrupt_timerfd_process 92310
io_channel_tree_RB_REMOVE 98648
io_channel_tree_RB_INSERT 98656
io_channel_tree_RB_INSERT_COLOR 98656
put_io_channel 98722
spdk_spin_init 132711
sspin_init_internal 132711
spdk_poller_register_named 157907
poller_register 158148
convert_us_to_ticks 158149
thread_insert_poller 158274
spdk_put_io_channel 312167
spdk_get_io_channel 312189
spdk_poller_unregister 394347
_call_completion 636091
spdk_for_each_channel 636093
_call_channel 734831
spdk_for_each_channel_continue 734831
spdk_io_channel_iter_get_channel 745451
spdk_io_channel_iter_get_io_device 815978
thread_interrupt_msg_process 921277
io_device_get 993572
io_device_tree_RB_FIND 993572
spdk_spin_held 1162356
spdk_io_channel_iter_get_ctx 1392428
spdk_spin_unlock 2072707
spdk_spin_lock 2072717
spdk_thread_has_active_pollers 3828134
io_device_cmp 4046448
io_channel_tree_RB_FIND 4365884
thread_get_io_channel 4365884
thread_exit 4409225
io_channel_cmp 11269292
spdk_io_channel_get_io_device 12009462
spdk_io_channel_from_ctx 19347257
spdk_thread_send_msg 20808856
thread_send_msg_notification 20810188
timed_pollers_tree_RB_REMOVE_COLOR 23826630
thread_execute_timed_poller 26663660
timed_pollers_tree_RB_REMOVE 26671906
poller_insert_timer 26671987
timed_pollers_tree_RB_INSERT 26671987
timed_pollers_tree_RB_INSERT_COLOR 26671987
timed_pollers_tree_RB_NEXT 26681388
thread_has_unpaused_pollers 62340367
spdk_thread_is_idle 62342711
spdk_interrupt_mode_is_enabled 162095559
timed_poller_compare 209332308
_interrupt_wrapper 242181274
spdk_io_channel_get_thread 344746686
spdk_set_thread 487944170
spdk_get_thread 697501262
thread_execute_poller 5783438484
spdk_thread_get_last_tsc 8099720690
spdk_thread_is_exited 8123195202
thread_update_stats 8340234219
thread_poll 8340355986
spdk_thread_poll 8340533886
msg_queue_run_batch 8341725647
_get_thread 9055653583
spdk_thread_get_from_ctx 16161887830

Generated by: LCOV version 1.15