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-15 12:06:21
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4205
10270
40.9 %
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
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
40
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
120
thread_interrupt_destroy
120
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
133
spdk_thread_set_interrupt_mode
136
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
233
poller_remove_timer
237
period_poller_set_interrupt_mode
241
_thread_exit
243
spdk_poller_register
243
spdk_thread_get_interrupt_fd_group
264
spdk_thread_lib_init
352
spdk_thread_get_count
400
_back_to_orig_thread
557
spdk_for_each_thread
557
spdk_thread_get_by_id
711
_on_thread
768
spdk_thread_get_name
1219
spdk_thread_send_critical_msg
1325
thread_trace
2276
spdk_thread_lib_init_ext
2326
spdk_poller_register_interrupt
2542
spdk_thread_lib_fini
2674
_thread_lib_init
2678
_thread_remove_pollers
2682
io_device_tree_RB_MINMAX
2690
busy_poller_interrupt_init
2836
busy_poller_set_interrupt_mode
2836
_thread_trace
2977
register_flag_thread
2977
poller_interrupt_fini
3069
spdk_interrupt_register
3097
spdk_thread_is_running
3189
spdk_interrupt_register_ext
3295
spdk_interrupt_register_for_events
3295
spdk_interrupt_unregister
5123
_free_thread
7373
spdk_thread_destroy
7379
spdk_thread_create
7507
spdk_thread_exit
7521
spdk_thread_get_stats
8429
spdk_thread_set_cpumask
11536
io_channel_tree_RB_MINMAX
14857
timed_pollers_tree_RB_MINMAX
17918
spdk_thread_get_app_thread
22392
spdk_thread_next_poller_expiration
23612
spdk_thread_get_cpumask
28532
_finish_unregister
34499
spdk_thread_is_app_thread
36174
spdk_thread_get_ctx
36605
io_device_tree_RB_REMOVE_COLOR
36785
io_device_free
43840
io_device_tree_RB_INSERT_COLOR
43844
io_device_tree_RB_REMOVE
43844
spdk_io_device_unregister
43848
io_device_tree_RB_INSERT
43852
spdk_io_device_register
43852
spdk_thread_get_id
78064
io_channel_tree_RB_REMOVE_COLOR
81780
interrupt_timerfd_process
86948
sspin_fini_internal
89788
spdk_spin_destroy
89792
io_channel_tree_RB_REMOVE
96198
io_channel_tree_RB_INSERT
96206
io_channel_tree_RB_INSERT_COLOR
96206
put_io_channel
96261
spdk_spin_init
130779
sspin_init_internal
130779
spdk_poller_register_named
156192
convert_us_to_ticks
156436
poller_register
156436
thread_insert_poller
156560
spdk_put_io_channel
306368
spdk_get_io_channel
306395
spdk_poller_unregister
327337
_call_completion
580496
spdk_for_each_channel
580497
thread_interrupt_msg_process
597894
_call_channel
665091
spdk_for_each_channel_continue
665091
spdk_io_channel_iter_get_channel
670875
spdk_io_channel_iter_get_io_device
827515
io_device_get
930752
io_device_tree_RB_FIND
930752
spdk_io_channel_iter_get_ctx
1263744
spdk_spin_unlock
1964512
spdk_spin_lock
1964522
spdk_spin_held
3263108
spdk_thread_has_active_pollers
3706469
io_device_cmp
3776095
io_channel_tree_RB_FIND
4139327
thread_get_io_channel
4139327
thread_exit
4438360
io_channel_cmp
10984330
spdk_thread_send_msg
11036825
thread_send_msg_notification
11038147
spdk_io_channel_get_io_device
13305823
spdk_io_channel_from_ctx
17317834
timed_pollers_tree_RB_REMOVE_COLOR
22227061
thread_execute_timed_poller
25141398
timed_pollers_tree_RB_REMOVE
25149170
poller_insert_timer
25149253
timed_pollers_tree_RB_INSERT
25149253
timed_pollers_tree_RB_INSERT_COLOR
25149253
timed_pollers_tree_RB_NEXT
25159397
thread_has_unpaused_pollers
56512135
spdk_thread_is_idle
56513267
spdk_interrupt_mode_is_enabled
144556567
timed_poller_compare
190916439
_interrupt_wrapper
268303666
spdk_io_channel_get_thread
323140913
spdk_set_thread
539093776
spdk_get_thread
686747409
thread_execute_poller
7051303571
spdk_thread_get_last_tsc
7653424792
spdk_thread_is_exited
7676531656
thread_update_stats
7927916558
spdk_thread_poll
7928108019
thread_poll
7928194740
msg_queue_run_batch
7928825530
_get_thread
8616956960
spdk_thread_get_from_ctx
15272277444
Generated by:
LCOV version 1.15