LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1204 1483 81.2 %
Date: 2024-12-09 03:40:50 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4147 10270 40.4 %

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
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 126
spdk_thread_set_interrupt_mode 138
spdk_poller_resume 205
spdk_poller_pause 209
period_poller_interrupt_init 239
poller_remove_timer 243
spdk_poller_register 243
_thread_exit 246
period_poller_set_interrupt_mode 247
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 372
spdk_thread_get_count 408
_back_to_orig_thread 563
spdk_for_each_thread 563
spdk_thread_get_by_id 709
_on_thread 774
spdk_thread_get_name 1219
spdk_thread_send_critical_msg 1333
spdk_poller_register_interrupt 1770
thread_trace 2294
spdk_thread_lib_init_ext 2344
spdk_thread_lib_fini 2708
_thread_lib_init 2716
io_device_tree_RB_MINMAX 2724
_thread_trace 3007
register_flag_thread 3007
_thread_remove_pollers 3008
spdk_thread_is_running 3227
busy_poller_interrupt_init 3452
busy_poller_set_interrupt_mode 3452
poller_interrupt_fini 3691
spdk_interrupt_register 3721
spdk_interrupt_register_for_events 3919
spdk_interrupt_register_ext 3920
spdk_interrupt_unregister 5748
_free_thread 7485
spdk_thread_destroy 7491
spdk_thread_create 7623
spdk_thread_exit 7632
spdk_thread_get_stats 8497
spdk_thread_set_cpumask 11836
io_channel_tree_RB_MINMAX 15079
timed_pollers_tree_RB_MINMAX 18468
spdk_thread_get_app_thread 22748
spdk_thread_next_poller_expiration 25023
spdk_thread_get_cpumask 29101
_finish_unregister 35688
spdk_thread_is_app_thread 36599
io_device_tree_RB_REMOVE_COLOR 37302
spdk_thread_get_ctx 37358
io_device_free 45193
io_device_tree_RB_INSERT_COLOR 45197
io_device_tree_RB_REMOVE 45197
spdk_io_device_unregister 45201
io_device_tree_RB_INSERT 45205
spdk_io_device_register 45205
spdk_thread_get_id 79505
io_channel_tree_RB_REMOVE_COLOR 82656
sspin_fini_internal 90977
spdk_spin_destroy 90981
interrupt_timerfd_process 94724
io_channel_tree_RB_REMOVE 97996
io_channel_tree_RB_INSERT 98004
io_channel_tree_RB_INSERT_COLOR 98004
put_io_channel 98063
spdk_spin_init 132569
sspin_init_internal 132569
spdk_poller_register_named 163315
poller_register 163557
convert_us_to_ticks 163559
thread_insert_poller 163684
spdk_put_io_channel 310165
spdk_get_io_channel 310190
spdk_poller_unregister 351306
_call_completion 585538
spdk_for_each_channel 585542
_call_channel 679165
spdk_for_each_channel_continue 679165
spdk_io_channel_iter_get_channel 692728
thread_interrupt_msg_process 743985
spdk_io_channel_iter_get_io_device 807813
io_device_get 940945
io_device_tree_RB_FIND 940945
spdk_io_channel_iter_get_ctx 1284198
spdk_spin_held 1861082
spdk_spin_unlock 1934836
spdk_spin_lock 1934846
thread_exit 3170615
spdk_thread_has_active_pollers 3349576
io_device_cmp 3848388
io_channel_tree_RB_FIND 4275769
thread_get_io_channel 4275769
io_channel_cmp 11470600
spdk_thread_send_msg 12937752
thread_send_msg_notification 12939081
spdk_io_channel_get_io_device 14907840
spdk_io_channel_from_ctx 20061168
timed_pollers_tree_RB_REMOVE_COLOR 23297857
thread_execute_timed_poller 26102742
timed_pollers_tree_RB_REMOVE 26111032
poller_insert_timer 26111113
timed_pollers_tree_RB_INSERT 26111114
timed_pollers_tree_RB_INSERT_COLOR 26111114
timed_pollers_tree_RB_NEXT 26121974
thread_has_unpaused_pollers 60672186
spdk_thread_is_idle 60673879
spdk_interrupt_mode_is_enabled 172351935
timed_poller_compare 204562718
_interrupt_wrapper 264351619
spdk_io_channel_get_thread 375480537
spdk_set_thread 531927509
spdk_get_thread 774197678
thread_execute_poller 6168131808
spdk_thread_is_exited 8237725123
spdk_thread_get_last_tsc 8250051760
spdk_thread_poll 8522902146
thread_update_stats 8523284360
thread_poll 8523711940
msg_queue_run_batch 8523959988
_get_thread 9301838628
spdk_thread_get_from_ctx 16392859629

Generated by: LCOV version 1.15