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-16 20:51:22 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4165 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
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 127
spdk_thread_set_interrupt_mode 138
spdk_poller_resume 209
spdk_poller_pause 213
period_poller_interrupt_init 240
_thread_exit 243
spdk_poller_register 243
poller_remove_timer 244
period_poller_set_interrupt_mode 248
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 376
spdk_thread_get_count 421
_back_to_orig_thread 612
spdk_for_each_thread 612
spdk_thread_get_by_id 699
_on_thread 823
busy_poller_interrupt_init 1236
busy_poller_set_interrupt_mode 1236
spdk_thread_get_name 1389
_thread_remove_pollers 1391
spdk_thread_send_critical_msg 1475
poller_interrupt_fini 1476
spdk_interrupt_register 1504
spdk_interrupt_register_for_events 1702
spdk_interrupt_register_ext 1703
alloc_interrupt 1705
spdk_poller_register_interrupt 2004
thread_trace 2475
spdk_thread_lib_init_ext 2526
spdk_thread_lib_fini 2894
_thread_lib_init 2902
io_device_tree_RB_MINMAX 2910
spdk_thread_is_running 3230
_thread_trace 3264
register_flag_thread 3264
spdk_interrupt_unregister 3671
_free_thread 8099
spdk_thread_destroy 8107
spdk_thread_create 8237
spdk_thread_exit 8249
spdk_thread_get_stats 9183
spdk_thread_set_cpumask 15528
io_channel_tree_RB_MINMAX 16309
timed_pollers_tree_RB_MINMAX 18083
spdk_thread_get_app_thread 23270
spdk_thread_next_poller_expiration 24853
spdk_thread_get_cpumask 34083
_finish_unregister 38717
spdk_thread_is_app_thread 39832
io_device_tree_RB_REMOVE_COLOR 40640
spdk_thread_get_ctx 45916
io_device_free 48872
io_device_tree_RB_INSERT_COLOR 48876
io_device_tree_RB_REMOVE 48876
spdk_io_device_unregister 48880
io_device_tree_RB_INSERT 48884
spdk_io_device_register 48884
spdk_thread_get_id 97310
interrupt_timerfd_process 97722
io_channel_tree_RB_REMOVE_COLOR 98869
sspin_fini_internal 100794
spdk_spin_destroy 100798
io_channel_tree_RB_REMOVE 114923
io_channel_tree_RB_INSERT 114931
io_channel_tree_RB_INSERT_COLOR 114931
put_io_channel 115009
spdk_spin_init 145454
sspin_init_internal 145454
interrupt_fd_group_wrapper 158186
spdk_poller_register_named 184332
poller_register 184577
convert_us_to_ticks 184578
thread_insert_poller 184707
spdk_put_io_channel 379342
spdk_get_io_channel 379360
spdk_poller_unregister 410980
spdk_io_channel_iter_get_io_device 790398
_call_completion 796936
spdk_for_each_channel 796936
spdk_io_channel_iter_get_channel 829960
_call_channel 892987
spdk_for_each_channel_continue 892987
thread_interrupt_msg_process 951727
io_device_get 1225188
io_device_tree_RB_FIND 1225188
spdk_io_channel_iter_get_ctx 1636774
spdk_spin_unlock 2866536
spdk_spin_lock 2866546
spdk_thread_has_active_pollers 3711079
thread_exit 4334653
io_channel_tree_RB_FIND 4851389
thread_get_io_channel 4851389
io_device_cmp 5044143
spdk_spin_held 8252520
io_channel_cmp 12651317
spdk_io_channel_get_io_device 18509571
spdk_thread_send_msg 19355824
thread_send_msg_notification 19357298
timed_pollers_tree_RB_REMOVE_COLOR 23959148
spdk_io_channel_from_ctx 26049754
thread_execute_timed_poller 28268564
timed_pollers_tree_RB_REMOVE 28277275
poller_insert_timer 28277359
timed_pollers_tree_RB_INSERT 28277359
timed_pollers_tree_RB_INSERT_COLOR 28277359
timed_pollers_tree_RB_NEXT 28287412
thread_has_unpaused_pollers 150248292
spdk_thread_is_idle 150251223
timed_poller_compare 182591728
_interrupt_wrapper 225614390
spdk_interrupt_mode_is_enabled 409543383
spdk_set_thread 455188146
spdk_io_channel_get_thread 472560896
spdk_get_thread 877481262
thread_execute_poller 8782711671
spdk_thread_is_exited 9458289192
spdk_thread_get_last_tsc 9502985047
thread_poll 9676692765
spdk_thread_poll 9676703592
thread_update_stats 9676738742
msg_queue_run_batch 9677779267
_get_thread 10569050504
spdk_thread_get_from_ctx 18841009475

Generated by: LCOV version 1.15