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-11-17 22:58:00 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4173 10270 40.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 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
spdk_interrupt_mode_enable 28
io_device_tree_RB_NEXT 36
spdk_poller_get_state_str 44
thread_interrupt_create 73
thread_interrupt_destroy 73
sspin_stack_print 75
spdk_thread_get_next_timed_poller 78
spdk_thread_set_interrupt_mode 89
spdk_thread_get_next_active_poller 96
spdk_thread_get_first_active_poller 126
spdk_thread_get_first_paused_poller 126
spdk_thread_get_first_timed_poller 126
period_poller_interrupt_init 135
spdk_thread_is_bound 136
poller_remove_timer 139
_thread_exit 141
period_poller_set_interrupt_mode 143
spdk_thread_get_interrupt_fd_group 170
spdk_poller_resume 204
spdk_poller_pause 208
spdk_poller_register 243
spdk_thread_lib_init 346
spdk_thread_get_count 401
_back_to_orig_thread 579
spdk_for_each_thread 579
spdk_thread_get_by_id 694
busy_poller_interrupt_init 697
busy_poller_set_interrupt_mode 697
_thread_remove_pollers 769
_on_thread 790
poller_interrupt_fini 832
spdk_interrupt_register 857
spdk_interrupt_register_for_events 961
spdk_interrupt_register_ext 962
spdk_thread_get_name 1228
spdk_thread_send_critical_msg 1315
thread_trace 2275
spdk_thread_lib_init_ext 2325
spdk_interrupt_unregister 2435
spdk_poller_register_interrupt 2495
spdk_thread_lib_fini 2667
_thread_lib_init 2671
io_device_tree_RB_MINMAX 2683
spdk_thread_is_running 2912
_thread_trace 2986
register_flag_thread 2986
_free_thread 7344
spdk_thread_destroy 7353
spdk_thread_create 7478
spdk_thread_exit 7493
spdk_thread_get_stats 8555
spdk_thread_set_cpumask 11900
io_channel_tree_RB_MINMAX 14800
timed_pollers_tree_RB_MINMAX 15851
spdk_thread_next_poller_expiration 16512
spdk_thread_get_app_thread 22477
spdk_thread_get_cpumask 28744
_finish_unregister 35027
spdk_thread_is_app_thread 36472
spdk_thread_get_ctx 37240
io_device_tree_RB_REMOVE_COLOR 37294
io_device_free 44289
io_device_tree_RB_INSERT_COLOR 44293
io_device_tree_RB_REMOVE 44293
spdk_io_device_unregister 44297
io_device_tree_RB_INSERT 44301
spdk_io_device_register 44301
interrupt_timerfd_process 59392
io_channel_tree_RB_REMOVE_COLOR 85667
spdk_thread_get_id 89987
sspin_fini_internal 91677
spdk_spin_destroy 91681
io_channel_tree_RB_REMOVE 99860
io_channel_tree_RB_INSERT 99868
io_channel_tree_RB_INSERT_COLOR 99868
put_io_channel 99944
spdk_spin_init 132300
sspin_init_internal 132300
spdk_poller_register_named 160189
convert_us_to_ticks 160432
poller_register 160432
thread_insert_poller 160556
spdk_poller_unregister 300704
spdk_put_io_channel 340803
spdk_get_io_channel 340823
thread_interrupt_msg_process 547600
spdk_io_channel_iter_get_channel 707461
_call_completion 723494
spdk_for_each_channel 723494
_call_channel 781187
spdk_for_each_channel_continue 781187
spdk_io_channel_iter_get_io_device 801146
io_device_get 1108626
io_device_tree_RB_FIND 1108626
spdk_io_channel_iter_get_ctx 1435148
spdk_spin_unlock 2527790
spdk_spin_lock 2527799
spdk_thread_has_active_pollers 3819871
thread_exit 3875857
io_channel_tree_RB_FIND 4555999
thread_get_io_channel 4555999
io_device_cmp 4634235
spdk_spin_held 5492625
io_channel_cmp 12187988
spdk_io_channel_get_io_device 16888193
spdk_thread_send_msg 17312148
thread_send_msg_notification 17313461
timed_pollers_tree_RB_REMOVE_COLOR 23671486
spdk_io_channel_from_ctx 24339372
thread_execute_timed_poller 27761853
timed_pollers_tree_RB_REMOVE 27769122
poller_insert_timer 27769203
timed_pollers_tree_RB_INSERT 27769203
timed_pollers_tree_RB_INSERT_COLOR 27769203
timed_pollers_tree_RB_NEXT 27777560
_interrupt_wrapper 108857037
thread_has_unpaused_pollers 123746113
spdk_thread_is_idle 123761265
timed_poller_compare 182367498
spdk_set_thread 220102006
spdk_interrupt_mode_is_enabled 340684279
spdk_io_channel_get_thread 423358561
spdk_get_thread 714080456
spdk_thread_is_exited 8149228994
spdk_thread_get_last_tsc 8214608859
thread_update_stats 8323153875
thread_poll 8323213524
spdk_thread_poll 8323338808
msg_queue_run_batch 8323594741
thread_execute_poller 8725059205
_get_thread 9042117737
spdk_thread_get_from_ctx 16227853518

Generated by: LCOV version 1.15