LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1086 1303 83.3 %
Date: 2024-07-10 16:15:41 Functions: 139 160 86.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 772 1126 68.6 %

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_has_pollers 8
poller_set_interrupt_mode 10
spdk_poller_get_id 10
spdk_poller_get_name 10
spdk_poller_get_period_ticks 10
spdk_poller_get_state_str 10
spdk_poller_get_stats 10
spdk_interrupt_mode_enable 16
period_poller_interrupt_init 18
_thread_exit 20
spdk_thread_bind 20
thread_interrupt_create 20
thread_interrupt_destroy 20
poller_remove_timer 23
sspin_stacks_print 24
period_poller_set_interrupt_mode 28
io_device_tree_RB_NEXT 36
spdk_thread_set_interrupt_mode 40
spdk_thread_get_interrupt_fd_group 70
sspin_stack_print 72
spdk_thread_is_bound 83
spdk_thread_get_next_timed_poller 84
spdk_thread_get_next_active_poller 96
spdk_thread_get_first_active_poller 132
spdk_thread_get_first_paused_poller 132
spdk_thread_get_first_timed_poller 132
spdk_poller_resume 138
_thread_remove_pollers 173
spdk_poller_pause 178
busy_poller_interrupt_init 188
busy_poller_set_interrupt_mode 188
poller_interrupt_fini 206
spdk_poller_register 208
spdk_interrupt_register 227
spdk_thread_get_count 294
spdk_thread_lib_init 325
spdk_interrupt_unregister 372
_back_to_orig_thread 435
spdk_for_each_thread 435
spdk_thread_get_by_id 522
spdk_thread_get_name 546
_on_thread 575
thread_interrupt_msg_process 755
spdk_poller_register_interrupt 805
spdk_thread_send_critical_msg 1268
thread_trace 2970
spdk_thread_lib_init_ext 3014
_thread_trace 3285
register_flag_thread 3285
spdk_thread_lib_fini 3335
_thread_lib_init 3339
io_device_tree_RB_MINMAX 3351
spdk_thread_is_running 3792
_free_thread 8707
spdk_thread_destroy 8715
spdk_thread_create 8847
spdk_thread_exit 8855
spdk_thread_get_stats 9205
interrupt_timerfd_process 10492
spdk_thread_set_cpumask 15974
io_channel_tree_RB_MINMAX 17518
timed_pollers_tree_RB_MINMAX 17878
spdk_thread_get_app_thread 28009
spdk_thread_get_cpumask 34055
_finish_unregister 35582
io_device_tree_RB_REMOVE_COLOR 37121
spdk_thread_is_app_thread 37290
io_device_free 45451
io_device_tree_RB_INSERT_COLOR 45451
io_device_tree_RB_REMOVE 45451
spdk_io_device_unregister 45455
io_device_tree_RB_INSERT 45459
spdk_io_device_register 45459
spdk_thread_next_poller_expiration 47711
spdk_thread_get_ctx 47939
spdk_thread_get_id 79802
io_channel_tree_RB_REMOVE_COLOR 94990
sspin_fini_internal 98029
spdk_spin_destroy 98033
io_channel_tree_RB_INSERT 111282
io_channel_tree_RB_INSERT_COLOR 111282
io_channel_tree_RB_REMOVE 111282
put_io_channel 111311
spdk_spin_init 135824
sspin_init_internal 135824
spdk_poller_register_named 293755
convert_us_to_ticks 293963
poller_register 293963
thread_insert_poller 294065
spdk_put_io_channel 348423
spdk_get_io_channel 348435
_call_completion 507776
spdk_for_each_channel 507776
_call_channel 582854
spdk_for_each_channel_continue 582854
spdk_poller_unregister 726145
spdk_io_channel_iter_get_channel 761397
spdk_io_channel_iter_get_io_device 803670
io_device_get 901678
io_device_tree_RB_FIND 901678
spdk_io_channel_iter_get_ctx 1138697
spdk_spin_unlock 1895351
spdk_spin_lock 1895359
spdk_thread_has_active_pollers 1951304
io_device_cmp 3641113
io_channel_tree_RB_FIND 4019376
thread_get_io_channel 4019376
thread_exit 5327470
_interrupt_wrapper 5671714
spdk_spin_held 7447661
spdk_thread_send_msg 8966872
thread_send_msg_notification 8968140
spdk_interrupt_mode_is_enabled 9614250
io_channel_cmp 10778446
timed_pollers_tree_RB_REMOVE_COLOR 18640394
spdk_io_channel_get_io_device 18856327
thread_execute_timed_poller 22727558
timed_pollers_tree_RB_REMOVE 22732273
poller_insert_timer 22732353
timed_pollers_tree_RB_INSERT 22732353
timed_pollers_tree_RB_INSERT_COLOR 22732353
timed_pollers_tree_RB_NEXT 22737614
spdk_io_channel_from_ctx 23919489
spdk_set_thread 63643564
spdk_thread_is_idle 75162529
thread_has_unpaused_pollers 75162537
timed_poller_compare 146366700
spdk_io_channel_get_thread 431769980
spdk_get_thread 512547887
spdk_thread_get_last_tsc 8569124672
spdk_thread_is_exited 8573042300
spdk_thread_poll 8747448531
thread_poll 8747448531
thread_update_stats 8747448531
msg_queue_run_batch 8747449163
_get_thread 9269864352
thread_execute_poller 11723395442
spdk_thread_get_from_ctx 17105328308

Generated by: LCOV version 1.14