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-19 11:36:28 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4165 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
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
spdk_thread_is_bound 120
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 238
poller_remove_timer 242
spdk_poller_register 243
_thread_exit 246
period_poller_set_interrupt_mode 246
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 356
spdk_thread_get_count 400
_back_to_orig_thread 558
spdk_for_each_thread 558
spdk_thread_get_by_id 646
_on_thread 769
busy_poller_interrupt_init 1088
busy_poller_set_interrupt_mode 1088
spdk_thread_get_name 1219
_thread_remove_pollers 1268
spdk_thread_send_critical_msg 1323
poller_interrupt_fini 1326
spdk_interrupt_register 1356
spdk_interrupt_register_for_events 1554
spdk_interrupt_register_ext 1555
thread_trace 2274
spdk_thread_lib_init_ext 2324
spdk_poller_register_interrupt 2546
spdk_thread_lib_fini 2676
_thread_lib_init 2680
io_device_tree_RB_MINMAX 2692
_thread_trace 2975
register_flag_thread 2975
spdk_thread_is_running 3203
spdk_interrupt_unregister 3404
_free_thread 7357
spdk_thread_destroy 7365
spdk_thread_create 7491
spdk_thread_exit 7503
spdk_thread_get_stats 8339
spdk_thread_set_cpumask 11920
io_channel_tree_RB_MINMAX 14827
timed_pollers_tree_RB_MINMAX 16481
spdk_thread_get_app_thread 22065
spdk_thread_next_poller_expiration 26064
spdk_thread_get_cpumask 28700
_finish_unregister 34494
spdk_thread_is_app_thread 36149
io_device_tree_RB_REMOVE_COLOR 36773
spdk_thread_get_ctx 37278
io_device_free 43835
io_device_tree_RB_INSERT_COLOR 43839
io_device_tree_RB_REMOVE 43839
spdk_io_device_unregister 43843
io_device_tree_RB_INSERT 43847
spdk_io_device_register 43847
spdk_thread_get_id 78878
io_channel_tree_RB_REMOVE_COLOR 82137
sspin_fini_internal 89698
spdk_spin_destroy 89702
interrupt_timerfd_process 90656
io_channel_tree_RB_REMOVE 96525
io_channel_tree_RB_INSERT 96533
io_channel_tree_RB_INSERT_COLOR 96533
put_io_channel 96592
spdk_spin_init 130659
sspin_init_internal 130659
spdk_poller_register_named 161245
poller_register 161485
convert_us_to_ticks 161488
thread_insert_poller 161613
spdk_put_io_channel 307344
spdk_get_io_channel 307368
spdk_poller_unregister 404889
_call_completion 647888
spdk_for_each_channel 647888
_call_channel 738239
spdk_for_each_channel_continue 738239
spdk_io_channel_iter_get_channel 750837
spdk_io_channel_iter_get_io_device 812904
thread_interrupt_msg_process 869957
io_device_get 999110
io_device_tree_RB_FIND 999110
spdk_io_channel_iter_get_ctx 1404115
spdk_spin_unlock 2366109
spdk_spin_lock 2366119
thread_exit 3234645
spdk_spin_held 3367919
spdk_thread_has_active_pollers 3579307
io_device_cmp 4064122
io_channel_tree_RB_FIND 4456077
thread_get_io_channel 4456077
io_channel_cmp 11596190
spdk_thread_send_msg 12642959
thread_send_msg_notification 12644278
spdk_io_channel_get_io_device 12978500
spdk_io_channel_from_ctx 17385094
timed_pollers_tree_RB_REMOVE_COLOR 24044855
thread_execute_timed_poller 26893301
timed_pollers_tree_RB_REMOVE 26901350
poller_insert_timer 26901432
timed_pollers_tree_RB_INSERT 26901432
timed_pollers_tree_RB_INSERT_COLOR 26901432
timed_pollers_tree_RB_NEXT 26910402
thread_has_unpaused_pollers 63671604
spdk_thread_is_idle 63671968
spdk_interrupt_mode_is_enabled 154976076
timed_poller_compare 215638087
_interrupt_wrapper 268033942
spdk_io_channel_get_thread 341594056
spdk_set_thread 539088576
spdk_get_thread 730092971
thread_execute_poller 7012818650
spdk_thread_get_last_tsc 7656391206
spdk_thread_is_exited 7672645177
thread_update_stats 7906622129
spdk_thread_poll 7906662213
thread_poll 7906784445
msg_queue_run_batch 7907407733
_get_thread 8639722085
spdk_thread_get_from_ctx 15237700993

Generated by: LCOV version 1.15