LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1089 1309 83.2 %
Date: 2024-08-09 23:39:43 Functions: 140 161 87.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 776 1132 68.6 %

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 5
poller_set_interrupt_mode 8
spdk_poller_get_id 8
spdk_poller_get_name 8
spdk_poller_get_period_ticks 8
spdk_poller_get_state_str 8
spdk_poller_get_stats 8
spdk_thread_has_pollers 10
spdk_interrupt_mode_enable 13
period_poller_interrupt_init 15
_thread_exit 17
thread_interrupt_create 17
thread_interrupt_destroy 17
poller_remove_timer 19
spdk_thread_bind 21
period_poller_set_interrupt_mode 23
sspin_stacks_print 28
spdk_thread_set_interrupt_mode 33
io_device_tree_RB_NEXT 45
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_next_timed_poller 78
sspin_stack_print 84
spdk_thread_get_next_active_poller 96
spdk_thread_is_bound 109
spdk_thread_get_first_active_poller 126
spdk_thread_get_first_paused_poller 126
spdk_thread_get_first_timed_poller 126
busy_poller_interrupt_init 138
busy_poller_set_interrupt_mode 138
_thread_remove_pollers 140
poller_interrupt_fini 153
spdk_interrupt_register 171
spdk_interrupt_register_for_events 171
spdk_poller_resume 224
spdk_poller_pause 229
spdk_poller_register 258
spdk_interrupt_unregister 321
spdk_thread_get_count 332
spdk_thread_lib_init 411
_back_to_orig_thread 556
spdk_for_each_thread 556
spdk_thread_get_by_id 574
thread_interrupt_msg_process 651
_on_thread 742
spdk_thread_get_name 1087
spdk_thread_send_critical_msg 1272
thread_trace 2154
spdk_poller_register_interrupt 2158
spdk_thread_lib_init_ext 2207
spdk_thread_lib_fini 2613
_thread_lib_init 2618
io_device_tree_RB_MINMAX 2633
_thread_trace 2913
register_flag_thread 2913
spdk_thread_is_running 3196
_free_thread 7108
spdk_thread_destroy 7117
spdk_thread_create 7288
spdk_thread_exit 7288
spdk_thread_get_stats 7999
interrupt_timerfd_process 8824
spdk_thread_set_cpumask 11670
io_channel_tree_RB_MINMAX 14360
timed_pollers_tree_RB_MINMAX 14681
spdk_thread_get_app_thread 23315
spdk_thread_next_poller_expiration 24574
spdk_thread_get_cpumask 26269
spdk_thread_is_app_thread 34133
_finish_unregister 34868
io_device_tree_RB_REMOVE_COLOR 35750
spdk_thread_get_ctx 35895
io_device_free 43945
io_device_tree_RB_INSERT_COLOR 43950
io_device_tree_RB_REMOVE 43950
spdk_io_device_unregister 43955
io_device_tree_RB_INSERT 43960
spdk_io_device_register 43960
spdk_thread_get_id 78762
io_channel_tree_RB_REMOVE_COLOR 78796
sspin_fini_internal 86371
spdk_spin_destroy 86376
io_channel_tree_RB_REMOVE 95975
io_channel_tree_RB_INSERT 95985
io_channel_tree_RB_INSERT_COLOR 95985
put_io_channel 96037
spdk_spin_init 123339
sspin_init_internal 123339
spdk_poller_register_named 158774
convert_us_to_ticks 159032
poller_register 159032
thread_insert_poller 159156
spdk_put_io_channel 280577
spdk_get_io_channel 280602
spdk_poller_unregister 296085
thread_exit 522935
spdk_io_channel_iter_get_channel 665976
_call_completion 668730
spdk_for_each_channel 668730
spdk_io_channel_iter_get_io_device 688030
_call_channel 736356
spdk_for_each_channel_continue 736356
io_device_get 993302
io_device_tree_RB_FIND 993302
spdk_io_channel_iter_get_ctx 1327695
spdk_thread_has_active_pollers 1836728
_interrupt_wrapper 2183113
spdk_spin_unlock 2284514
spdk_spin_lock 2284520
io_channel_tree_RB_FIND 4058668
thread_get_io_channel 4058668
io_device_cmp 4271982
spdk_set_thread 6043422
spdk_spin_held 7642324
io_channel_cmp 11415607
spdk_thread_send_msg 12525909
thread_send_msg_notification 12527181
spdk_io_channel_get_io_device 18142838
timed_pollers_tree_RB_REMOVE_COLOR 18990722
thread_execute_timed_poller 23118230
timed_pollers_tree_RB_REMOVE 23123634
poller_insert_timer 23123734
timed_pollers_tree_RB_INSERT 23123734
timed_pollers_tree_RB_INSERT_COLOR 23123734
timed_pollers_tree_RB_NEXT 23129638
spdk_io_channel_from_ctx 23876171
spdk_thread_is_idle 53247267
thread_has_unpaused_pollers 53247277
timed_poller_compare 136656607
spdk_interrupt_mode_is_enabled 311806556
spdk_io_channel_get_thread 370901401
spdk_get_thread 467858426
spdk_thread_get_last_tsc 9257528924
spdk_thread_is_exited 9257874161
spdk_thread_poll 9451328160
thread_poll 9451328160
thread_update_stats 9451328160
msg_queue_run_batch 9451328811
thread_execute_poller 9531418309
_get_thread 9932702385
spdk_thread_get_from_ctx 18475398730

Generated by: LCOV version 1.14