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 16:12:14 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3987 10364 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
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
spdk_thread_is_bound 116
thread_interrupt_create 122
thread_interrupt_destroy 122
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 249
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 295
spdk_thread_get_count 377
_back_to_orig_thread 560
spdk_for_each_thread 560
spdk_thread_get_by_id 672
_on_thread 767
spdk_thread_get_name 1215
spdk_thread_send_critical_msg 1309
busy_poller_interrupt_init 1588
busy_poller_set_interrupt_mode 1588
_thread_remove_pollers 1607
spdk_poller_register_interrupt 1742
poller_interrupt_fini 1825
spdk_interrupt_register 1855
spdk_interrupt_register_for_events 2053
spdk_interrupt_register_ext 2054
thread_trace 2247
spdk_thread_lib_init_ext 2286
spdk_thread_lib_fini 2575
_thread_lib_init 2581
io_device_tree_RB_MINMAX 2587
_thread_trace 2904
register_flag_thread 2904
spdk_thread_is_running 3157
spdk_interrupt_unregister 3880
_free_thread 7069
spdk_thread_destroy 7076
spdk_thread_create 7180
spdk_thread_exit 7182
spdk_thread_get_stats 8206
spdk_thread_set_cpumask 11938
io_channel_tree_RB_MINMAX 14222
timed_pollers_tree_RB_MINMAX 16208
spdk_thread_get_app_thread 20776
spdk_thread_next_poller_expiration 25688
spdk_thread_get_cpumask 28427
_finish_unregister 33254
io_device_tree_RB_REMOVE_COLOR 35638
spdk_thread_is_app_thread 35646
spdk_thread_get_ctx 37044
io_device_free 42421
io_device_tree_RB_INSERT_COLOR 42424
io_device_tree_RB_REMOVE 42424
spdk_io_device_unregister 42427
io_device_tree_RB_INSERT 42430
spdk_io_device_register 42430
spdk_thread_get_id 79068
io_channel_tree_RB_REMOVE_COLOR 79544
sspin_fini_internal 87083
spdk_spin_destroy 87086
interrupt_timerfd_process 90293
io_channel_tree_RB_REMOVE 93287
io_channel_tree_RB_INSERT 93293
io_channel_tree_RB_INSERT_COLOR 93293
put_io_channel 93355
spdk_spin_init 128082
sspin_init_internal 128082
spdk_poller_register_named 164487
convert_us_to_ticks 164674
poller_register 164674
thread_insert_poller 164779
spdk_put_io_channel 297128
spdk_get_io_channel 297145
spdk_poller_unregister 348493
_call_completion 535806
spdk_for_each_channel 535806
_call_channel 630241
spdk_for_each_channel_continue 630241
spdk_io_channel_iter_get_channel 648379
spdk_io_channel_iter_get_io_device 701587
io_device_get 875387
io_device_tree_RB_FIND 875387
thread_interrupt_msg_process 884508
spdk_spin_held 1158558
spdk_io_channel_iter_get_ctx 1182447
spdk_thread_has_active_pollers 1891264
spdk_spin_unlock 2309238
spdk_spin_lock 2309246
thread_exit 3235084
io_device_cmp 3543940
io_channel_tree_RB_FIND 3835439
thread_get_io_channel 3835439
io_channel_cmp 10278012
spdk_io_channel_get_io_device 11599887
spdk_thread_send_msg 15340449
thread_send_msg_notification 15341758
spdk_io_channel_from_ctx 16902851
timed_pollers_tree_RB_REMOVE_COLOR 17203234
thread_execute_timed_poller 19946560
timed_pollers_tree_RB_REMOVE 19954727
poller_insert_timer 19954787
timed_pollers_tree_RB_INSERT 19954787
timed_pollers_tree_RB_INSERT_COLOR 19954787
timed_pollers_tree_RB_NEXT 19964187
thread_has_unpaused_pollers 58729006
spdk_thread_is_idle 58729996
timed_poller_compare 145147108
spdk_interrupt_mode_is_enabled 163826940
_interrupt_wrapper 263892886
spdk_io_channel_get_thread 314201783
spdk_set_thread 530876336
spdk_get_thread 697055833
thread_execute_poller 5645998396
spdk_thread_is_exited 7659360107
spdk_thread_get_last_tsc 7672659614
thread_update_stats 7870490226
spdk_thread_poll 7870724808
thread_poll 7870733867
msg_queue_run_batch 7871792387
_get_thread 8583729818
spdk_thread_get_from_ctx 15269384723

Generated by: LCOV version 1.14