LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1234 1547 79.8 %
Date: 2024-12-15 03:46:09 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4166 10466 39.8 %

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
spdk_interrupt_register_fd_group 2
__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
spdk_thread_get_next_active_poller 48
sspin_stack_print 75
spdk_thread_get_next_timed_poller 78
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_thread_is_bound 147
spdk_poller_resume 209
spdk_poller_pause 213
period_poller_interrupt_init 241
spdk_poller_register 243
poller_remove_timer 245
period_poller_set_interrupt_mode 249
_thread_exit 250
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 376
spdk_thread_get_count 421
_back_to_orig_thread 612
spdk_for_each_thread 612
spdk_thread_get_by_id 706
_on_thread 823
busy_poller_interrupt_init 1110
busy_poller_set_interrupt_mode 1110
_thread_remove_pollers 1267
poller_interrupt_fini 1351
spdk_interrupt_register 1379
spdk_thread_get_name 1389
spdk_thread_send_critical_msg 1475
spdk_interrupt_register_for_events 1577
spdk_interrupt_register_ext 1578
alloc_interrupt 1580
spdk_poller_register_interrupt 2004
thread_trace 2475
spdk_thread_lib_init_ext 2526
spdk_thread_lib_fini 2894
_thread_lib_init 2902
io_device_tree_RB_MINMAX 2910
spdk_thread_is_running 3225
_thread_trace 3264
register_flag_thread 3264
spdk_interrupt_unregister 3534
_free_thread 8099
spdk_thread_destroy 8108
spdk_thread_create 8237
spdk_thread_exit 8249
spdk_thread_get_stats 9197
spdk_thread_set_cpumask 15676
io_channel_tree_RB_MINMAX 16308
timed_pollers_tree_RB_MINMAX 17961
spdk_thread_get_app_thread 22963
spdk_thread_next_poller_expiration 23933
spdk_thread_get_cpumask 34225
_finish_unregister 38717
spdk_thread_is_app_thread 39832
io_device_tree_RB_REMOVE_COLOR 40640
spdk_thread_get_ctx 46246
io_device_free 48872
io_device_tree_RB_INSERT_COLOR 48876
io_device_tree_RB_REMOVE 48876
spdk_io_device_unregister 48880
io_device_tree_RB_INSERT 48884
spdk_io_device_register 48884
spdk_thread_get_id 97689
interrupt_timerfd_process 98485
io_channel_tree_RB_REMOVE_COLOR 98645
sspin_fini_internal 100753
spdk_spin_destroy 100757
io_channel_tree_RB_REMOVE 114698
io_channel_tree_RB_INSERT 114706
io_channel_tree_RB_INSERT_COLOR 114706
put_io_channel 114782
spdk_spin_init 145413
sspin_init_internal 145413
interrupt_fd_group_wrapper 158309
spdk_poller_register_named 174021
convert_us_to_ticks 174268
poller_register 174268
thread_insert_poller 174397
spdk_put_io_channel 378799
spdk_get_io_channel 378819
spdk_poller_unregister 388363
_call_completion 799694
spdk_for_each_channel 799694
spdk_io_channel_iter_get_io_device 820712
spdk_io_channel_iter_get_channel 823726
thread_interrupt_msg_process 853947
_call_channel 896297
spdk_for_each_channel_continue 896297
io_device_get 1227405
io_device_tree_RB_FIND 1227405
spdk_io_channel_iter_get_ctx 1644003
spdk_spin_unlock 2893931
spdk_spin_lock 2893941
spdk_thread_has_active_pollers 3818115
thread_exit 3850506
io_channel_tree_RB_FIND 4983967
thread_get_io_channel 4983967
io_device_cmp 5056314
spdk_spin_held 8227295
io_channel_cmp 13129440
spdk_io_channel_get_io_device 18461905
spdk_thread_send_msg 19366488
thread_send_msg_notification 19367963
timed_pollers_tree_RB_REMOVE_COLOR 24343813
spdk_io_channel_from_ctx 25930004
thread_execute_timed_poller 28653975
timed_pollers_tree_RB_REMOVE 28662595
poller_insert_timer 28662676
timed_pollers_tree_RB_INSERT 28662676
timed_pollers_tree_RB_INSERT_COLOR 28662676
timed_pollers_tree_RB_NEXT 28672586
thread_has_unpaused_pollers 147442795
spdk_thread_is_idle 147445315
timed_poller_compare 185811475
_interrupt_wrapper 236023507
spdk_interrupt_mode_is_enabled 409443529
spdk_set_thread 475804783
spdk_io_channel_get_thread 476422844
spdk_get_thread 904817840
thread_execute_poller 8761008663
spdk_thread_is_exited 9352246170
spdk_thread_get_last_tsc 9409474727
spdk_thread_poll 9569727072
thread_poll 9569999417
thread_update_stats 9570020573
msg_queue_run_batch 9570878204
_get_thread 10486624092
spdk_thread_get_from_ctx 18628779791

Generated by: LCOV version 1.15