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 12:14:52 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4220 10364 40.7 %

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 5
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
spdk_interrupt_mode_enable 27
io_device_tree_RB_NEXT 36
spdk_poller_get_state_str 44
spdk_thread_get_next_active_poller 48
thread_interrupt_create 68
thread_interrupt_destroy 68
sspin_stack_print 75
spdk_thread_get_next_timed_poller 78
spdk_thread_set_interrupt_mode 84
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 130
period_poller_interrupt_init 132
poller_remove_timer 136
_thread_exit 137
period_poller_set_interrupt_mode 140
spdk_thread_get_interrupt_fd_group 160
spdk_poller_resume 200
spdk_poller_pause 204
spdk_poller_register 243
spdk_thread_lib_init 366
spdk_thread_get_count 396
_back_to_orig_thread 538
spdk_for_each_thread 538
spdk_thread_get_by_id 658
busy_poller_interrupt_init 667
busy_poller_set_interrupt_mode 667
_thread_remove_pollers 734
_on_thread 749
poller_interrupt_fini 799
spdk_interrupt_register 818
spdk_interrupt_register_for_events 922
spdk_interrupt_register_ext 923
spdk_thread_get_name 1058
spdk_thread_send_critical_msg 1185
spdk_poller_register_interrupt 1457
thread_trace 2116
spdk_thread_lib_init_ext 2165
spdk_interrupt_unregister 2194
spdk_thread_lib_fini 2523
_thread_lib_init 2531
io_device_tree_RB_MINMAX 2539
_thread_trace 2754
register_flag_thread 2754
spdk_thread_is_running 2897
_free_thread 6887
spdk_thread_destroy 6891
spdk_thread_create 7025
spdk_thread_exit 7036
spdk_thread_set_cpumask 7760
spdk_thread_get_stats 7889
io_channel_tree_RB_MINMAX 13876
timed_pollers_tree_RB_MINMAX 14899
spdk_thread_next_poller_expiration 17151
spdk_thread_get_app_thread 21293
spdk_thread_get_cpumask 23706
spdk_thread_get_ctx 28013
_finish_unregister 33397
spdk_thread_is_app_thread 33729
io_device_tree_RB_REMOVE_COLOR 34571
io_device_free 42193
io_device_tree_RB_INSERT_COLOR 42197
io_device_tree_RB_REMOVE 42197
spdk_io_device_unregister 42202
io_device_tree_RB_INSERT 42205
spdk_io_device_register 42205
interrupt_timerfd_process 58822
io_channel_tree_RB_REMOVE_COLOR 70370
spdk_thread_get_id 71315
sspin_fini_internal 83357
spdk_spin_destroy 83361
io_channel_tree_RB_REMOVE 84956
io_channel_tree_RB_INSERT 84964
io_channel_tree_RB_INSERT_COLOR 84964
put_io_channel 85022
spdk_spin_init 121565
sspin_init_internal 121565
spdk_poller_register_named 146665
poller_register 146906
convert_us_to_ticks 146907
thread_insert_poller 147028
spdk_put_io_channel 276922
spdk_get_io_channel 276944
spdk_poller_unregister 286670
thread_interrupt_msg_process 486001
_call_completion 546792
spdk_for_each_channel 546794
_call_channel 596730
spdk_for_each_channel_continue 596730
spdk_io_channel_iter_get_channel 608058
spdk_io_channel_iter_get_io_device 805520
io_device_get 865953
io_device_tree_RB_FIND 865953
spdk_io_channel_iter_get_ctx 1145194
spdk_spin_unlock 1669744
spdk_spin_lock 1669754
spdk_thread_has_active_pollers 3045690
spdk_spin_held 3345457
io_device_cmp 3504851
thread_exit 3626695
io_channel_tree_RB_FIND 4015322
thread_get_io_channel 4015322
io_channel_cmp 10858356
spdk_thread_send_msg 11708893
thread_send_msg_notification 11710074
spdk_io_channel_get_io_device 12008918
spdk_io_channel_from_ctx 17109821
timed_pollers_tree_RB_REMOVE_COLOR 21652067
thread_execute_timed_poller 24347215
timed_pollers_tree_RB_REMOVE 24354060
poller_insert_timer 24354142
timed_pollers_tree_RB_INSERT 24354142
timed_pollers_tree_RB_INSERT_COLOR 24354142
timed_pollers_tree_RB_NEXT 24361741
thread_has_unpaused_pollers 52893181
spdk_thread_is_idle 52898385
spdk_interrupt_mode_is_enabled 115108684
_interrupt_wrapper 123332822
timed_poller_compare 187589095
spdk_set_thread 249367764
spdk_io_channel_get_thread 318807913
spdk_get_thread 527498493
thread_execute_poller 4795905103
spdk_thread_get_last_tsc 6767751488
spdk_thread_is_exited 6786171108
thread_update_stats 6996935066
spdk_thread_poll 6997173549
thread_poll 6997352711
msg_queue_run_batch 6997725290
_get_thread 7530502140
spdk_thread_get_from_ctx 13496052912

Generated by: LCOV version 1.14