LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1224 1532 79.9 %
Date: 2024-12-15 06:38:34 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3986 10466 38.1 %

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 3
spdk_thread_get_trace_id 6
spdk_thread_has_pollers 6
poller_set_interrupt_mode 8
spdk_poller_get_name 14
spdk_poller_get_period_ticks 14
spdk_poller_get_stats 14
spdk_poller_get_id 17
spdk_thread_bind 19
sspin_stacks_print 19
io_device_tree_RB_NEXT 27
spdk_poller_get_state_str 35
spdk_interrupt_mode_enable 42
spdk_thread_get_next_active_poller 48
sspin_stack_print 57
spdk_thread_get_next_timed_poller 78
spdk_thread_is_bound 123
spdk_thread_get_first_active_poller 126
spdk_thread_get_first_paused_poller 126
spdk_thread_get_first_timed_poller 126
thread_interrupt_create 127
thread_interrupt_destroy 127
spdk_thread_set_interrupt_mode 143
spdk_poller_resume 165
spdk_poller_pause 168
spdk_poller_register 187
period_poller_interrupt_init 242
poller_remove_timer 246
period_poller_set_interrupt_mode 250
_thread_exit 253
spdk_thread_get_interrupt_fd_group 278
spdk_thread_lib_init 298
spdk_thread_get_count 384
_back_to_orig_thread 584
spdk_for_each_thread 584
spdk_thread_get_by_id 691
_on_thread 791
spdk_thread_get_name 1232
spdk_thread_send_critical_msg 1372
busy_poller_interrupt_init 1381
busy_poller_set_interrupt_mode 1381
_thread_remove_pollers 1476
poller_interrupt_fini 1623
spdk_interrupt_register 1657
spdk_poller_register_interrupt 1841
spdk_interrupt_register_for_events 1855
spdk_interrupt_register_ext 1856
alloc_interrupt 1858
thread_trace 2329
spdk_thread_lib_init_ext 2368
spdk_thread_lib_fini 2660
_thread_lib_init 2666
io_device_tree_RB_MINMAX 2672
_thread_trace 3044
register_flag_thread 3044
spdk_thread_is_running 3499
spdk_interrupt_unregister 3881
_free_thread 7323
spdk_thread_destroy 7331
spdk_thread_create 7434
spdk_thread_exit 7435
spdk_thread_get_stats 8508
spdk_thread_set_cpumask 11978
io_channel_tree_RB_MINMAX 14731
timed_pollers_tree_RB_MINMAX 16589
spdk_thread_get_app_thread 20985
spdk_thread_next_poller_expiration 23857
spdk_thread_get_cpumask 28972
_finish_unregister 34677
io_device_tree_RB_REMOVE_COLOR 37227
spdk_thread_is_app_thread 37242
spdk_thread_get_ctx 37634
io_device_free 44124
io_device_tree_RB_INSERT_COLOR 44127
io_device_tree_RB_REMOVE 44127
spdk_io_device_unregister 44130
io_device_tree_RB_INSERT 44133
spdk_io_device_register 44133
io_channel_tree_RB_REMOVE_COLOR 83196
sspin_fini_internal 90625
spdk_spin_destroy 90628
spdk_thread_get_id 91041
interrupt_timerfd_process 95317
io_channel_tree_RB_REMOVE 97268
io_channel_tree_RB_INSERT 97274
io_channel_tree_RB_INSERT_COLOR 97274
put_io_channel 97341
spdk_spin_init 132923
sspin_init_internal 132923
interrupt_fd_group_wrapper 160666
spdk_poller_register_named 168130
convert_us_to_ticks 168317
poller_register 168317
thread_insert_poller 168422
spdk_put_io_channel 311419
spdk_get_io_channel 311434
spdk_poller_unregister 362198
thread_exit 673141
spdk_io_channel_iter_get_io_device 673534
_call_completion 717657
spdk_for_each_channel 717657
spdk_io_channel_iter_get_channel 740914
_call_channel 811774
spdk_for_each_channel_continue 811774
thread_interrupt_msg_process 867186
io_device_get 1073230
io_device_tree_RB_FIND 1073230
spdk_io_channel_iter_get_ctx 1459389
spdk_thread_has_active_pollers 1825095
spdk_spin_unlock 2419438
spdk_spin_lock 2419446
io_channel_tree_RB_FIND 4204123
thread_get_io_channel 4204123
io_device_cmp 4661095
spdk_spin_held 7678352
io_channel_cmp 11200010
spdk_io_channel_get_io_device 15814522
spdk_thread_send_msg 19553385
thread_send_msg_notification 19554757
timed_pollers_tree_RB_REMOVE_COLOR 21562752
spdk_io_channel_from_ctx 23784628
thread_execute_timed_poller 25521944
timed_pollers_tree_RB_REMOVE 25530749
poller_insert_timer 25530809
timed_pollers_tree_RB_INSERT 25530809
timed_pollers_tree_RB_INSERT_COLOR 25530809
timed_pollers_tree_RB_NEXT 25540673
thread_has_unpaused_pollers 57574640
spdk_thread_is_idle 57577004
timed_poller_compare 160301872
_interrupt_wrapper 224850482
spdk_io_channel_get_thread 399815849
spdk_set_thread 453078956
spdk_interrupt_mode_is_enabled 519005446
spdk_get_thread 800712717
thread_execute_poller 8585772519
spdk_thread_is_exited 9768004232
spdk_thread_get_last_tsc 9827637961
thread_update_stats 9973991791
spdk_thread_poll 9974187766
thread_poll 9974216675
msg_queue_run_batch 9975236394
_get_thread 10795212763
spdk_thread_get_from_ctx 19487691992

Generated by: LCOV version 1.15