LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1224 1532 79.9 %
Date: 2024-12-14 16:11:39 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4000 10466 38.2 %

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
spdk_interrupt_register_fd_group 2
__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 113
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 241
poller_remove_timer 245
_thread_exit 247
period_poller_set_interrupt_mode 249
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 298
spdk_thread_get_count 384
_back_to_orig_thread 584
spdk_for_each_thread 584
spdk_thread_get_by_id 660
_on_thread 791
busy_poller_interrupt_init 1165
busy_poller_set_interrupt_mode 1165
spdk_thread_get_name 1232
_thread_remove_pollers 1330
spdk_thread_send_critical_msg 1368
poller_interrupt_fini 1406
spdk_interrupt_register 1434
spdk_interrupt_register_for_events 1632
spdk_interrupt_register_ext 1633
alloc_interrupt 1635
spdk_poller_register_interrupt 1827
thread_trace 2324
spdk_thread_lib_init_ext 2363
spdk_thread_lib_fini 2655
_thread_lib_init 2661
io_device_tree_RB_MINMAX 2667
_thread_trace 3022
register_flag_thread 3022
spdk_thread_is_running 3484
spdk_interrupt_unregister 3555
_free_thread 7306
spdk_thread_destroy 7314
spdk_thread_create 7417
spdk_thread_exit 7419
spdk_thread_get_stats 8442
spdk_thread_set_cpumask 11962
io_channel_tree_RB_MINMAX 14697
timed_pollers_tree_RB_MINMAX 16410
spdk_thread_get_app_thread 20791
spdk_thread_next_poller_expiration 24308
spdk_thread_get_cpumask 28924
_finish_unregister 34637
spdk_thread_is_app_thread 37126
io_device_tree_RB_REMOVE_COLOR 37179
spdk_thread_get_ctx 37545
io_device_free 44068
io_device_tree_RB_INSERT_COLOR 44071
io_device_tree_RB_REMOVE 44071
spdk_io_device_unregister 44074
io_device_tree_RB_INSERT 44077
spdk_io_device_register 44077
io_channel_tree_RB_REMOVE_COLOR 82977
spdk_thread_get_id 89146
sspin_fini_internal 90544
spdk_spin_destroy 90547
interrupt_timerfd_process 93524
io_channel_tree_RB_REMOVE 96869
io_channel_tree_RB_INSERT 96875
io_channel_tree_RB_INSERT_COLOR 96875
put_io_channel 96945
spdk_spin_init 132766
sspin_init_internal 132766
interrupt_fd_group_wrapper 158000
spdk_poller_register_named 165497
convert_us_to_ticks 165684
poller_register 165684
thread_insert_poller 165789
spdk_put_io_channel 309595
spdk_get_io_channel 309610
spdk_poller_unregister 373189
thread_exit 460437
spdk_io_channel_iter_get_io_device 681207
_call_completion 728082
spdk_for_each_channel 728082
spdk_io_channel_iter_get_channel 755258
_call_channel 825733
spdk_for_each_channel_continue 825733
thread_interrupt_msg_process 1072274
io_device_get 1081775
io_device_tree_RB_FIND 1081775
spdk_io_channel_iter_get_ctx 1486682
spdk_thread_has_active_pollers 1834190
spdk_spin_unlock 2470541
spdk_spin_lock 2470549
io_channel_tree_RB_FIND 4276779
thread_get_io_channel 4276779
io_device_cmp 4692064
spdk_spin_held 7567790
io_channel_cmp 11531712
spdk_io_channel_get_io_device 17607325
spdk_thread_send_msg 19353947
thread_send_msg_notification 19355315
timed_pollers_tree_RB_REMOVE_COLOR 21591229
spdk_io_channel_from_ctx 25427096
thread_execute_timed_poller 25505408
timed_pollers_tree_RB_REMOVE 25514231
poller_insert_timer 25514291
timed_pollers_tree_RB_INSERT 25514291
timed_pollers_tree_RB_INSERT_COLOR 25514291
timed_pollers_tree_RB_NEXT 25524036
thread_has_unpaused_pollers 57761095
spdk_thread_is_idle 57763479
timed_poller_compare 161243982
_interrupt_wrapper 248099806
spdk_io_channel_get_thread 429704918
spdk_set_thread 499970927
spdk_interrupt_mode_is_enabled 506923085
spdk_get_thread 867484669
thread_execute_poller 8834432740
spdk_thread_is_exited 9879950746
spdk_thread_get_last_tsc 9946449387
spdk_thread_poll 10100483188
thread_poll 10100505314
thread_update_stats 10100597268
msg_queue_run_batch 10101747727
_get_thread 10988103047
spdk_thread_get_from_ctx 19706050254

Generated by: LCOV version 1.14