LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1213
1547
78.4 %
Date:
2024-12-10 00:23:43
Functions:
143
168
85.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4175
10472
39.9 %
Function Name
Hit count
__posix_abort
0
interrupt_fd_group_wrapper
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_register_fd_group
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
132
spdk_thread_set_interrupt_mode
138
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
241
spdk_poller_register
243
poller_remove_timer
245
_thread_exit
246
period_poller_set_interrupt_mode
249
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
372
spdk_thread_get_count
408
_back_to_orig_thread
565
spdk_for_each_thread
565
spdk_thread_get_by_id
703
_on_thread
776
busy_poller_interrupt_init
1067
busy_poller_set_interrupt_mode
1067
spdk_thread_get_name
1219
_thread_remove_pollers
1256
poller_interrupt_fini
1308
spdk_thread_send_critical_msg
1335
spdk_interrupt_register
1338
spdk_interrupt_register_for_events
1536
alloc_interrupt
1537
spdk_interrupt_register_ext
1537
spdk_poller_register_interrupt
1770
thread_trace
2296
spdk_thread_lib_init_ext
2346
spdk_thread_lib_fini
2710
_thread_lib_init
2718
io_device_tree_RB_MINMAX
2726
_thread_trace
3009
register_flag_thread
3009
spdk_thread_is_running
3206
spdk_interrupt_unregister
3389
_free_thread
7491
spdk_thread_destroy
7498
spdk_thread_create
7629
spdk_thread_exit
7641
spdk_thread_get_stats
8530
spdk_thread_set_cpumask
11928
io_channel_tree_RB_MINMAX
15091
timed_pollers_tree_RB_MINMAX
16735
spdk_thread_get_app_thread
23008
spdk_thread_next_poller_expiration
24047
spdk_thread_get_cpumask
29188
_finish_unregister
35774
spdk_thread_is_app_thread
36643
io_device_tree_RB_REMOVE_COLOR
37332
spdk_thread_get_ctx
37570
io_device_free
45287
io_device_tree_RB_INSERT_COLOR
45291
io_device_tree_RB_REMOVE
45291
spdk_io_device_unregister
45295
io_device_tree_RB_INSERT
45299
spdk_io_device_register
45299
spdk_thread_get_id
78996
io_channel_tree_RB_REMOVE_COLOR
82758
sspin_fini_internal
91028
spdk_spin_destroy
91032
interrupt_timerfd_process
93543
io_channel_tree_RB_REMOVE
98156
io_channel_tree_RB_INSERT
98164
io_channel_tree_RB_INSERT_COLOR
98164
put_io_channel
98227
spdk_spin_init
132659
sspin_init_internal
132659
spdk_poller_register_named
164487
poller_register
164727
convert_us_to_ticks
164733
thread_insert_poller
164856
spdk_put_io_channel
311014
spdk_get_io_channel
311036
spdk_poller_unregister
347995
_call_completion
596976
spdk_for_each_channel
596978
_call_channel
683654
spdk_for_each_channel_continue
683654
spdk_io_channel_iter_get_channel
700346
spdk_io_channel_iter_get_io_device
827191
thread_interrupt_msg_process
829628
io_device_get
953321
io_device_tree_RB_FIND
953321
spdk_io_channel_iter_get_ctx
1299315
spdk_spin_unlock
2005217
spdk_spin_lock
2005227
spdk_thread_has_active_pollers
3272797
spdk_spin_held
3293783
io_device_cmp
3839051
thread_exit
3869056
io_channel_tree_RB_FIND
4254638
thread_get_io_channel
4254638
io_channel_cmp
11236212
spdk_io_channel_get_io_device
12243176
spdk_thread_send_msg
14650342
thread_send_msg_notification
14651675
spdk_io_channel_from_ctx
17797491
timed_pollers_tree_RB_REMOVE_COLOR
22895223
thread_execute_timed_poller
25786150
timed_pollers_tree_RB_REMOVE
25794034
poller_insert_timer
25794115
timed_pollers_tree_RB_INSERT
25794117
timed_pollers_tree_RB_INSERT_COLOR
25794117
timed_pollers_tree_RB_NEXT
25802911
spdk_thread_is_idle
59925205
thread_has_unpaused_pollers
59929318
spdk_interrupt_mode_is_enabled
150751462
timed_poller_compare
197861168
_interrupt_wrapper
246214981
spdk_io_channel_get_thread
323367924
spdk_set_thread
495825412
spdk_get_thread
679434855
thread_execute_poller
5637643441
spdk_thread_get_last_tsc
7804182738
spdk_thread_is_exited
7821420862
spdk_thread_poll
8043241591
thread_update_stats
8043258353
thread_poll
8043784440
msg_queue_run_batch
8044465320
_get_thread
8731860500
spdk_thread_get_from_ctx
15547138910
Generated by:
LCOV version 1.15