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-10 17:40:01
Functions:
142
165
86.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4181
10364
40.3 %
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
128
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
658
_on_thread
776
spdk_thread_get_name
1219
spdk_thread_send_critical_msg
1335
busy_poller_interrupt_init
1394
busy_poller_set_interrupt_mode
1394
_thread_remove_pollers
1494
poller_interrupt_fini
1635
spdk_interrupt_register
1665
spdk_poller_register_interrupt
1770
spdk_interrupt_register_for_events
1863
spdk_interrupt_register_ext
1864
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
3196
spdk_interrupt_unregister
3698
_free_thread
7491
spdk_thread_destroy
7498
spdk_thread_create
7629
spdk_thread_exit
7639
spdk_thread_get_stats
8470
spdk_thread_set_cpumask
11884
io_channel_tree_RB_MINMAX
15091
timed_pollers_tree_RB_MINMAX
16971
spdk_thread_get_app_thread
22079
spdk_thread_next_poller_expiration
24402
spdk_thread_get_cpumask
29108
_finish_unregister
35774
spdk_thread_is_app_thread
36644
io_device_tree_RB_REMOVE_COLOR
37330
spdk_thread_get_ctx
37475
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
78735
io_channel_tree_RB_REMOVE_COLOR
82296
sspin_fini_internal
90995
spdk_spin_destroy
90999
interrupt_timerfd_process
93613
io_channel_tree_RB_REMOVE
97696
io_channel_tree_RB_INSERT
97704
io_channel_tree_RB_INSERT_COLOR
97704
put_io_channel
97761
spdk_spin_init
132627
sspin_init_internal
132627
spdk_poller_register_named
156350
poller_register
156594
convert_us_to_ticks
156595
thread_insert_poller
156720
spdk_put_io_channel
309368
spdk_get_io_channel
309390
spdk_poller_unregister
338969
_call_completion
579339
spdk_for_each_channel
579339
_call_channel
672397
spdk_for_each_channel_continue
672398
spdk_io_channel_iter_get_channel
680592
spdk_io_channel_iter_get_io_device
803656
io_device_get
934036
io_device_tree_RB_FIND
934036
thread_interrupt_msg_process
1057938
spdk_io_channel_iter_get_ctx
1270034
spdk_spin_held
1869648
spdk_spin_unlock
2014687
spdk_spin_lock
2014699
spdk_thread_has_active_pollers
3467794
io_device_cmp
3751491
thread_exit
4169575
io_channel_tree_RB_FIND
4197807
thread_get_io_channel
4197807
io_channel_cmp
11101265
spdk_io_channel_get_io_device
12413618
spdk_thread_send_msg
13905983
thread_send_msg_notification
13907318
spdk_io_channel_from_ctx
17795805
timed_pollers_tree_RB_REMOVE_COLOR
25691204
thread_execute_timed_poller
28653487
timed_pollers_tree_RB_REMOVE
28661748
poller_insert_timer
28661830
timed_pollers_tree_RB_INSERT
28661830
timed_pollers_tree_RB_INSERT_COLOR
28661830
timed_pollers_tree_RB_NEXT
28671292
thread_has_unpaused_pollers
65538730
spdk_thread_is_idle
65540437
spdk_interrupt_mode_is_enabled
149186262
timed_poller_compare
228006320
_interrupt_wrapper
236444137
spdk_io_channel_get_thread
341041939
spdk_set_thread
476744028
spdk_get_thread
707047881
thread_execute_poller
5872661164
spdk_thread_is_exited
8114437836
spdk_thread_get_last_tsc
8121529698
thread_update_stats
8349082473
spdk_thread_poll
8349099465
thread_poll
8349608565
msg_queue_run_batch
8351167756
_get_thread
9066415495
spdk_thread_get_from_ctx
16146472605
Generated by:
LCOV version 1.15