LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1085 1305 83.1 %
Date: 2024-07-12 12:30:19 Functions: 139 160 86.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 773 1128 68.5 %

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_bind 4
spdk_thread_has_pollers 8
poller_set_interrupt_mode 10
spdk_poller_get_id 10
spdk_poller_get_name 10
spdk_poller_get_period_ticks 10
spdk_poller_get_state_str 10
spdk_poller_get_stats 10
spdk_interrupt_mode_enable 16
period_poller_interrupt_init 18
_thread_exit 20
thread_interrupt_create 20
thread_interrupt_destroy 20
poller_remove_timer 23
sspin_stacks_print 24
period_poller_set_interrupt_mode 28
io_device_tree_RB_NEXT 36
spdk_thread_set_interrupt_mode 40
spdk_thread_get_interrupt_fd_group 70
sspin_stack_print 72
spdk_thread_get_next_timed_poller 84
spdk_thread_is_bound 85
spdk_thread_get_next_active_poller 96
spdk_thread_get_first_active_poller 132
spdk_thread_get_first_paused_poller 132
spdk_thread_get_first_timed_poller 132
spdk_poller_resume 167
busy_poller_interrupt_init 170
busy_poller_set_interrupt_mode 170
_thread_remove_pollers 173
poller_interrupt_fini 188
spdk_poller_pause 207
spdk_poller_register 208
spdk_interrupt_register 209
spdk_thread_get_count 282
spdk_thread_lib_init 327
spdk_interrupt_unregister 357
_back_to_orig_thread 462
spdk_for_each_thread 462
spdk_thread_get_by_id 507
_on_thread 580
spdk_thread_get_name 715
thread_interrupt_msg_process 754
spdk_poller_register_interrupt 826
spdk_thread_send_critical_msg 1447
thread_trace 2684
spdk_thread_lib_init_ext 2727
_thread_trace 3020
register_flag_thread 3020
spdk_thread_lib_fini 3050
_thread_lib_init 3054
io_device_tree_RB_MINMAX 3066
spdk_thread_is_running 3585
_free_thread 7859
spdk_thread_destroy 7866
spdk_thread_create 7999
spdk_thread_exit 8006
spdk_thread_get_stats 8415
interrupt_timerfd_process 10173
spdk_thread_set_cpumask 11538
io_channel_tree_RB_MINMAX 15825
timed_pollers_tree_RB_MINMAX 16185
spdk_thread_next_poller_expiration 22146
spdk_thread_get_cpumask 27903
spdk_thread_get_ctx 37378
spdk_thread_get_app_thread 38301
spdk_thread_is_app_thread 39832
_finish_unregister 40886
io_device_tree_RB_REMOVE_COLOR 42945
io_device_free 50837
io_device_tree_RB_INSERT_COLOR 50841
io_device_tree_RB_REMOVE 50841
spdk_io_device_unregister 50845
io_device_tree_RB_INSERT 50849
spdk_io_device_register 50849
spdk_thread_get_id 68536
io_channel_tree_RB_REMOVE_COLOR 99322
sspin_fini_internal 106772
spdk_spin_destroy 106776
io_channel_tree_RB_REMOVE 117978
io_channel_tree_RB_INSERT 117982
io_channel_tree_RB_INSERT_COLOR 117982
put_io_channel 118055
spdk_spin_init 147603
sspin_init_internal 147603
spdk_poller_register_named 280012
convert_us_to_ticks 280220
poller_register 280220
thread_insert_poller 280351
spdk_put_io_channel 356612
spdk_get_io_channel 356628
_call_completion 557601
spdk_for_each_channel 557601
_call_channel 617108
spdk_for_each_channel_continue 617108
spdk_poller_unregister 718667
spdk_io_channel_iter_get_channel 753354
spdk_io_channel_iter_get_io_device 821214
io_device_get 965086
io_device_tree_RB_FIND 965086
spdk_io_channel_iter_get_ctx 1185294
spdk_spin_held 1840951
spdk_thread_has_active_pollers 1841796
spdk_spin_unlock 1983142
spdk_spin_lock 1983150
io_device_cmp 3947316
io_channel_tree_RB_FIND 4148488
thread_get_io_channel 4148488
thread_exit 5003771
_interrupt_wrapper 5335536
spdk_thread_send_msg 6903778
thread_send_msg_notification 6905225
io_channel_cmp 11395395
timed_pollers_tree_RB_REMOVE_COLOR 15727357
thread_execute_timed_poller 19957840
timed_pollers_tree_RB_REMOVE 19962674
poller_insert_timer 19962754
timed_pollers_tree_RB_INSERT 19962754
timed_pollers_tree_RB_INSERT_COLOR 19962754
timed_pollers_tree_RB_NEXT 19968122
spdk_io_channel_get_io_device 24074708
spdk_io_channel_from_ctx 32398564
spdk_set_thread 61441773
spdk_interrupt_mode_is_enabled 91480035
spdk_thread_is_idle 106666691
thread_has_unpaused_pollers 106666699
timed_poller_compare 129049018
spdk_io_channel_get_thread 327482695
spdk_get_thread 367626538
spdk_thread_get_last_tsc 10837407337
spdk_thread_is_exited 10866363674
spdk_thread_poll 11047159398
thread_poll 11047159398
thread_update_stats 11047159398
msg_queue_run_batch 11047160029
_get_thread 11422651095
thread_execute_poller 12060147187
spdk_thread_get_from_ctx 21700430510

Generated by: LCOV version 1.14