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-19 11:10:02 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4222 10270 41.1 %

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 127
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 245
period_poller_set_interrupt_mode 248
spdk_thread_get_interrupt_fd_group 268
spdk_thread_lib_init 356
spdk_thread_get_count 395
_back_to_orig_thread 537
spdk_for_each_thread 537
spdk_thread_get_by_id 673
_on_thread 746
spdk_thread_get_name 1212
spdk_thread_send_critical_msg 1289
busy_poller_interrupt_init 1333
busy_poller_set_interrupt_mode 1333
_thread_remove_pollers 1432
poller_interrupt_fini 1573
spdk_interrupt_register 1603
spdk_interrupt_register_for_events 1801
spdk_interrupt_register_ext 1802
thread_trace 2233
spdk_thread_lib_init_ext 2283
spdk_poller_register_interrupt 2497
spdk_thread_lib_fini 2635
_thread_lib_init 2639
io_device_tree_RB_MINMAX 2651
_thread_trace 2929
register_flag_thread 2929
spdk_thread_is_running 3133
spdk_interrupt_unregister 3534
_free_thread 7222
spdk_thread_destroy 7231
spdk_thread_create 7356
spdk_thread_exit 7370
spdk_thread_get_stats 8226
spdk_thread_set_cpumask 11484
io_channel_tree_RB_MINMAX 14557
timed_pollers_tree_RB_MINMAX 16375
spdk_thread_get_app_thread 21853
spdk_thread_next_poller_expiration 25205
spdk_thread_get_cpumask 27272
_finish_unregister 33927
spdk_thread_is_app_thread 35383
io_device_tree_RB_REMOVE_COLOR 36121
spdk_thread_get_ctx 36158
io_device_free 43136
io_device_tree_RB_INSERT_COLOR 43140
io_device_tree_RB_REMOVE 43140
spdk_io_device_unregister 43144
io_device_tree_RB_INSERT 43148
spdk_io_device_register 43148
sspin_fini_internal 73528
spdk_spin_destroy 73532
spdk_thread_get_id 78675
io_channel_tree_RB_REMOVE_COLOR 81253
interrupt_timerfd_process 92409
io_channel_tree_RB_REMOVE 95542
io_channel_tree_RB_INSERT 95550
io_channel_tree_RB_INSERT_COLOR 95550
put_io_channel 95609
spdk_spin_init 113764
sspin_init_internal 113764
spdk_poller_register_named 157100
convert_us_to_ticks 157344
poller_register 157345
thread_insert_poller 157468
spdk_put_io_channel 304182
spdk_get_io_channel 304203
spdk_poller_unregister 340451
spdk_spin_held 443761
_call_completion 597663
spdk_for_each_channel 597663
_call_channel 689430
spdk_for_each_channel_continue 689430
spdk_io_channel_iter_get_channel 702745
spdk_io_channel_iter_get_io_device 837157
io_device_get 945022
io_device_tree_RB_FIND 945022
thread_interrupt_msg_process 1001163
spdk_io_channel_iter_get_ctx 1306639
spdk_spin_unlock 1869046
spdk_spin_lock 1869056
spdk_thread_has_active_pollers 3638309
thread_exit 3825040
io_device_cmp 3854878
io_channel_tree_RB_FIND 4241646
thread_get_io_channel 4241646
io_channel_cmp 11195551
spdk_thread_send_msg 11991906
thread_send_msg_notification 11993193
spdk_io_channel_get_io_device 12867636
spdk_io_channel_from_ctx 17484223
timed_pollers_tree_RB_REMOVE_COLOR 21405323
thread_execute_timed_poller 24313793
timed_pollers_tree_RB_REMOVE 24320889
poller_insert_timer 24320969
timed_pollers_tree_RB_INSERT 24320969
timed_pollers_tree_RB_INSERT_COLOR 24320969
timed_pollers_tree_RB_NEXT 24329130
thread_has_unpaused_pollers 55873839
spdk_thread_is_idle 55875650
spdk_interrupt_mode_is_enabled 92269594
timed_poller_compare 183546079
_interrupt_wrapper 254522646
spdk_io_channel_get_thread 312620294
spdk_set_thread 512330399
spdk_get_thread 660009258
thread_execute_poller 6761729727
spdk_thread_get_last_tsc 7464579586
spdk_thread_is_exited 7483124863
spdk_thread_poll 7710808740
thread_update_stats 7710826291
thread_poll 7710911384
msg_queue_run_batch 7711432120
_get_thread 8374197882
spdk_thread_get_from_ctx 14890362161

Generated by: LCOV version 1.14