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-15 15:13:27 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4184 10270 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
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
io_device_tree_RB_NEXT 36
spdk_interrupt_mode_enable 41
spdk_poller_get_state_str 44
sspin_stack_print 75
spdk_thread_get_next_timed_poller 78
spdk_thread_get_next_active_poller 96
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_is_bound 130
spdk_thread_set_interrupt_mode 138
spdk_poller_resume 205
spdk_poller_pause 209
spdk_poller_register 243
period_poller_interrupt_init 244
_thread_exit 246
poller_remove_timer 248
period_poller_set_interrupt_mode 252
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 352
spdk_thread_get_count 400
_back_to_orig_thread 557
spdk_for_each_thread 557
spdk_thread_get_by_id 687
_on_thread 768
spdk_thread_get_name 1219
spdk_thread_send_critical_msg 1322
busy_poller_interrupt_init 1681
busy_poller_set_interrupt_mode 1681
_thread_remove_pollers 1693
poller_interrupt_fini 1925
spdk_interrupt_register 1955
spdk_interrupt_register_for_events 2153
spdk_interrupt_register_ext 2154
thread_trace 2273
spdk_thread_lib_init_ext 2323
spdk_poller_register_interrupt 2545
spdk_thread_lib_fini 2671
_thread_lib_init 2675
io_device_tree_RB_MINMAX 2687
_thread_trace 2974
register_flag_thread 2974
spdk_thread_is_running 3190
spdk_interrupt_unregister 3994
_free_thread 7342
spdk_thread_destroy 7349
spdk_thread_create 7476
spdk_thread_exit 7490
spdk_thread_get_stats 8403
spdk_thread_set_cpumask 11916
io_channel_tree_RB_MINMAX 14793
timed_pollers_tree_RB_MINMAX 16877
spdk_thread_get_app_thread 22131
spdk_thread_next_poller_expiration 24082
spdk_thread_get_cpumask 28724
_finish_unregister 34469
spdk_thread_is_app_thread 36122
io_device_tree_RB_REMOVE_COLOR 36745
spdk_thread_get_ctx 37285
io_device_free 43798
io_device_tree_RB_INSERT_COLOR 43802
io_device_tree_RB_REMOVE 43802
spdk_io_device_unregister 43806
io_device_tree_RB_INSERT 43810
spdk_io_device_register 43810
spdk_thread_get_id 79396
io_channel_tree_RB_REMOVE_COLOR 82357
sspin_fini_internal 89758
spdk_spin_destroy 89762
interrupt_timerfd_process 96385
io_channel_tree_RB_REMOVE 96747
io_channel_tree_RB_INSERT 96755
io_channel_tree_RB_INSERT_COLOR 96755
put_io_channel 96817
spdk_spin_init 130701
sspin_init_internal 130701
spdk_poller_register_named 161368
poller_register 161610
convert_us_to_ticks 161612
thread_insert_poller 161737
spdk_put_io_channel 307071
spdk_get_io_channel 307088
spdk_poller_unregister 383766
_call_completion 623372
spdk_for_each_channel 623373
_call_channel 709021
spdk_for_each_channel_continue 709021
spdk_io_channel_iter_get_channel 722362
thread_interrupt_msg_process 772252
spdk_io_channel_iter_get_io_device 813313
io_device_get 974280
io_device_tree_RB_FIND 974280
spdk_io_channel_iter_get_ctx 1351994
spdk_spin_held 1840609
spdk_spin_unlock 2200212
spdk_spin_lock 2200222
thread_exit 3030180
spdk_thread_has_active_pollers 3250665
io_device_cmp 3934352
io_channel_tree_RB_FIND 4317440
thread_get_io_channel 4317440
io_channel_cmp 11370497
spdk_thread_send_msg 12778644
thread_send_msg_notification 12779964
spdk_io_channel_get_io_device 14556693
spdk_io_channel_from_ctx 19355429
timed_pollers_tree_RB_REMOVE_COLOR 24972089
thread_execute_timed_poller 27785828
timed_pollers_tree_RB_REMOVE 27793953
poller_insert_timer 27794035
timed_pollers_tree_RB_INSERT 27794035
timed_pollers_tree_RB_INSERT_COLOR 27794035
timed_pollers_tree_RB_NEXT 27803414
spdk_thread_is_idle 55723848
thread_has_unpaused_pollers 55724892
spdk_interrupt_mode_is_enabled 174861164
timed_poller_compare 223798956
_interrupt_wrapper 247151176
spdk_io_channel_get_thread 362128183
spdk_set_thread 497132328
spdk_get_thread 727134596
thread_execute_poller 7190378406
spdk_thread_get_last_tsc 7850067298
spdk_thread_is_exited 7856073111
spdk_thread_poll 8120272041
thread_update_stats 8120835246
thread_poll 8121145313
msg_queue_run_batch 8121315540
_get_thread 8852239904
spdk_thread_get_from_ctx 15632352897

Generated by: LCOV version 1.15