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-08 06:56:26 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4191 10364 40.4 %

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
io_device_tree_RB_NEXT 36
spdk_interrupt_mode_enable 41
spdk_poller_get_state_str 44
spdk_thread_get_next_active_poller 48
sspin_stack_print 75
spdk_thread_get_next_timed_poller 78
spdk_thread_is_bound 122
thread_interrupt_create 122
thread_interrupt_destroy 122
spdk_thread_get_first_active_poller 126
spdk_thread_get_first_paused_poller 126
spdk_thread_get_first_timed_poller 126
spdk_thread_set_interrupt_mode 138
spdk_poller_resume 205
spdk_poller_pause 209
period_poller_interrupt_init 239
poller_remove_timer 243
spdk_poller_register 243
period_poller_set_interrupt_mode 247
_thread_exit 249
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 372
spdk_thread_get_count 408
_back_to_orig_thread 566
spdk_for_each_thread 566
spdk_thread_get_by_id 625
_on_thread 777
busy_poller_interrupt_init 1214
busy_poller_set_interrupt_mode 1214
spdk_thread_get_name 1219
_thread_remove_pollers 1332
spdk_thread_send_critical_msg 1336
poller_interrupt_fini 1453
spdk_interrupt_register 1483
spdk_interrupt_register_for_events 1681
spdk_interrupt_register_ext 1682
spdk_poller_register_interrupt 1770
thread_trace 2297
spdk_thread_lib_init_ext 2347
spdk_thread_lib_fini 2711
_thread_lib_init 2719
io_device_tree_RB_MINMAX 2727
_thread_trace 3010
register_flag_thread 3010
spdk_thread_is_running 3243
spdk_interrupt_unregister 3405
_free_thread 7494
spdk_thread_destroy 7502
spdk_thread_create 7632
spdk_thread_exit 7644
spdk_thread_get_stats 8432
spdk_thread_set_cpumask 11944
io_channel_tree_RB_MINMAX 15099
timed_pollers_tree_RB_MINMAX 16818
spdk_thread_get_app_thread 22318
spdk_thread_next_poller_expiration 23355
spdk_thread_get_cpumask 29135
_finish_unregister 35787
spdk_thread_is_app_thread 36666
io_device_tree_RB_REMOVE_COLOR 37348
spdk_thread_get_ctx 37581
io_device_free 45304
io_device_tree_RB_INSERT_COLOR 45308
io_device_tree_RB_REMOVE 45308
spdk_io_device_unregister 45313
io_device_tree_RB_INSERT 45316
spdk_io_device_register 45316
spdk_thread_get_id 78538
io_channel_tree_RB_REMOVE_COLOR 82347
sspin_fini_internal 91005
spdk_spin_destroy 91009
interrupt_timerfd_process 92824
io_channel_tree_RB_REMOVE 97819
io_channel_tree_RB_INSERT 97827
io_channel_tree_RB_INSERT_COLOR 97827
put_io_channel 97891
spdk_spin_init 132656
sspin_init_internal 132656
spdk_poller_register_named 155498
poller_register 155739
convert_us_to_ticks 155741
thread_insert_poller 155866
spdk_put_io_channel 309602
spdk_get_io_channel 309621
spdk_poller_unregister 326458
_call_completion 578649
spdk_for_each_channel 578657
_call_channel 664845
spdk_for_each_channel_continue 664845
spdk_io_channel_iter_get_channel 673800
thread_interrupt_msg_process 777196
spdk_io_channel_iter_get_io_device 820576
io_device_get 933603
io_device_tree_RB_FIND 933603
spdk_spin_held 1206358
spdk_io_channel_iter_get_ctx 1262178
spdk_spin_unlock 1938773
spdk_spin_lock 1938783
spdk_thread_has_active_pollers 3146185
thread_exit 3432012
io_device_cmp 3759140
io_channel_tree_RB_FIND 4245694
thread_get_io_channel 4245694
io_channel_cmp 11442430
spdk_thread_send_msg 12474182
thread_send_msg_notification 12475516
spdk_io_channel_get_io_device 13478149
spdk_io_channel_from_ctx 18292011
timed_pollers_tree_RB_REMOVE_COLOR 24650598
thread_execute_timed_poller 27613271
timed_pollers_tree_RB_REMOVE 27620087
poller_insert_timer 27620169
timed_pollers_tree_RB_INSERT 27620169
timed_pollers_tree_RB_INSERT_COLOR 27620169
timed_pollers_tree_RB_NEXT 27627953
spdk_thread_is_idle 59713797
thread_has_unpaused_pollers 59714183
spdk_interrupt_mode_is_enabled 125968139
timed_poller_compare 216884738
_interrupt_wrapper 255416964
spdk_io_channel_get_thread 343867211
spdk_set_thread 514114905
spdk_get_thread 707464428
thread_execute_poller 5892488380
spdk_thread_get_last_tsc 8056830818
spdk_thread_is_exited 8057873089
thread_update_stats 8290591056
spdk_thread_poll 8290779245
thread_poll 8290981225
msg_queue_run_batch 8291023201
_get_thread 9003953404
spdk_thread_get_from_ctx 16050011395

Generated by: LCOV version 1.15