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-20 15:47:59 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4179 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 131
spdk_thread_set_interrupt_mode 138
spdk_poller_resume 205
spdk_poller_pause 209
period_poller_interrupt_init 237
poller_remove_timer 241
spdk_poller_register 243
period_poller_set_interrupt_mode 245
_thread_exit 248
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 364
spdk_thread_get_count 399
_back_to_orig_thread 536
spdk_for_each_thread 536
spdk_thread_get_by_id 649
_on_thread 744
busy_poller_interrupt_init 1068
busy_poller_set_interrupt_mode 1068
spdk_thread_get_name 1212
_thread_remove_pollers 1244
spdk_thread_send_critical_msg 1293
poller_interrupt_fini 1305
spdk_interrupt_register 1335
spdk_interrupt_register_for_events 1533
spdk_interrupt_register_ext 1534
thread_trace 2246
spdk_thread_lib_init_ext 2296
spdk_poller_register_interrupt 2495
spdk_thread_lib_fini 2656
_thread_lib_init 2660
io_device_tree_RB_MINMAX 2672
_thread_trace 2953
register_flag_thread 2953
spdk_thread_is_running 3120
spdk_interrupt_unregister 3369
_free_thread 7261
spdk_thread_destroy 7270
spdk_thread_create 7395
spdk_thread_exit 7411
spdk_thread_get_stats 8219
spdk_thread_set_cpumask 11848
io_channel_tree_RB_MINMAX 14634
timed_pollers_tree_RB_MINMAX 16263
spdk_thread_next_poller_expiration 20249
spdk_thread_get_app_thread 22136
spdk_thread_get_cpumask 28371
_finish_unregister 34202
spdk_thread_is_app_thread 35689
io_device_tree_RB_REMOVE_COLOR 36476
spdk_thread_get_ctx 36954
io_device_free 43535
io_device_tree_RB_INSERT_COLOR 43539
io_device_tree_RB_REMOVE 43539
spdk_io_device_unregister 43543
io_device_tree_RB_INSERT 43547
spdk_io_device_register 43547
spdk_thread_get_id 78489
io_channel_tree_RB_REMOVE_COLOR 81262
sspin_fini_internal 88738
spdk_spin_destroy 88742
interrupt_timerfd_process 91744
io_channel_tree_RB_REMOVE 95618
io_channel_tree_RB_INSERT 95626
io_channel_tree_RB_INSERT_COLOR 95626
put_io_channel 95682
spdk_spin_init 129494
sspin_init_internal 129494
spdk_poller_register_named 159210
poller_register 159452
convert_us_to_ticks 159454
thread_insert_poller 159579
spdk_put_io_channel 303966
spdk_get_io_channel 303988
spdk_poller_unregister 342014
_call_completion 597882
spdk_for_each_channel 597886
_call_channel 683895
spdk_for_each_channel_continue 683895
spdk_io_channel_iter_get_channel 698539
thread_interrupt_msg_process 728443
spdk_io_channel_iter_get_io_device 834573
io_device_get 945429
io_device_tree_RB_FIND 945429
spdk_spin_held 1166029
spdk_io_channel_iter_get_ctx 1301218
spdk_spin_unlock 1896863
spdk_spin_lock 1896874
spdk_thread_has_active_pollers 3364572
io_device_cmp 3799736
io_channel_tree_RB_FIND 4237885
thread_get_io_channel 4237885
thread_exit 4298383
io_channel_cmp 11130467
spdk_thread_send_msg 11188831
thread_send_msg_notification 11190121
spdk_io_channel_get_io_device 11945763
spdk_io_channel_from_ctx 16355315
timed_pollers_tree_RB_REMOVE_COLOR 20995090
thread_execute_timed_poller 23845326
timed_pollers_tree_RB_REMOVE 23853188
poller_insert_timer 23853269
timed_pollers_tree_RB_INSERT 23853269
timed_pollers_tree_RB_INSERT_COLOR 23853269
timed_pollers_tree_RB_NEXT 23862039
thread_has_unpaused_pollers 60440782
spdk_thread_is_idle 60442800
spdk_interrupt_mode_is_enabled 91836046
timed_poller_compare 181705396
_interrupt_wrapper 258380349
spdk_io_channel_get_thread 302170823
spdk_set_thread 519510588
spdk_get_thread 644315902
thread_execute_poller 6559343190
spdk_thread_get_last_tsc 7205005673
spdk_thread_is_exited 7223455702
thread_update_stats 7421576592
spdk_thread_poll 7421921158
thread_poll 7422139236
msg_queue_run_batch 7423316374
_get_thread 8073616353
spdk_thread_get_from_ctx 14388475297

Generated by: LCOV version 1.15