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:14:46
Functions:
142
165
86.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4157
10364
40.1 %
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
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
spdk_thread_get_next_active_poller
48
sspin_stack_print
75
spdk_thread_get_next_timed_poller
78
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
135
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
247
period_poller_set_interrupt_mode
248
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
372
spdk_thread_get_count
408
_back_to_orig_thread
562
spdk_for_each_thread
562
spdk_thread_get_by_id
673
_on_thread
773
busy_poller_interrupt_init
1097
busy_poller_set_interrupt_mode
1097
spdk_thread_get_name
1219
_thread_remove_pollers
1269
spdk_thread_send_critical_msg
1332
poller_interrupt_fini
1337
spdk_interrupt_register
1367
spdk_interrupt_register_for_events
1565
spdk_interrupt_register_ext
1566
spdk_poller_register_interrupt
1770
thread_trace
2293
spdk_thread_lib_init_ext
2343
spdk_thread_lib_fini
2707
_thread_lib_init
2715
io_device_tree_RB_MINMAX
2723
_thread_trace
3006
register_flag_thread
3006
spdk_thread_is_running
3248
spdk_interrupt_unregister
3394
_free_thread
7482
spdk_thread_destroy
7489
spdk_thread_create
7620
spdk_thread_exit
7632
spdk_thread_get_stats
8521
spdk_thread_set_cpumask
11624
io_channel_tree_RB_MINMAX
15072
timed_pollers_tree_RB_MINMAX
16729
spdk_thread_get_app_thread
22833
spdk_thread_next_poller_expiration
23533
spdk_thread_get_cpumask
28827
_finish_unregister
35759
spdk_thread_is_app_thread
36583
spdk_thread_get_ctx
36941
io_device_tree_RB_REMOVE_COLOR
37306
io_device_free
45260
io_device_tree_RB_INSERT_COLOR
45264
io_device_tree_RB_REMOVE
45264
spdk_io_device_unregister
45268
io_device_tree_RB_INSERT
45272
spdk_io_device_register
45272
spdk_thread_get_id
79150
io_channel_tree_RB_REMOVE_COLOR
82509
sspin_fini_internal
91015
spdk_spin_destroy
91019
interrupt_timerfd_process
94132
io_channel_tree_RB_REMOVE
97912
io_channel_tree_RB_INSERT
97920
io_channel_tree_RB_INSERT_COLOR
97920
put_io_channel
97985
spdk_spin_init
132587
sspin_init_internal
132587
spdk_poller_register_named
155856
poller_register
156097
convert_us_to_ticks
156099
thread_insert_poller
156224
spdk_put_io_channel
309905
spdk_get_io_channel
309922
spdk_poller_unregister
341663
_call_completion
596908
spdk_for_each_channel
596909
_call_channel
681960
spdk_for_each_channel_continue
681960
spdk_io_channel_iter_get_channel
686239
spdk_io_channel_iter_get_io_device
808022
thread_interrupt_msg_process
817865
io_device_get
952111
io_device_tree_RB_FIND
952111
spdk_io_channel_iter_get_ctx
1293739
spdk_spin_unlock
2346375
spdk_spin_lock
2346387
thread_exit
3452109
spdk_spin_held
3454840
spdk_thread_has_active_pollers
3595788
io_device_cmp
3814162
io_channel_tree_RB_FIND
4282136
thread_get_io_channel
4282136
io_channel_cmp
11408227
spdk_io_channel_get_io_device
13116879
spdk_io_channel_from_ctx
21906753
timed_pollers_tree_RB_REMOVE_COLOR
22419824
spdk_thread_send_msg
24606087
thread_send_msg_notification
24607416
thread_execute_timed_poller
25292285
timed_pollers_tree_RB_REMOVE
25300358
poller_insert_timer
25300441
timed_pollers_tree_RB_INSERT
25300441
timed_pollers_tree_RB_INSERT_COLOR
25300441
timed_pollers_tree_RB_NEXT
25309405
thread_has_unpaused_pollers
57956943
spdk_thread_is_idle
57960288
spdk_interrupt_mode_is_enabled
170975583
timed_poller_compare
195475242
_interrupt_wrapper
250750442
spdk_io_channel_get_thread
355287157
spdk_set_thread
504867739
spdk_get_thread
736293195
thread_execute_poller
5883042150
spdk_thread_get_last_tsc
7831778440
spdk_thread_is_exited
7837623589
spdk_thread_poll
8069470537
thread_update_stats
8069600160
thread_poll
8069818453
msg_queue_run_batch
8071038991
_get_thread
8824439355
spdk_thread_get_from_ctx
15591474661
Generated by:
LCOV version 1.14