LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1195 1490 80.2 %
Date: 2024-12-09 17:50:48 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3952 10364 38.1 %

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
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
spdk_thread_get_next_active_poller 48
sspin_stack_print 57
spdk_thread_get_next_timed_poller 78
thread_interrupt_create 122
thread_interrupt_destroy 122
spdk_thread_is_bound 123
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 237
poller_remove_timer 241
period_poller_set_interrupt_mode 245
_thread_exit 247
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 295
spdk_thread_get_count 377
_back_to_orig_thread 561
spdk_for_each_thread 561
spdk_thread_get_by_id 672
_on_thread 768
spdk_thread_get_name 1215
spdk_thread_send_critical_msg 1310
busy_poller_interrupt_init 1660
busy_poller_set_interrupt_mode 1660
_thread_remove_pollers 1722
spdk_poller_register_interrupt 1742
poller_interrupt_fini 1897
spdk_interrupt_register 1927
spdk_interrupt_register_for_events 2125
spdk_interrupt_register_ext 2126
thread_trace 2248
spdk_thread_lib_init_ext 2287
spdk_thread_lib_fini 2576
_thread_lib_init 2582
io_device_tree_RB_MINMAX 2588
_thread_trace 2905
register_flag_thread 2905
spdk_thread_is_running 3128
spdk_interrupt_unregister 3988
_free_thread 7072
spdk_thread_destroy 7080
spdk_thread_create 7183
spdk_thread_exit 7186
spdk_thread_get_stats 8227
spdk_thread_set_cpumask 11914
io_channel_tree_RB_MINMAX 14230
timed_pollers_tree_RB_MINMAX 16325
spdk_thread_get_app_thread 20027
spdk_thread_next_poller_expiration 23747
spdk_thread_get_cpumask 28394
_finish_unregister 33267
io_device_tree_RB_REMOVE_COLOR 35654
spdk_thread_is_app_thread 35669
spdk_thread_get_ctx 37019
io_device_free 42438
io_device_tree_RB_INSERT_COLOR 42441
io_device_tree_RB_REMOVE 42441
spdk_io_device_unregister 42444
io_device_tree_RB_INSERT 42447
spdk_io_device_register 42447
spdk_thread_get_id 78871
io_channel_tree_RB_REMOVE_COLOR 79849
sspin_fini_internal 87133
spdk_spin_destroy 87136
interrupt_timerfd_process 90210
io_channel_tree_RB_REMOVE 93584
io_channel_tree_RB_INSERT 93590
io_channel_tree_RB_INSERT_COLOR 93590
put_io_channel 93652
spdk_spin_init 128154
sspin_init_internal 128154
spdk_poller_register_named 162369
convert_us_to_ticks 162556
poller_register 162556
thread_insert_poller 162661
spdk_put_io_channel 298519
spdk_get_io_channel 298532
spdk_poller_unregister 330148
_call_completion 521774
spdk_for_each_channel 521774
_call_channel 614523
spdk_for_each_channel_continue 614523
spdk_io_channel_iter_get_channel 630774
spdk_io_channel_iter_get_io_device 708562
thread_interrupt_msg_process 793906
io_device_get 862759
io_device_tree_RB_FIND 862759
spdk_io_channel_iter_get_ctx 1153713
spdk_spin_held 1809228
spdk_thread_has_active_pollers 1855076
spdk_spin_unlock 2295541
spdk_spin_lock 2295549
thread_exit 3121827
io_device_cmp 3505317
io_channel_tree_RB_FIND 3702822
thread_get_io_channel 3702822
io_channel_cmp 9968872
spdk_io_channel_get_io_device 12022909
spdk_thread_send_msg 15058650
thread_send_msg_notification 15059956
timed_pollers_tree_RB_REMOVE_COLOR 17059414
spdk_io_channel_from_ctx 17454655
thread_execute_timed_poller 20071017
timed_pollers_tree_RB_REMOVE 20079096
poller_insert_timer 20079157
timed_pollers_tree_RB_INSERT 20079157
timed_pollers_tree_RB_INSERT_COLOR 20079157
timed_pollers_tree_RB_NEXT 20088655
thread_has_unpaused_pollers 56976894
spdk_thread_is_idle 56978322
timed_poller_compare 141880453
spdk_interrupt_mode_is_enabled 177971986
_interrupt_wrapper 236379287
spdk_io_channel_get_thread 302752039
spdk_set_thread 475654928
spdk_get_thread 657559961
thread_execute_poller 5659310999
spdk_thread_is_exited 7705538412
spdk_thread_get_last_tsc 7721699809
thread_update_stats 7901552385
spdk_thread_poll 7901792209
thread_poll 7901808984
msg_queue_run_batch 7902784873
_get_thread 8574995389
spdk_thread_get_from_ctx 15363618679

Generated by: LCOV version 1.14