LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1195
1490
80.2 %
Date:
2024-12-09 18:25:38
Functions:
142
165
86.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3963
10364
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
__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
110
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
239
poller_remove_timer
243
period_poller_set_interrupt_mode
247
_thread_exit
249
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
295
spdk_thread_get_count
377
_back_to_orig_thread
561
spdk_for_each_thread
561
spdk_thread_get_by_id
628
_on_thread
768
busy_poller_interrupt_init
1113
busy_poller_set_interrupt_mode
1113
spdk_thread_get_name
1215
_thread_remove_pollers
1283
spdk_thread_send_critical_msg
1310
poller_interrupt_fini
1352
spdk_interrupt_register
1382
spdk_interrupt_register_for_events
1580
spdk_interrupt_register_ext
1581
spdk_poller_register_interrupt
1742
thread_trace
2248
spdk_thread_lib_init_ext
2287
spdk_thread_lib_fini
2576
_thread_lib_init
2582
io_device_tree_RB_MINMAX
2588
_thread_trace
2905
register_flag_thread
2905
spdk_thread_is_running
3156
spdk_interrupt_unregister
3398
_free_thread
7072
spdk_thread_destroy
7080
spdk_thread_create
7183
spdk_thread_exit
7186
spdk_thread_get_stats
8146
spdk_thread_set_cpumask
11526
io_channel_tree_RB_MINMAX
14229
timed_pollers_tree_RB_MINMAX
15892
spdk_thread_get_app_thread
20249
spdk_thread_next_poller_expiration
26131
spdk_thread_get_cpumask
27980
_finish_unregister
33267
io_device_tree_RB_REMOVE_COLOR
35654
spdk_thread_is_app_thread
35669
spdk_thread_get_ctx
36213
io_device_free
42438
io_device_tree_RB_INSERT_COLOR
42441
io_device_tree_RB_REMOVE
42441
spdk_io_device_unregister
42444
io_device_tree_RB_INSERT
42447
spdk_io_device_register
42447
spdk_thread_get_id
78929
io_channel_tree_RB_REMOVE_COLOR
79699
sspin_fini_internal
87144
spdk_spin_destroy
87147
interrupt_timerfd_process
92559
io_channel_tree_RB_REMOVE
93502
io_channel_tree_RB_INSERT
93508
io_channel_tree_RB_INSERT_COLOR
93508
put_io_channel
93570
spdk_spin_init
128165
sspin_init_internal
128165
spdk_poller_register_named
153923
convert_us_to_ticks
154110
poller_register
154110
thread_insert_poller
154215
spdk_put_io_channel
297536
spdk_get_io_channel
297551
spdk_poller_unregister
362091
_call_completion
555945
spdk_for_each_channel
555945
_call_channel
643115
spdk_for_each_channel_continue
643115
spdk_io_channel_iter_get_channel
651300
spdk_io_channel_iter_get_io_device
685813
thread_interrupt_msg_process
746716
io_device_get
895949
io_device_tree_RB_FIND
895949
spdk_io_channel_iter_get_ctx
1215856
spdk_spin_held
1827596
spdk_thread_has_active_pollers
1865057
spdk_spin_unlock
2335279
spdk_spin_lock
2335287
thread_exit
3220513
io_device_cmp
3670105
io_channel_tree_RB_FIND
3717168
thread_get_io_channel
3717168
io_channel_cmp
9670704
spdk_io_channel_get_io_device
11277378
spdk_thread_send_msg
13475468
thread_send_msg_notification
13476777
spdk_io_channel_from_ctx
16062769
timed_pollers_tree_RB_REMOVE_COLOR
16370903
thread_execute_timed_poller
19277074
timed_pollers_tree_RB_REMOVE
19285038
poller_insert_timer
19285099
timed_pollers_tree_RB_INSERT
19285099
timed_pollers_tree_RB_INSERT_COLOR
19285099
timed_pollers_tree_RB_NEXT
19294004
thread_has_unpaused_pollers
59799771
spdk_thread_is_idle
59801338
timed_poller_compare
134030878
spdk_interrupt_mode_is_enabled
180721694
_interrupt_wrapper
248916724
spdk_io_channel_get_thread
287094874
spdk_set_thread
500637806
spdk_get_thread
681003118
thread_execute_poller
5811041257
spdk_thread_is_exited
7809150605
spdk_thread_get_last_tsc
7854312506
thread_update_stats
8014835064
spdk_thread_poll
8015059133
thread_poll
8015072458
msg_queue_run_batch
8015998837
_get_thread
8710163149
spdk_thread_get_from_ctx
15570045572
Generated by:
LCOV version 1.15