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 17:01:14 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3972 10466 38.0 %

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 4
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 42
spdk_thread_get_next_active_poller 48
sspin_stack_print 57
spdk_thread_get_next_timed_poller 78
spdk_thread_is_bound 121
spdk_thread_get_first_active_poller 126
spdk_thread_get_first_paused_poller 126
spdk_thread_get_first_timed_poller 126
thread_interrupt_create 127
thread_interrupt_destroy 127
spdk_thread_set_interrupt_mode 143
spdk_poller_resume 165
spdk_poller_pause 168
spdk_poller_register 187
period_poller_interrupt_init 242
poller_remove_timer 246
period_poller_set_interrupt_mode 250
_thread_exit 254
spdk_thread_get_interrupt_fd_group 278
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 688
_on_thread 791
spdk_thread_get_name 1232
busy_poller_interrupt_init 1332
busy_poller_set_interrupt_mode 1332
spdk_thread_send_critical_msg 1372
_thread_remove_pollers 1428
poller_interrupt_fini 1574
spdk_interrupt_register 1608
spdk_interrupt_register_for_events 1806
spdk_interrupt_register_ext 1807
alloc_interrupt 1809
spdk_poller_register_interrupt 1841
thread_trace 2329
spdk_thread_lib_init_ext 2368
spdk_thread_lib_fini 2660
_thread_lib_init 2666
io_device_tree_RB_MINMAX 2672
_thread_trace 3044
register_flag_thread 3044
spdk_thread_is_running 3505
spdk_interrupt_unregister 3850
_free_thread 7323
spdk_thread_destroy 7331
spdk_thread_create 7434
spdk_thread_exit 7437
spdk_thread_get_stats 8499
spdk_thread_set_cpumask 11902
io_channel_tree_RB_MINMAX 14732
timed_pollers_tree_RB_MINMAX 16546
spdk_thread_get_app_thread 20860
spdk_thread_next_poller_expiration 22918
spdk_thread_get_cpumask 28918
_finish_unregister 34677
io_device_tree_RB_REMOVE_COLOR 37227
spdk_thread_is_app_thread 37242
spdk_thread_get_ctx 37482
io_device_free 44124
io_device_tree_RB_INSERT_COLOR 44127
io_device_tree_RB_REMOVE 44127
spdk_io_device_unregister 44131
io_device_tree_RB_INSERT 44133
spdk_io_device_register 44133
io_channel_tree_RB_REMOVE_COLOR 83185
sspin_fini_internal 90651
spdk_spin_destroy 90654
spdk_thread_get_id 91351
interrupt_timerfd_process 95595
io_channel_tree_RB_REMOVE 97266
io_channel_tree_RB_INSERT 97272
io_channel_tree_RB_INSERT_COLOR 97272
put_io_channel 97337
spdk_spin_init 132949
sspin_init_internal 132949
spdk_poller_register_named 157815
convert_us_to_ticks 158002
poller_register 158002
thread_insert_poller 158107
interrupt_fd_group_wrapper 159786
spdk_put_io_channel 310741
spdk_get_io_channel 310757
spdk_poller_unregister 344609
spdk_io_channel_iter_get_io_device 657249
_call_completion 686875
spdk_for_each_channel 686875
spdk_io_channel_iter_get_channel 705447
thread_exit 731922
_call_channel 780233
spdk_for_each_channel_continue 780233
thread_interrupt_msg_process 793442
io_device_get 1041772
io_device_tree_RB_FIND 1041772
spdk_io_channel_iter_get_ctx 1404261
spdk_thread_has_active_pollers 1798080
spdk_spin_unlock 2388373
spdk_spin_lock 2388381
io_channel_tree_RB_FIND 4118595
thread_get_io_channel 4118595
io_device_cmp 4525644
spdk_spin_held 7385497
io_channel_cmp 10981458
spdk_io_channel_get_io_device 16135838
spdk_thread_send_msg 19508596
thread_send_msg_notification 19509968
timed_pollers_tree_RB_REMOVE_COLOR 21026771
spdk_io_channel_from_ctx 23571695
thread_execute_timed_poller 25071623
timed_pollers_tree_RB_REMOVE 25080448
poller_insert_timer 25080508
timed_pollers_tree_RB_INSERT 25080508
timed_pollers_tree_RB_INSERT_COLOR 25080508
timed_pollers_tree_RB_NEXT 25090364
thread_has_unpaused_pollers 55492359
spdk_thread_is_idle 55493845
timed_poller_compare 154751465
_interrupt_wrapper 218402491
spdk_io_channel_get_thread 412606393
spdk_set_thread 440020981
spdk_interrupt_mode_is_enabled 519039545
spdk_get_thread 824226579
thread_execute_poller 8746852117
spdk_thread_is_exited 9852528093
spdk_thread_get_last_tsc 9929981142
thread_update_stats 10062065026
spdk_thread_poll 10062282366
thread_poll 10062309931
msg_queue_run_batch 10063283910
_get_thread 10906770923
spdk_thread_get_from_ctx 19657895601

Generated by: LCOV version 1.15