LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1184 1458 81.2 %
Date: 2024-12-15 23:25:31 Functions: 140 161 87.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3945 10256 38.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 3
spdk_thread_has_pollers 6
poller_set_interrupt_mode 8
spdk_poller_get_name 14
spdk_poller_get_period_ticks 14
spdk_poller_get_stats 14
spdk_poller_get_id 17
spdk_thread_bind 19
sspin_stacks_print 19
io_device_tree_RB_NEXT 27
spdk_poller_get_state_str 35
spdk_interrupt_mode_enable 41
sspin_stack_print 57
spdk_thread_get_next_timed_poller 78
spdk_thread_get_next_active_poller 96
spdk_thread_is_bound 107
thread_interrupt_create 125
thread_interrupt_destroy 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 141
spdk_poller_resume 165
spdk_poller_pause 168
spdk_poller_register 184
period_poller_interrupt_init 236
poller_remove_timer 240
period_poller_set_interrupt_mode 244
_thread_exit 248
spdk_thread_lib_init 273
spdk_thread_get_interrupt_fd_group 274
spdk_thread_get_count 366
_back_to_orig_thread 547
spdk_for_each_thread 547
spdk_thread_get_by_id 658
_on_thread 752
spdk_thread_get_name 1123
spdk_thread_send_critical_msg 1305
_thread_remove_pollers 1883
busy_poller_interrupt_init 1885
busy_poller_set_interrupt_mode 1885
poller_interrupt_fini 2121
spdk_interrupt_register 2155
thread_trace 2243
spdk_thread_lib_init_ext 2279
spdk_interrupt_register_for_events 2353
spdk_thread_lib_fini 2549
_thread_lib_init 2552
spdk_poller_register_interrupt 2552
io_device_tree_RB_MINMAX 2561
_thread_trace 2940
register_flag_thread 2940
spdk_thread_is_running 3345
spdk_interrupt_unregister 4362
_free_thread 6954
spdk_thread_destroy 6959
spdk_thread_create 7062
spdk_thread_exit 7066
spdk_thread_get_stats 8200
spdk_thread_set_cpumask 11682
io_channel_tree_RB_MINMAX 13994
timed_pollers_tree_RB_MINMAX 16254
spdk_thread_next_poller_expiration 18983
spdk_thread_get_app_thread 20101
spdk_thread_get_cpumask 27645
_finish_unregister 32695
spdk_thread_is_app_thread 35565
io_device_tree_RB_REMOVE_COLOR 35607
spdk_thread_get_ctx 36304
io_device_free 41719
io_device_tree_RB_INSERT_COLOR 41722
io_device_tree_RB_REMOVE 41722
spdk_io_device_unregister 41725
io_device_tree_RB_INSERT 41728
spdk_io_device_register 41728
io_channel_tree_RB_REMOVE_COLOR 81047
interrupt_timerfd_process 85407
sspin_fini_internal 87500
spdk_spin_destroy 87503
spdk_thread_get_id 90951
io_channel_tree_RB_REMOVE 93710
io_channel_tree_RB_INSERT 93716
io_channel_tree_RB_INSERT_COLOR 93716
put_io_channel 93765
spdk_spin_init 127950
sspin_init_internal 127950
spdk_poller_register_named 168329
poller_register 168512
convert_us_to_ticks 168513
thread_insert_poller 168618
spdk_put_io_channel 300715
spdk_get_io_channel 300730
spdk_poller_unregister 358189
thread_exit 615493
spdk_io_channel_iter_get_io_device 687997
_call_completion 717410
spdk_for_each_channel 717410
spdk_io_channel_iter_get_channel 747351
_call_channel 811996
spdk_for_each_channel_continue 811996
io_device_get 1059874
io_device_tree_RB_FIND 1059874
thread_interrupt_msg_process 1165818
spdk_io_channel_iter_get_ctx 1462810
spdk_thread_has_active_pollers 1873026
spdk_spin_unlock 2431068
spdk_spin_lock 2431076
io_channel_tree_RB_FIND 4259414
thread_get_io_channel 4259414
io_device_cmp 4586183
spdk_spin_held 7534730
io_channel_cmp 11481383
spdk_thread_send_msg 14445148
thread_send_msg_notification 14446453
spdk_io_channel_get_io_device 16962036
timed_pollers_tree_RB_REMOVE_COLOR 20091358
spdk_io_channel_from_ctx 22684895
thread_execute_timed_poller 24036373
timed_pollers_tree_RB_REMOVE 24045131
poller_insert_timer 24045191
timed_pollers_tree_RB_INSERT 24045191
timed_pollers_tree_RB_INSERT_COLOR 24045191
timed_pollers_tree_RB_NEXT 24055412
thread_has_unpaused_pollers 52282980
spdk_thread_is_idle 52285196
timed_poller_compare 146309336
_interrupt_wrapper 247124705
spdk_interrupt_mode_is_enabled 351634112
spdk_io_channel_get_thread 388862819
spdk_set_thread 497558170
spdk_get_thread 806062805
spdk_thread_is_exited 9196726291
spdk_thread_get_last_tsc 9269153940
thread_update_stats 9370414857
spdk_thread_poll 9370524764
thread_poll 9370576597
msg_queue_run_batch 9371962802
thread_execute_poller 9570507519
_get_thread 10191966882
spdk_thread_get_from_ctx 18374025036

Generated by: LCOV version 1.15