LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1194 1468 81.3 %
Date: 2024-12-09 06:31:20 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3980 10270 38.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
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_get_trace_id 6
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
thread_interrupt_create 122
thread_interrupt_destroy 122
spdk_thread_is_bound 124
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 165
spdk_poller_pause 168
spdk_poller_register 187
period_poller_interrupt_init 242
poller_remove_timer 246
_thread_exit 249
period_poller_set_interrupt_mode 250
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 292
spdk_thread_get_count 377
_back_to_orig_thread 559
spdk_for_each_thread 559
spdk_thread_get_by_id 680
_on_thread 766
spdk_thread_get_name 1215
spdk_thread_send_critical_msg 1308
busy_poller_interrupt_init 1631
busy_poller_set_interrupt_mode 1631
_thread_remove_pollers 1683
poller_interrupt_fini 1873
spdk_interrupt_register 1903
spdk_interrupt_register_for_events 2101
spdk_interrupt_register_ext 2102
thread_trace 2246
spdk_thread_lib_init_ext 2285
spdk_poller_register_interrupt 2514
spdk_thread_lib_fini 2574
_thread_lib_init 2577
io_device_tree_RB_MINMAX 2586
_thread_trace 2918
register_flag_thread 2918
spdk_thread_is_running 3151
spdk_interrupt_unregister 3970
_free_thread 7096
spdk_thread_destroy 7103
spdk_thread_create 7204
spdk_thread_exit 7210
spdk_thread_get_stats 8212
spdk_thread_set_cpumask 12014
io_channel_tree_RB_MINMAX 14277
timed_pollers_tree_RB_MINMAX 16345
spdk_thread_get_app_thread 20739
spdk_thread_next_poller_expiration 25061
spdk_thread_get_cpumask 28615
_finish_unregister 33460
spdk_thread_is_app_thread 35690
io_device_tree_RB_REMOVE_COLOR 35890
spdk_thread_get_ctx 37270
io_device_free 42623
io_device_tree_RB_INSERT_COLOR 42626
io_device_tree_RB_REMOVE 42626
spdk_io_device_unregister 42629
io_device_tree_RB_INSERT 42632
spdk_io_device_register 42632
spdk_thread_get_id 79001
io_channel_tree_RB_REMOVE_COLOR 80587
sspin_fini_internal 87690
spdk_spin_destroy 87693
interrupt_timerfd_process 92938
io_channel_tree_RB_REMOVE 94395
io_channel_tree_RB_INSERT 94401
io_channel_tree_RB_INSERT_COLOR 94401
put_io_channel 94459
spdk_spin_init 128671
sspin_init_internal 128671
spdk_poller_register_named 159793
convert_us_to_ticks 159980
poller_register 159980
thread_insert_poller 160085
spdk_put_io_channel 300955
spdk_get_io_channel 300969
spdk_poller_unregister 321920
_call_completion 501377
spdk_for_each_channel 501377
_call_channel 591746
spdk_for_each_channel_continue 591746
spdk_io_channel_iter_get_channel 607060
spdk_io_channel_iter_get_io_device 692796
io_device_get 844984
io_device_tree_RB_FIND 844984
thread_interrupt_msg_process 870752
spdk_io_channel_iter_get_ctx 1113717
spdk_spin_held 1809551
spdk_thread_has_active_pollers 1847144
spdk_spin_unlock 1972642
spdk_spin_lock 1972650
thread_exit 2646136
io_device_cmp 3441469
io_channel_tree_RB_FIND 3585816
thread_get_io_channel 3585816
io_channel_cmp 9566083
spdk_io_channel_get_io_device 10440144
spdk_thread_send_msg 13733295
thread_send_msg_notification 13734601
spdk_io_channel_from_ctx 15321024
timed_pollers_tree_RB_REMOVE_COLOR 18068242
thread_execute_timed_poller 20813265
timed_pollers_tree_RB_REMOVE 20821558
poller_insert_timer 20821618
timed_pollers_tree_RB_INSERT 20821618
timed_pollers_tree_RB_INSERT_COLOR 20821618
timed_pollers_tree_RB_NEXT 20831227
thread_has_unpaused_pollers 54118429
spdk_thread_is_idle 54120332
timed_poller_compare 139845412
spdk_interrupt_mode_is_enabled 158384173
_interrupt_wrapper 234223839
spdk_io_channel_get_thread 294471216
spdk_set_thread 471501442
spdk_get_thread 630091026
thread_execute_poller 6641024461
spdk_thread_is_exited 7440774707
spdk_thread_get_last_tsc 7440987497
thread_update_stats 7642377067
spdk_thread_poll 7642553259
thread_poll 7642554572
msg_queue_run_batch 7643529706
_get_thread 8287046386
spdk_thread_get_from_ctx 14834172980

Generated by: LCOV version 1.15