LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1195 1490 80.2 %
Date: 2024-12-09 16:10:28 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3960 10364 38.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 3
spdk_thread_get_trace_id 6
spdk_thread_has_pollers 6
poller_set_interrupt_mode 8
spdk_poller_get_name 14
spdk_poller_get_period_ticks 14
spdk_poller_get_stats 14
spdk_poller_get_id 17
spdk_thread_bind 19
sspin_stacks_print 19
io_device_tree_RB_NEXT 27
spdk_poller_get_state_str 35
spdk_interrupt_mode_enable 41
spdk_thread_get_next_active_poller 48
sspin_stack_print 57
spdk_thread_get_next_timed_poller 78
spdk_thread_is_bound 120
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_set_interrupt_mode 138
spdk_poller_resume 165
spdk_poller_pause 168
spdk_poller_register 187
period_poller_interrupt_init 240
poller_remove_timer 244
_thread_exit 248
period_poller_set_interrupt_mode 248
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 295
spdk_thread_get_count 377
_back_to_orig_thread 563
spdk_for_each_thread 563
spdk_thread_get_by_id 671
_on_thread 770
spdk_thread_get_name 1215
busy_poller_interrupt_init 1278
busy_poller_set_interrupt_mode 1278
spdk_thread_send_critical_msg 1312
_thread_remove_pollers 1415
poller_interrupt_fini 1518
spdk_interrupt_register 1548
spdk_poller_register_interrupt 1742
spdk_interrupt_register_for_events 1746
spdk_interrupt_register_ext 1747
thread_trace 2250
spdk_thread_lib_init_ext 2289
spdk_thread_lib_fini 2578
_thread_lib_init 2584
io_device_tree_RB_MINMAX 2590
_thread_trace 2907
register_flag_thread 2907
spdk_thread_is_running 3148
spdk_interrupt_unregister 3576
_free_thread 7078
spdk_thread_destroy 7086
spdk_thread_create 7189
spdk_thread_exit 7192
spdk_thread_get_stats 8219
spdk_thread_set_cpumask 11878
io_channel_tree_RB_MINMAX 14241
timed_pollers_tree_RB_MINMAX 16039
spdk_thread_get_app_thread 20507
spdk_thread_next_poller_expiration 23424
spdk_thread_get_cpumask 28379
_finish_unregister 33293
io_device_tree_RB_REMOVE_COLOR 35686
spdk_thread_is_app_thread 35713
spdk_thread_get_ctx 36954
io_device_free 42472
io_device_tree_RB_INSERT_COLOR 42475
io_device_tree_RB_REMOVE 42475
spdk_io_device_unregister 42478
io_device_tree_RB_INSERT 42481
spdk_io_device_register 42481
spdk_thread_get_id 79067
io_channel_tree_RB_REMOVE_COLOR 79795
sspin_fini_internal 87162
spdk_spin_destroy 87165
io_channel_tree_RB_REMOVE 93533
io_channel_tree_RB_INSERT 93539
io_channel_tree_RB_INSERT_COLOR 93539
put_io_channel 93601
interrupt_timerfd_process 94999
spdk_spin_init 128222
sspin_init_internal 128222
spdk_poller_register_named 151515
convert_us_to_ticks 151702
poller_register 151702
thread_insert_poller 151807
spdk_put_io_channel 297551
spdk_get_io_channel 297566
spdk_poller_unregister 348546
_call_completion 545065
spdk_for_each_channel 545065
_call_channel 640091
spdk_for_each_channel_continue 640091
spdk_io_channel_iter_get_channel 649364
spdk_io_channel_iter_get_io_device 704370
io_device_get 885118
io_device_tree_RB_FIND 885118
thread_interrupt_msg_process 924848
spdk_io_channel_iter_get_ctx 1205203
spdk_thread_has_active_pollers 1817755
spdk_spin_held 1817816
spdk_spin_unlock 1857952
spdk_spin_lock 1857960
thread_exit 3353105
io_device_cmp 3605171
io_channel_tree_RB_FIND 3694142
thread_get_io_channel 3694142
io_channel_cmp 9738026
spdk_io_channel_get_io_device 10220221
spdk_thread_send_msg 13864792
thread_send_msg_notification 13866104
spdk_io_channel_from_ctx 15389291
timed_pollers_tree_RB_REMOVE_COLOR 17255481
thread_execute_timed_poller 20147270
timed_pollers_tree_RB_REMOVE 20155295
poller_insert_timer 20155355
timed_pollers_tree_RB_INSERT_COLOR 20155355
timed_pollers_tree_RB_INSERT 20155356
timed_pollers_tree_RB_NEXT 20164430
spdk_thread_is_idle 59900878
thread_has_unpaused_pollers 59902261
timed_poller_compare 139377209
spdk_interrupt_mode_is_enabled 176673447
_interrupt_wrapper 250625254
spdk_io_channel_get_thread 286270322
spdk_set_thread 504415337
spdk_get_thread 664855685
thread_execute_poller 5727151851
spdk_thread_is_exited 7822985825
spdk_thread_get_last_tsc 7846690287
thread_update_stats 8043897478
spdk_thread_poll 8044152740
thread_poll 8044176656
msg_queue_run_batch 8045276613
_get_thread 8723489381
spdk_thread_get_from_ctx 15595458566

Generated by: LCOV version 1.15