LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1230 1547 79.5 %
Date: 2024-12-12 10:36:05 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4175 10466 39.9 %

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
spdk_interrupt_register_fd_group 2
__pending_unregister 4
spdk_thread_get_trace_id 6
poller_set_interrupt_mode 8
spdk_thread_has_pollers 8
spdk_interrupt_mode_enable 13
thread_interrupt_create 14
thread_interrupt_destroy 14
spdk_poller_get_name 16
spdk_poller_get_period_ticks 16
spdk_poller_get_stats 16
spdk_thread_set_cpumask 16
_thread_exit 17
period_poller_interrupt_init 18
spdk_poller_get_id 20
spdk_thread_bind 20
poller_remove_timer 22
sspin_stacks_print 25
period_poller_set_interrupt_mode 26
spdk_thread_set_interrupt_mode 30
io_device_tree_RB_NEXT 36
spdk_poller_get_state_str 44
spdk_thread_get_next_active_poller 48
spdk_thread_get_interrupt_fd_group 52
sspin_stack_print 75
spdk_thread_get_next_timed_poller 78
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
busy_poller_interrupt_init 129
busy_poller_set_interrupt_mode 129
_thread_remove_pollers 133
poller_interrupt_fini 147
spdk_interrupt_register 159
spdk_interrupt_register_for_events 159
spdk_interrupt_register_ext 160
alloc_interrupt 162
spdk_poller_resume 178
spdk_poller_pause 182
spdk_poller_register 243
spdk_thread_lib_init 364
spdk_thread_get_count 378
_back_to_orig_thread 485
spdk_for_each_thread 485
thread_interrupt_msg_process 561
spdk_thread_get_by_id 614
_on_thread 696
spdk_thread_get_name 750
spdk_thread_send_critical_msg 957
spdk_interrupt_unregister 1015
spdk_poller_register_interrupt 1040
thread_trace 1843
spdk_thread_lib_init_ext 1890
spdk_thread_lib_fini 2246
_thread_lib_init 2254
io_device_tree_RB_MINMAX 2262
spdk_thread_is_running 2350
_thread_trace 2399
register_flag_thread 2399
_free_thread 5998
spdk_thread_destroy 6007
spdk_thread_create 6136
spdk_thread_exit 6146
spdk_thread_get_stats 6979
spdk_thread_next_poller_expiration 10404
spdk_thread_get_ctx 10736
io_channel_tree_RB_MINMAX 12108
timed_pollers_tree_RB_MINMAX 12415
spdk_thread_get_id 13644
spdk_thread_get_cpumask 14019
interrupt_timerfd_process 18968
_interrupt_wrapper 19717
spdk_thread_get_app_thread 20003
spdk_thread_is_app_thread 29283
_finish_unregister 29624
io_device_tree_RB_REMOVE_COLOR 30214
io_device_free 37359
io_device_tree_RB_INSERT_COLOR 37363
io_device_tree_RB_REMOVE 37363
spdk_io_device_unregister 37367
io_device_tree_RB_INSERT 37371
spdk_io_device_register 37371
io_channel_tree_RB_REMOVE_COLOR 45487
io_channel_tree_RB_REMOVE 58437
io_channel_tree_RB_INSERT 58445
io_channel_tree_RB_INSERT_COLOR 58445
put_io_channel 58505
sspin_fini_internal 69879
spdk_spin_destroy 69883
spdk_spin_init 102968
sspin_init_internal 102968
spdk_poller_register_named 126588
poller_register 126829
convert_us_to_ticks 126831
thread_insert_poller 126927
interrupt_fd_group_wrapper 160320
spdk_put_io_channel 184445
spdk_get_io_channel 184463
spdk_poller_unregister 186523
_call_completion 453954
spdk_for_each_channel 453955
_call_channel 460043
spdk_for_each_channel_continue 460043
spdk_io_channel_iter_get_channel 472223
io_device_get 675799
io_device_tree_RB_FIND 675799
spdk_io_channel_iter_get_io_device 759332
spdk_io_channel_iter_get_ctx 889251
spdk_spin_unlock 1336848
spdk_spin_lock 1336858
spdk_spin_held 1849490
spdk_set_thread 2089204
io_device_cmp 2816867
io_channel_tree_RB_FIND 3442786
thread_get_io_channel 3442786
spdk_thread_has_active_pollers 3600775
thread_exit 3782141
spdk_thread_send_msg 8730502
thread_send_msg_notification 8731453
io_channel_cmp 9622433
spdk_io_channel_get_io_device 11546042
spdk_io_channel_from_ctx 16385460
timed_pollers_tree_RB_REMOVE_COLOR 22889401
thread_execute_timed_poller 25158020
timed_pollers_tree_RB_REMOVE 25162580
poller_insert_timer 25162660
timed_pollers_tree_RB_INSERT_COLOR 25162660
timed_pollers_tree_RB_INSERT 25162661
timed_pollers_tree_RB_NEXT 25167796
thread_has_unpaused_pollers 48059217
spdk_thread_is_idle 48062830
spdk_interrupt_mode_is_enabled 144029688
timed_poller_compare 208222380
spdk_io_channel_get_thread 250323756
spdk_get_thread 356426041
thread_execute_poller 3793060931
spdk_thread_is_exited 5416139269
spdk_thread_get_last_tsc 5448007863
thread_update_stats 5577246442
msg_queue_run_batch 5577389401
thread_poll 5577515311
spdk_thread_poll 5577563937
_get_thread 5937903157
spdk_thread_get_from_ctx 10773007782

Generated by: LCOV version 1.14