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 12:49:14 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4135 10270 40.3 %

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_get_first_active_poller 126
spdk_thread_get_first_paused_poller 126
spdk_thread_get_first_timed_poller 126
spdk_thread_is_bound 128
spdk_thread_set_interrupt_mode 138
spdk_poller_resume 205
spdk_poller_pause 209
period_poller_interrupt_init 240
spdk_poller_register 243
poller_remove_timer 244
_thread_exit 247
period_poller_set_interrupt_mode 248
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 368
spdk_thread_get_count 408
_back_to_orig_thread 566
spdk_for_each_thread 566
spdk_thread_get_by_id 660
_on_thread 777
spdk_thread_get_name 1219
spdk_thread_send_critical_msg 1331
busy_poller_interrupt_init 1396
busy_poller_set_interrupt_mode 1396
_thread_remove_pollers 1459
poller_interrupt_fini 1636
spdk_interrupt_register 1666
spdk_interrupt_register_for_events 1864
spdk_interrupt_register_ext 1865
thread_trace 2292
spdk_thread_lib_init_ext 2342
spdk_poller_register_interrupt 2554
spdk_thread_lib_fini 2706
_thread_lib_init 2710
io_device_tree_RB_MINMAX 2722
_thread_trace 3005
register_flag_thread 3005
spdk_thread_is_running 3194
spdk_interrupt_unregister 3708
_free_thread 7429
spdk_thread_destroy 7436
spdk_thread_create 7563
spdk_thread_exit 7578
spdk_thread_get_stats 8383
spdk_thread_set_cpumask 11868
io_channel_tree_RB_MINMAX 14965
timed_pollers_tree_RB_MINMAX 16812
spdk_thread_get_app_thread 22176
spdk_thread_next_poller_expiration 23335
spdk_thread_get_cpumask 28787
_finish_unregister 34788
spdk_thread_is_app_thread 36589
io_device_tree_RB_REMOVE_COLOR 37171
spdk_thread_get_ctx 37317
io_device_free 44285
io_device_tree_RB_INSERT_COLOR 44289
io_device_tree_RB_REMOVE 44289
spdk_io_device_unregister 44293
io_device_tree_RB_INSERT 44297
spdk_io_device_register 44297
spdk_thread_get_id 78672
io_channel_tree_RB_REMOVE_COLOR 81949
sspin_fini_internal 89988
spdk_spin_destroy 89992
interrupt_timerfd_process 93253
io_channel_tree_RB_REMOVE 96468
io_channel_tree_RB_INSERT 96476
io_channel_tree_RB_INSERT_COLOR 96476
put_io_channel 96538
spdk_spin_init 131548
sspin_init_internal 131548
spdk_poller_register_named 166080
poller_register 166325
convert_us_to_ticks 166327
thread_insert_poller 166452
spdk_put_io_channel 306946
spdk_get_io_channel 306967
spdk_poller_unregister 368093
_call_completion 599308
spdk_for_each_channel 599310
_call_channel 686626
spdk_for_each_channel_continue 686626
spdk_io_channel_iter_get_channel 704244
spdk_io_channel_iter_get_io_device 804555
thread_interrupt_msg_process 923609
io_device_get 950582
io_device_tree_RB_FIND 950582
spdk_io_channel_iter_get_ctx 1304779
spdk_spin_unlock 2017331
spdk_spin_lock 2017341
spdk_spin_held 3320936
spdk_thread_has_active_pollers 3647691
thread_exit 3724595
io_device_cmp 3917444
io_channel_tree_RB_FIND 4305934
thread_get_io_channel 4305934
io_channel_cmp 11391154
spdk_io_channel_get_io_device 12417640
spdk_thread_send_msg 12915442
thread_send_msg_notification 12916772
spdk_io_channel_from_ctx 17455315
timed_pollers_tree_RB_REMOVE_COLOR 23559826
thread_execute_timed_poller 26576066
timed_pollers_tree_RB_REMOVE 26584123
poller_insert_timer 26584205
timed_pollers_tree_RB_INSERT 26584205
timed_pollers_tree_RB_INSERT_COLOR 26584205
timed_pollers_tree_RB_NEXT 26593425
thread_has_unpaused_pollers 58443370
spdk_thread_is_idle 58445727
spdk_interrupt_mode_is_enabled 146107169
timed_poller_compare 204711041
_interrupt_wrapper 258892637
spdk_io_channel_get_thread 325969882
spdk_set_thread 520918691
spdk_get_thread 680207510
thread_execute_poller 6817616932
spdk_thread_get_last_tsc 7506922465
spdk_thread_is_exited 7531599001
thread_update_stats 7788681463
spdk_thread_poll 7788767719
thread_poll 7788951184
msg_queue_run_batch 7790041128
_get_thread 8477000989
spdk_thread_get_from_ctx 14983347338

Generated by: LCOV version 1.15