LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1205
1505
80.1 %
Date:
2024-12-09 12:21:52
Functions:
142
165
86.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4191
10364
40.4 %
Function Name
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
spdk_thread_register_post_poller_handler
0
thread_run_pp_handlers
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
poller_set_interrupt_mode
6
spdk_thread_get_trace_id
6
spdk_thread_has_pollers
8
spdk_poller_get_name
14
spdk_poller_get_period_ticks
14
spdk_poller_get_stats
14
spdk_poller_get_id
18
spdk_thread_bind
20
sspin_stacks_print
25
io_device_tree_RB_NEXT
36
spdk_interrupt_mode_enable
38
spdk_poller_get_state_str
42
spdk_thread_get_next_active_poller
48
spdk_thread_get_next_timed_poller
72
sspin_stack_print
75
thread_interrupt_create
119
thread_interrupt_destroy
119
spdk_thread_get_first_active_poller
120
spdk_thread_get_first_paused_poller
120
spdk_thread_get_first_timed_poller
120
spdk_thread_is_bound
126
spdk_thread_set_interrupt_mode
131
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
240
_thread_exit
243
poller_remove_timer
243
spdk_poller_register
243
period_poller_set_interrupt_mode
246
spdk_thread_get_interrupt_fd_group
256
spdk_thread_get_count
364
spdk_thread_lib_init
364
_back_to_orig_thread
540
spdk_for_each_thread
540
spdk_thread_get_by_id
636
_on_thread
751
spdk_thread_get_name
1206
spdk_thread_send_critical_msg
1269
busy_poller_interrupt_init
1476
busy_poller_set_interrupt_mode
1476
_thread_remove_pollers
1572
spdk_poller_register_interrupt
1681
poller_interrupt_fini
1716
spdk_interrupt_register
1743
spdk_interrupt_register_for_events
1941
spdk_interrupt_register_ext
1942
thread_trace
2159
spdk_thread_lib_init_ext
2209
spdk_thread_lib_fini
2565
_thread_lib_init
2573
io_device_tree_RB_MINMAX
2581
_thread_trace
2861
register_flag_thread
2861
spdk_thread_is_running
3069
spdk_interrupt_unregister
3718
_free_thread
6983
spdk_thread_destroy
6990
spdk_thread_create
7121
spdk_thread_exit
7129
spdk_thread_get_stats
7828
spdk_thread_set_cpumask
11950
io_channel_tree_RB_MINMAX
14074
timed_pollers_tree_RB_MINMAX
16022
spdk_thread_get_app_thread
22236
spdk_thread_next_poller_expiration
24037
spdk_thread_get_cpumask
27778
_finish_unregister
33717
spdk_thread_is_app_thread
34525
io_device_tree_RB_REMOVE_COLOR
35094
spdk_thread_get_ctx
36645
io_device_free
42806
io_device_tree_RB_INSERT_COLOR
42810
io_device_tree_RB_REMOVE
42810
spdk_io_device_unregister
42814
io_device_tree_RB_INSERT
42818
spdk_io_device_register
42818
io_channel_tree_RB_REMOVE_COLOR
77459
spdk_thread_get_id
78769
sspin_fini_internal
85762
spdk_spin_destroy
85766
interrupt_timerfd_process
89088
io_channel_tree_RB_REMOVE
92072
io_channel_tree_RB_INSERT
92080
io_channel_tree_RB_INSERT_COLOR
92080
put_io_channel
92116
spdk_spin_init
125194
sspin_init_internal
125194
spdk_poller_register_named
160694
poller_register
160934
convert_us_to_ticks
160939
thread_insert_poller
161064
spdk_put_io_channel
290196
spdk_get_io_channel
290217
spdk_poller_unregister
322097
_call_completion
492187
spdk_for_each_channel
492189
_call_channel
585061
spdk_for_each_channel_continue
585061
spdk_io_channel_iter_get_channel
602005
spdk_io_channel_iter_get_io_device
657664
thread_interrupt_msg_process
744027
io_device_get
825232
io_device_tree_RB_FIND
825232
spdk_io_channel_iter_get_ctx
1094842
spdk_spin_held
1868241
spdk_spin_unlock
1935011
spdk_spin_lock
1935021
spdk_thread_has_active_pollers
3140409
thread_exit
3189510
io_device_cmp
3335298
io_channel_tree_RB_FIND
3381030
thread_get_io_channel
3381030
spdk_thread_send_msg
8338543
thread_send_msg_notification
8339809
io_channel_cmp
8902987
spdk_io_channel_get_io_device
13069612
spdk_io_channel_from_ctx
15857896
timed_pollers_tree_RB_REMOVE_COLOR
22295131
thread_execute_timed_poller
25046205
timed_pollers_tree_RB_REMOVE
25053745
poller_insert_timer
25053828
timed_pollers_tree_RB_INSERT
25053828
timed_pollers_tree_RB_INSERT_COLOR
25053828
timed_pollers_tree_RB_NEXT
25062581
spdk_thread_is_idle
60074160
thread_has_unpaused_pollers
60074700
spdk_interrupt_mode_is_enabled
141837246
timed_poller_compare
193826728
_interrupt_wrapper
223875024
spdk_io_channel_get_thread
322434284
spdk_set_thread
450971720
spdk_get_thread
639958316
thread_execute_poller
5792912398
spdk_thread_get_last_tsc
8078162912
spdk_thread_is_exited
8097514640
thread_update_stats
8333603357
spdk_thread_poll
8333646849
thread_poll
8333815410
msg_queue_run_batch
8334116988
_get_thread
8972877500
spdk_thread_get_from_ctx
16122046333
Generated by:
LCOV version 1.15