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-12 10:52:15 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4167 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_is_bound 125
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 241
spdk_poller_register 243
poller_remove_timer 245
_thread_exit 247
period_poller_set_interrupt_mode 249
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 376
spdk_thread_get_count 408
_back_to_orig_thread 563
spdk_for_each_thread 563
spdk_thread_get_by_id 631
_on_thread 774
spdk_thread_get_name 1219
spdk_thread_send_critical_msg 1333
busy_poller_interrupt_init 1462
busy_poller_set_interrupt_mode 1462
_thread_remove_pollers 1562
poller_interrupt_fini 1703
spdk_interrupt_register 1731
spdk_poller_register_interrupt 1770
spdk_interrupt_register_for_events 1929
spdk_interrupt_register_ext 1930
alloc_interrupt 1932
thread_trace 2294
spdk_thread_lib_init_ext 2344
spdk_thread_lib_fini 2712
_thread_lib_init 2720
io_device_tree_RB_MINMAX 2728
_thread_trace 3007
register_flag_thread 3007
spdk_thread_is_running 3233
spdk_interrupt_unregister 3790
_free_thread 7497
spdk_thread_destroy 7503
spdk_thread_create 7635
spdk_thread_exit 7646
spdk_thread_get_stats 8560
spdk_thread_set_cpumask 11880
io_channel_tree_RB_MINMAX 15103
timed_pollers_tree_RB_MINMAX 17051
spdk_thread_get_app_thread 22280
spdk_thread_next_poller_expiration 22604
spdk_thread_get_cpumask 29071
_finish_unregister 35760
spdk_thread_is_app_thread 36604
io_device_tree_RB_REMOVE_COLOR 37312
spdk_thread_get_ctx 37446
io_device_free 45273
io_device_tree_RB_INSERT_COLOR 45277
io_device_tree_RB_REMOVE 45277
spdk_io_device_unregister 45281
io_device_tree_RB_INSERT 45285
spdk_io_device_register 45285
interrupt_fd_group_wrapper 46139
spdk_thread_get_id 78921
io_channel_tree_RB_REMOVE_COLOR 82475
sspin_fini_internal 91020
spdk_spin_destroy 91024
interrupt_timerfd_process 92855
io_channel_tree_RB_REMOVE 97890
io_channel_tree_RB_INSERT 97898
io_channel_tree_RB_INSERT_COLOR 97898
put_io_channel 97958
spdk_spin_init 132612
sspin_init_internal 132612
spdk_poller_register_named 161499
poller_register 161740
convert_us_to_ticks 161745
thread_insert_poller 161869
spdk_put_io_channel 309696
spdk_get_io_channel 309718
spdk_poller_unregister 352615
_call_completion 594024
spdk_for_each_channel 594026
_call_channel 689225
spdk_for_each_channel_continue 689225
spdk_io_channel_iter_get_channel 702162
spdk_io_channel_iter_get_io_device 813632
thread_interrupt_msg_process 814162
io_device_get 949038
io_device_tree_RB_FIND 949038
spdk_io_channel_iter_get_ctx 1301170
spdk_spin_held 1903711
spdk_spin_unlock 2185720
spdk_spin_lock 2185731
thread_exit 3289991
spdk_thread_has_active_pollers 3342771
io_device_cmp 3795899
io_channel_tree_RB_FIND 4315092
thread_get_io_channel 4315092
io_channel_cmp 11400774
spdk_io_channel_get_io_device 13585195
spdk_thread_send_msg 13795219
thread_send_msg_notification 13796551
spdk_io_channel_from_ctx 18372076
timed_pollers_tree_RB_REMOVE_COLOR 23088945
thread_execute_timed_poller 25868491
timed_pollers_tree_RB_REMOVE 25876692
poller_insert_timer 25876773
timed_pollers_tree_RB_INSERT 25876774
timed_pollers_tree_RB_INSERT_COLOR 25876774
timed_pollers_tree_RB_NEXT 25886215
thread_has_unpaused_pollers 63278448
spdk_thread_is_idle 63283045
spdk_interrupt_mode_is_enabled 173381710
timed_poller_compare 203824661
_interrupt_wrapper 254600007
spdk_io_channel_get_thread 374520441
spdk_set_thread 512655957
spdk_get_thread 750858475
thread_execute_poller 5996731937
spdk_thread_get_last_tsc 8105244243
spdk_thread_is_exited 8107546224
spdk_thread_poll 8374175019
thread_poll 8374291235
thread_update_stats 8374341117
msg_queue_run_batch 8375277432
_get_thread 9131023325
spdk_thread_get_from_ctx 16135031979

Generated by: LCOV version 1.14