LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1204 1483 81.2 %
Date: 2024-11-20 09:48:13 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4186 10270 40.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 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
sspin_stack_print 75
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 204
spdk_poller_pause 208
period_poller_interrupt_init 237
poller_remove_timer 241
spdk_poller_register 243
period_poller_set_interrupt_mode 245
_thread_exit 247
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 356
spdk_thread_get_count 402
_back_to_orig_thread 533
spdk_for_each_thread 533
spdk_thread_get_by_id 670
_on_thread 744
spdk_thread_get_name 1068
spdk_thread_send_critical_msg 1254
busy_poller_interrupt_init 1385
busy_poller_set_interrupt_mode 1385
_thread_remove_pollers 1485
poller_interrupt_fini 1622
spdk_interrupt_register 1652
spdk_interrupt_register_for_events 1850
spdk_interrupt_register_ext 1851
thread_trace 2189
spdk_thread_lib_init_ext 2238
spdk_poller_register_interrupt 2399
spdk_thread_lib_fini 2590
_thread_lib_init 2594
io_device_tree_RB_MINMAX 2606
_thread_trace 2867
register_flag_thread 2867
spdk_thread_is_running 2993
spdk_interrupt_unregister 3760
_free_thread 7035
spdk_thread_destroy 7044
spdk_thread_create 7169
spdk_thread_exit 7184
spdk_thread_set_cpumask 7688
spdk_thread_get_stats 8032
io_channel_tree_RB_MINMAX 14181
timed_pollers_tree_RB_MINMAX 16052
spdk_thread_get_app_thread 21415
spdk_thread_next_poller_expiration 22620
spdk_thread_get_cpumask 23779
spdk_thread_get_ctx 28208
_finish_unregister 33130
spdk_thread_is_app_thread 34700
io_device_tree_RB_REMOVE_COLOR 35245
io_device_free 42172
io_device_tree_RB_INSERT_COLOR 42176
io_device_tree_RB_REMOVE 42176
spdk_io_device_unregister 42180
io_device_tree_RB_INSERT 42184
spdk_io_device_register 42184
io_channel_tree_RB_REMOVE_COLOR 68764
spdk_thread_get_id 73895
io_channel_tree_RB_REMOVE 82559
io_channel_tree_RB_INSERT 82567
io_channel_tree_RB_INSERT_COLOR 82567
put_io_channel 82626
sspin_fini_internal 83714
spdk_spin_destroy 83718
interrupt_timerfd_process 92372
spdk_spin_init 123160
sspin_init_internal 123160
spdk_poller_register_named 155882
poller_register 156123
convert_us_to_ticks 156125
thread_insert_poller 156249
spdk_put_io_channel 246414
spdk_get_io_channel 246438
spdk_poller_unregister 304130
_call_completion 550778
spdk_for_each_channel 550779
_call_channel 633059
spdk_for_each_channel_continue 633059
spdk_io_channel_iter_get_channel 647691
spdk_io_channel_iter_get_io_device 804619
io_device_get 839409
io_device_tree_RB_FIND 839409
thread_interrupt_msg_process 1014023
spdk_io_channel_iter_get_ctx 1190912
spdk_spin_held 1835679
spdk_spin_unlock 1954153
spdk_spin_lock 1954163
io_device_cmp 3460107
spdk_thread_has_active_pollers 3784767
thread_exit 3799744
io_channel_tree_RB_FIND 4053549
thread_get_io_channel 4053549
io_channel_cmp 10847895
spdk_thread_send_msg 11147633
thread_send_msg_notification 11148887
spdk_io_channel_get_io_device 11962267
spdk_io_channel_from_ctx 16464643
timed_pollers_tree_RB_REMOVE_COLOR 22294440
thread_execute_timed_poller 25140780
timed_pollers_tree_RB_REMOVE 25148069
poller_insert_timer 25148152
timed_pollers_tree_RB_INSERT 25148153
timed_pollers_tree_RB_INSERT_COLOR 25148153
timed_pollers_tree_RB_NEXT 25156570
thread_has_unpaused_pollers 52967602
spdk_thread_is_idle 52969360
spdk_interrupt_mode_is_enabled 170770299
timed_poller_compare 194138171
_interrupt_wrapper 255727555
spdk_io_channel_get_thread 287195829
spdk_set_thread 514762713
spdk_get_thread 639962182
thread_execute_poller 6149736329
spdk_thread_get_last_tsc 6825983158
spdk_thread_is_exited 6836046031
spdk_thread_poll 7072627877
thread_update_stats 7072941145
thread_poll 7073331423
msg_queue_run_batch 7074154722
_get_thread 7719603805
spdk_thread_get_from_ctx 13596307704

Generated by: LCOV version 1.15