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 19:16:37 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4163 10270 40.5 %

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 239
poller_remove_timer 243
spdk_poller_register 243
_thread_exit 244
period_poller_set_interrupt_mode 247
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 368
spdk_thread_get_count 408
_back_to_orig_thread 562
spdk_for_each_thread 562
spdk_thread_get_by_id 690
_on_thread 773
busy_poller_interrupt_init 1103
busy_poller_set_interrupt_mode 1103
spdk_thread_get_name 1219
_thread_remove_pollers 1247
spdk_thread_send_critical_msg 1327
poller_interrupt_fini 1342
spdk_interrupt_register 1372
spdk_interrupt_register_for_events 1570
spdk_interrupt_register_ext 1571
thread_trace 2288
spdk_thread_lib_init_ext 2338
spdk_poller_register_interrupt 2550
spdk_thread_lib_fini 2702
_thread_lib_init 2706
io_device_tree_RB_MINMAX 2718
_thread_trace 3001
register_flag_thread 3001
spdk_thread_is_running 3208
spdk_interrupt_unregister 3417
_free_thread 7417
spdk_thread_destroy 7424
spdk_thread_create 7551
spdk_thread_exit 7566
spdk_thread_get_stats 8419
spdk_thread_set_cpumask 11836
io_channel_tree_RB_MINMAX 14944
timed_pollers_tree_RB_MINMAX 16576
spdk_thread_get_app_thread 22690
spdk_thread_next_poller_expiration 23817
spdk_thread_get_cpumask 28759
_finish_unregister 34800
spdk_thread_is_app_thread 36522
io_device_tree_RB_REMOVE_COLOR 37171
spdk_thread_get_ctx 37224
io_device_free 44281
io_device_tree_RB_INSERT_COLOR 44285
io_device_tree_RB_REMOVE 44285
spdk_io_device_unregister 44289
io_device_tree_RB_INSERT 44293
spdk_io_device_register 44293
spdk_thread_get_id 78650
io_channel_tree_RB_REMOVE_COLOR 82082
sspin_fini_internal 90087
spdk_spin_destroy 90091
interrupt_timerfd_process 93313
io_channel_tree_RB_REMOVE 96597
io_channel_tree_RB_INSERT 96605
io_channel_tree_RB_INSERT_COLOR 96605
put_io_channel 96664
spdk_spin_init 131568
sspin_init_internal 131568
spdk_poller_register_named 164239
poller_register 164479
convert_us_to_ticks 164484
thread_insert_poller 164608
spdk_put_io_channel 307246
spdk_get_io_channel 307266
spdk_poller_unregister 407365
_call_completion 665050
spdk_for_each_channel 665050
_call_channel 756628
spdk_for_each_channel_continue 756628
spdk_io_channel_iter_get_channel 770437
spdk_io_channel_iter_get_io_device 841236
thread_interrupt_msg_process 958488
io_device_get 1016617
io_device_tree_RB_FIND 1016617
spdk_io_channel_iter_get_ctx 1437419
spdk_spin_held 1842379
spdk_spin_unlock 2324992
spdk_spin_lock 2325002
spdk_thread_has_active_pollers 3076607
thread_exit 4006926
io_device_cmp 4148029
io_channel_tree_RB_FIND 4524958
thread_get_io_channel 4524958
io_channel_cmp 11925968
spdk_thread_send_msg 12204529
thread_send_msg_notification 12205855
spdk_io_channel_get_io_device 13014591
spdk_io_channel_from_ctx 17421833
timed_pollers_tree_RB_REMOVE_COLOR 21395042
thread_execute_timed_poller 24247958
timed_pollers_tree_RB_REMOVE 24255845
poller_insert_timer 24255926
timed_pollers_tree_RB_INSERT 24255926
timed_pollers_tree_RB_INSERT_COLOR 24255926
timed_pollers_tree_RB_NEXT 24264746
spdk_thread_is_idle 63081402
thread_has_unpaused_pollers 63084274
spdk_interrupt_mode_is_enabled 153589823
timed_poller_compare 185426044
_interrupt_wrapper 274545055
spdk_io_channel_get_thread 329112846
spdk_set_thread 552293206
spdk_get_thread 698898845
thread_execute_poller 6745873862
spdk_thread_get_last_tsc 7437810807
spdk_thread_is_exited 7470756137
thread_update_stats 7713848735
thread_poll 7714115404
spdk_thread_poll 7714173397
msg_queue_run_batch 7715374203
_get_thread 8419815423
spdk_thread_get_from_ctx 14844470970

Generated by: LCOV version 1.14