LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1205 1505 80.1 %
Date: 2024-12-09 12:05:09 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4127 10364 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
__pending_unregister 3
poller_set_interrupt_mode 6
spdk_thread_get_trace_id 6
spdk_thread_has_pollers 6
spdk_poller_get_name 12
spdk_poller_get_period_ticks 12
spdk_poller_get_stats 12
spdk_poller_get_id 15
spdk_thread_bind 19
sspin_stacks_print 19
io_device_tree_RB_NEXT 27
spdk_poller_get_state_str 33
spdk_interrupt_mode_enable 38
spdk_thread_get_next_active_poller 48
sspin_stack_print 57
spdk_thread_get_next_timed_poller 72
spdk_thread_is_bound 114
thread_interrupt_create 119
thread_interrupt_destroy 119
spdk_thread_get_first_active_poller 120
spdk_thread_get_first_paused_poller 120
spdk_thread_get_first_timed_poller 120
spdk_thread_set_interrupt_mode 131
spdk_poller_resume 165
spdk_poller_pause 168
spdk_poller_register 181
period_poller_interrupt_init 237
poller_remove_timer 240
_thread_exit 243
period_poller_set_interrupt_mode 243
spdk_thread_get_interrupt_fd_group 256
spdk_thread_lib_init 291
spdk_thread_get_count 366
_back_to_orig_thread 556
spdk_for_each_thread 556
spdk_thread_get_by_id 653
_on_thread 763
busy_poller_interrupt_init 1126
busy_poller_set_interrupt_mode 1126
spdk_thread_get_name 1202
_thread_remove_pollers 1273
spdk_thread_send_critical_msg 1284
poller_interrupt_fini 1363
spdk_interrupt_register 1390
spdk_interrupt_register_for_events 1588
spdk_interrupt_register_ext 1589
spdk_poller_register_interrupt 1673
thread_trace 2139
spdk_thread_lib_init_ext 2177
spdk_thread_lib_fini 2462
_thread_lib_init 2468
io_device_tree_RB_MINMAX 2474
_thread_trace 2770
register_flag_thread 2770
spdk_thread_is_running 3066
spdk_interrupt_unregister 3430
_free_thread 6891
spdk_thread_destroy 6894
spdk_thread_create 6992
spdk_thread_exit 6999
spdk_thread_get_stats 8165
spdk_thread_set_cpumask 11940
io_channel_tree_RB_MINMAX 13858
timed_pollers_tree_RB_MINMAX 15500
spdk_thread_get_app_thread 19751
spdk_thread_next_poller_expiration 24618
spdk_thread_get_cpumask 28045
_finish_unregister 32251
spdk_thread_is_app_thread 34281
io_device_tree_RB_REMOVE_COLOR 34367
spdk_thread_get_ctx 36703
io_device_free 41007
io_device_tree_RB_INSERT_COLOR 41010
io_device_tree_RB_REMOVE 41010
spdk_io_device_unregister 41013
io_device_tree_RB_INSERT 41016
spdk_io_device_register 41016
io_channel_tree_RB_REMOVE_COLOR 78725
spdk_thread_get_id 78984
sspin_fini_internal 85835
spdk_spin_destroy 85838
io_channel_tree_RB_REMOVE 92191
io_channel_tree_RB_INSERT 92197
io_channel_tree_RB_INSERT_COLOR 92197
put_io_channel 92255
interrupt_timerfd_process 93182
spdk_spin_init 124439
sspin_init_internal 124439
spdk_poller_register_named 155496
poller_register 155676
convert_us_to_ticks 155679
thread_insert_poller 155783
spdk_put_io_channel 294050
spdk_get_io_channel 294076
spdk_poller_unregister 372770
_call_completion 536255
spdk_for_each_channel 536256
_call_channel 627466
spdk_for_each_channel_continue 627466
spdk_io_channel_iter_get_channel 642068
spdk_io_channel_iter_get_io_device 643421
io_device_get 871355
io_device_tree_RB_FIND 871355
thread_interrupt_msg_process 900324
spdk_io_channel_iter_get_ctx 1183092
spdk_spin_held 1832909
spdk_spin_unlock 2054058
spdk_spin_lock 2054066
thread_exit 2303057
spdk_thread_has_active_pollers 2488033
io_device_cmp 3473266
io_channel_tree_RB_FIND 3667258
thread_get_io_channel 3667258
io_channel_cmp 9630069
spdk_io_channel_get_io_device 11983415
spdk_io_channel_from_ctx 19223605
spdk_thread_send_msg 20737130
thread_send_msg_notification 20738411
timed_pollers_tree_RB_REMOVE_COLOR 22402789
thread_execute_timed_poller 25163688
timed_pollers_tree_RB_REMOVE 25171769
poller_insert_timer 25171829
timed_pollers_tree_RB_INSERT_COLOR 25171829
timed_pollers_tree_RB_INSERT 25171830
timed_pollers_tree_RB_NEXT 25180813
thread_has_unpaused_pollers 57421834
spdk_thread_is_idle 57423713
spdk_interrupt_mode_is_enabled 155134895
timed_poller_compare 197136281
_interrupt_wrapper 271328677
spdk_io_channel_get_thread 335672318
spdk_set_thread 545772393
spdk_get_thread 722970141
thread_execute_poller 5637865434
spdk_thread_get_last_tsc 7739303572
spdk_thread_is_exited 7740991509
thread_update_stats 7983332807
spdk_thread_poll 7983477165
thread_poll 7983865918
msg_queue_run_batch 7985057076
_get_thread 8724999885
spdk_thread_get_from_ctx 15417361172

Generated by: LCOV version 1.15