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 04:56:03 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4133 10270 40.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
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_set_interrupt_mode 138
spdk_thread_is_bound 144
spdk_poller_resume 205
spdk_poller_pause 209
period_poller_interrupt_init 241
spdk_poller_register 243
poller_remove_timer 245
_thread_exit 247
period_poller_set_interrupt_mode 249
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 356
spdk_thread_get_count 415
_back_to_orig_thread 581
spdk_for_each_thread 581
spdk_thread_get_by_id 653
_on_thread 792
spdk_thread_get_name 1236
busy_poller_interrupt_init 1290
busy_poller_set_interrupt_mode 1290
spdk_thread_send_critical_msg 1381
_thread_remove_pollers 1428
poller_interrupt_fini 1531
spdk_interrupt_register 1561
spdk_interrupt_register_for_events 1759
spdk_interrupt_register_ext 1760
thread_trace 2350
spdk_thread_lib_init_ext 2400
spdk_poller_register_interrupt 2659
spdk_thread_lib_fini 2752
_thread_lib_init 2756
io_device_tree_RB_MINMAX 2768
spdk_thread_is_running 2999
_thread_trace 3092
register_flag_thread 3092
spdk_interrupt_unregister 3694
_free_thread 7581
spdk_thread_destroy 7590
spdk_thread_create 7715
spdk_thread_exit 7731
spdk_thread_get_stats 8666
spdk_thread_set_cpumask 11580
io_channel_tree_RB_MINMAX 15268
timed_pollers_tree_RB_MINMAX 17086
spdk_thread_get_app_thread 22646
spdk_thread_next_poller_expiration 25518
spdk_thread_get_cpumask 28819
_finish_unregister 35883
spdk_thread_get_ctx 37074
spdk_thread_is_app_thread 37651
io_device_tree_RB_REMOVE_COLOR 38323
io_device_free 45486
io_device_tree_RB_INSERT_COLOR 45490
io_device_tree_RB_REMOVE 45490
spdk_io_device_unregister 45494
io_device_tree_RB_INSERT 45498
spdk_io_device_register 45498
io_channel_tree_RB_REMOVE_COLOR 85361
spdk_thread_get_id 92416
sspin_fini_internal 93198
spdk_spin_destroy 93202
interrupt_timerfd_process 95628
io_channel_tree_RB_REMOVE 99710
io_channel_tree_RB_INSERT 99718
io_channel_tree_RB_INSERT_COLOR 99718
put_io_channel 99787
spdk_spin_init 135360
sspin_init_internal 135360
spdk_poller_register_named 167451
convert_us_to_ticks 167695
poller_register 167695
thread_insert_poller 167820
spdk_put_io_channel 316741
spdk_get_io_channel 316761
spdk_poller_unregister 321324
thread_interrupt_msg_process 686354
_call_completion 730205
spdk_for_each_channel 730206
spdk_io_channel_iter_get_channel 740276
spdk_io_channel_iter_get_io_device 797722
_call_channel 811836
spdk_for_each_channel_continue 811836
io_device_get 1092473
io_device_tree_RB_FIND 1092473
spdk_io_channel_iter_get_ctx 1476680
spdk_spin_unlock 2519116
spdk_spin_lock 2519126
thread_exit 3312458
spdk_thread_has_active_pollers 3804732
io_device_cmp 4549219
io_channel_tree_RB_FIND 4585113
thread_get_io_channel 4585113
spdk_spin_held 5551192
io_channel_cmp 12178087
spdk_thread_send_msg 16189121
thread_send_msg_notification 16190502
spdk_io_channel_get_io_device 17407406
timed_pollers_tree_RB_REMOVE_COLOR 23348777
spdk_io_channel_from_ctx 24520643
thread_execute_timed_poller 27466620
timed_pollers_tree_RB_REMOVE 27474274
poller_insert_timer 27474355
timed_pollers_tree_RB_INSERT 27474355
timed_pollers_tree_RB_INSERT_COLOR 27474355
timed_pollers_tree_RB_NEXT 27483300
thread_has_unpaused_pollers 117971276
spdk_thread_is_idle 117973456
timed_poller_compare 177136264
_interrupt_wrapper 237655506
spdk_interrupt_mode_is_enabled 341079416
spdk_io_channel_get_thread 405320260
spdk_set_thread 477971828
spdk_get_thread 808206238
spdk_thread_is_exited 8243175778
spdk_thread_get_last_tsc 8289290871
spdk_thread_poll 8446089571
thread_update_stats 8446248515
thread_poll 8446301767
msg_queue_run_batch 8447321067
thread_execute_poller 8741319783
_get_thread 9264893789
spdk_thread_get_from_ctx 16407485313

Generated by: LCOV version 1.15