LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1234
1547
79.8 %
Date:
2024-12-14 00:31:44
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4205
10466
40.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
5
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_set_interrupt_mode
138
spdk_thread_is_bound
148
spdk_poller_resume
209
spdk_poller_pause
213
period_poller_interrupt_init
241
spdk_poller_register
243
poller_remove_timer
245
_thread_exit
247
period_poller_set_interrupt_mode
249
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
376
spdk_thread_get_count
421
_back_to_orig_thread
612
spdk_for_each_thread
612
spdk_thread_get_by_id
709
_on_thread
823
busy_poller_interrupt_init
1369
busy_poller_set_interrupt_mode
1369
spdk_thread_get_name
1389
spdk_thread_send_critical_msg
1475
_thread_remove_pollers
1495
poller_interrupt_fini
1610
spdk_interrupt_register
1638
spdk_interrupt_register_for_events
1836
spdk_interrupt_register_ext
1837
alloc_interrupt
1839
spdk_poller_register_interrupt
2004
thread_trace
2476
spdk_thread_lib_init_ext
2527
spdk_thread_lib_fini
2895
_thread_lib_init
2903
io_device_tree_RB_MINMAX
2911
spdk_thread_is_running
3229
_thread_trace
3265
register_flag_thread
3265
spdk_interrupt_unregister
3784
_free_thread
8101
spdk_thread_destroy
8109
spdk_thread_create
8239
spdk_thread_exit
8250
spdk_thread_get_stats
9221
spdk_thread_set_cpumask
15616
io_channel_tree_RB_MINMAX
16314
timed_pollers_tree_RB_MINMAX
18198
spdk_thread_next_poller_expiration
22323
spdk_thread_get_app_thread
22992
spdk_thread_get_cpumask
34154
_finish_unregister
38726
spdk_thread_is_app_thread
39844
io_device_tree_RB_REMOVE_COLOR
40651
spdk_thread_get_ctx
46114
io_device_free
48885
io_device_tree_RB_INSERT_COLOR
48889
io_device_tree_RB_REMOVE
48889
spdk_io_device_unregister
48894
io_device_tree_RB_INSERT
48897
spdk_io_device_register
48897
spdk_thread_get_id
97777
interrupt_timerfd_process
98264
io_channel_tree_RB_REMOVE_COLOR
99153
sspin_fini_internal
100818
spdk_spin_destroy
100822
io_channel_tree_RB_REMOVE
115201
io_channel_tree_RB_INSERT
115209
io_channel_tree_RB_INSERT_COLOR
115209
put_io_channel
115291
spdk_spin_init
145497
sspin_init_internal
145497
interrupt_fd_group_wrapper
158597
spdk_poller_register_named
178005
poller_register
178249
convert_us_to_ticks
178252
thread_insert_poller
178379
spdk_put_io_channel
380697
spdk_get_io_channel
380717
spdk_poller_unregister
384951
thread_interrupt_msg_process
710938
_call_completion
774001
spdk_for_each_channel
774006
spdk_io_channel_iter_get_io_device
783585
spdk_io_channel_iter_get_channel
802411
_call_channel
870708
spdk_for_each_channel_continue
870708
io_device_get
1203629
io_device_tree_RB_FIND
1203629
spdk_io_channel_iter_get_ctx
1593734
spdk_spin_unlock
2846093
spdk_spin_lock
2846103
spdk_thread_has_active_pollers
3728676
thread_exit
4062108
io_channel_tree_RB_FIND
4813509
thread_get_io_channel
4813509
io_device_cmp
4947651
spdk_spin_held
8227371
io_channel_cmp
12679363
spdk_io_channel_get_io_device
17233045
spdk_thread_send_msg
19304972
thread_send_msg_notification
19306443
spdk_io_channel_from_ctx
24651046
timed_pollers_tree_RB_REMOVE_COLOR
24795682
thread_execute_timed_poller
29118905
timed_pollers_tree_RB_REMOVE
29127453
poller_insert_timer
29127533
timed_pollers_tree_RB_INSERT
29127533
timed_pollers_tree_RB_INSERT_COLOR
29127533
timed_pollers_tree_RB_NEXT
29137492
thread_has_unpaused_pollers
148340310
spdk_thread_is_idle
148342378
timed_poller_compare
190129557
_interrupt_wrapper
225453624
spdk_interrupt_mode_is_enabled
394527095
spdk_set_thread
454382395
spdk_io_channel_get_thread
462285962
spdk_get_thread
914118839
thread_execute_poller
8846931451
spdk_thread_is_exited
9299195694
spdk_thread_get_last_tsc
9397852400
thread_update_stats
9499316868
spdk_thread_poll
9499604788
thread_poll
9499735182
msg_queue_run_batch
9500130197
_get_thread
10428694622
spdk_thread_get_from_ctx
18539650612
Generated by:
LCOV version 1.15