LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1224
1532
79.9 %
Date:
2024-12-11 15:19:31
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3997
10466
38.2 %
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
spdk_interrupt_register_fd_group
2
__pending_unregister
3
spdk_thread_get_trace_id
6
spdk_thread_has_pollers
6
poller_set_interrupt_mode
8
spdk_poller_get_name
14
spdk_poller_get_period_ticks
14
spdk_poller_get_stats
14
spdk_poller_get_id
17
spdk_thread_bind
19
sspin_stacks_print
19
io_device_tree_RB_NEXT
27
spdk_poller_get_state_str
35
spdk_interrupt_mode_enable
41
spdk_thread_get_next_active_poller
48
sspin_stack_print
57
spdk_thread_get_next_timed_poller
78
spdk_thread_is_bound
116
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_poller_resume
165
spdk_poller_pause
168
spdk_poller_register
187
period_poller_interrupt_init
238
poller_remove_timer
242
period_poller_set_interrupt_mode
246
_thread_exit
248
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
298
spdk_thread_get_count
377
_back_to_orig_thread
563
spdk_for_each_thread
563
spdk_thread_get_by_id
626
_on_thread
770
spdk_thread_get_name
1215
busy_poller_interrupt_init
1218
busy_poller_set_interrupt_mode
1218
spdk_thread_send_critical_msg
1312
_thread_remove_pollers
1354
poller_interrupt_fini
1456
spdk_interrupt_register
1484
spdk_interrupt_register_for_events
1682
spdk_interrupt_register_ext
1683
alloc_interrupt
1685
spdk_poller_register_interrupt
1742
thread_trace
2250
spdk_thread_lib_init_ext
2289
spdk_thread_lib_fini
2581
_thread_lib_init
2587
io_device_tree_RB_MINMAX
2593
_thread_trace
2907
register_flag_thread
2907
spdk_thread_is_running
3140
spdk_interrupt_unregister
3520
_free_thread
7087
spdk_thread_destroy
7094
spdk_thread_create
7198
spdk_thread_exit
7201
spdk_thread_get_stats
8146
spdk_thread_set_cpumask
11858
io_channel_tree_RB_MINMAX
14258
timed_pollers_tree_RB_MINMAX
15992
spdk_thread_get_app_thread
20735
spdk_thread_next_poller_expiration
23017
spdk_thread_get_cpumask
28318
_finish_unregister
33302
io_device_tree_RB_REMOVE_COLOR
35697
spdk_thread_is_app_thread
35716
spdk_thread_get_ctx
36899
io_device_free
42487
io_device_tree_RB_INSERT_COLOR
42490
io_device_tree_RB_REMOVE
42490
spdk_io_device_unregister
42493
io_device_tree_RB_INSERT
42496
spdk_io_device_register
42496
spdk_thread_get_id
78822
io_channel_tree_RB_REMOVE_COLOR
79814
sspin_fini_internal
87172
spdk_spin_destroy
87175
interrupt_timerfd_process
92121
io_channel_tree_RB_REMOVE
93576
io_channel_tree_RB_INSERT
93582
io_channel_tree_RB_INSERT_COLOR
93582
put_io_channel
93644
spdk_spin_init
128230
sspin_init_internal
128230
interrupt_fd_group_wrapper
153573
spdk_poller_register_named
163648
convert_us_to_ticks
163835
poller_register
163835
thread_insert_poller
163940
spdk_put_io_channel
297638
spdk_get_io_channel
297654
spdk_poller_unregister
350369
_call_completion
524489
spdk_for_each_channel
524489
_call_channel
616002
spdk_for_each_channel_continue
616002
spdk_io_channel_iter_get_channel
636466
spdk_io_channel_iter_get_io_device
684375
io_device_get
864645
io_device_tree_RB_FIND
864645
thread_interrupt_msg_process
898419
spdk_io_channel_iter_get_ctx
1159923
spdk_thread_has_active_pollers
1846855
spdk_spin_unlock
1905741
spdk_spin_lock
1905749
thread_exit
2707795
spdk_spin_held
3247648
io_device_cmp
3533572
io_channel_tree_RB_FIND
3635626
thread_get_io_channel
3635626
io_channel_cmp
9623410
spdk_io_channel_get_io_device
10885595
spdk_thread_send_msg
13398828
thread_send_msg_notification
13400140
spdk_io_channel_from_ctx
15814957
timed_pollers_tree_RB_REMOVE_COLOR
17226061
thread_execute_timed_poller
20190407
timed_pollers_tree_RB_REMOVE
20198477
poller_insert_timer
20198538
timed_pollers_tree_RB_INSERT
20198538
timed_pollers_tree_RB_INSERT_COLOR
20198538
timed_pollers_tree_RB_NEXT
20207643
spdk_thread_is_idle
56805648
thread_has_unpaused_pollers
56806701
timed_poller_compare
139358143
spdk_interrupt_mode_is_enabled
155795087
_interrupt_wrapper
245555178
spdk_io_channel_get_thread
295857299
spdk_set_thread
494529004
spdk_get_thread
654085485
thread_execute_poller
5464759624
spdk_thread_is_exited
7482828861
spdk_thread_get_last_tsc
7491246412
thread_update_stats
7684816315
thread_poll
7685006192
spdk_thread_poll
7685026048
msg_queue_run_batch
7686129692
_get_thread
8353079967
spdk_thread_get_from_ctx
14915608191
Generated by:
LCOV version 1.14