LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1194
1468
81.3 %
Date:
2024-12-09 07:19:13
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3964
10270
38.6 %
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
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
sspin_stack_print
57
spdk_thread_get_next_timed_poller
78
spdk_thread_get_next_active_poller
96
spdk_thread_is_bound
121
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
235
poller_remove_timer
239
period_poller_set_interrupt_mode
243
_thread_exit
247
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
292
spdk_thread_get_count
377
_back_to_orig_thread
562
spdk_for_each_thread
562
spdk_thread_get_by_id
687
_on_thread
769
spdk_thread_get_name
1215
spdk_thread_send_critical_msg
1312
busy_poller_interrupt_init
2105
busy_poller_set_interrupt_mode
2105
_thread_remove_pollers
2133
thread_trace
2251
spdk_thread_lib_init_ext
2290
poller_interrupt_fini
2340
spdk_interrupt_register
2370
spdk_poller_register_interrupt
2509
spdk_interrupt_register_for_events
2568
spdk_interrupt_register_ext
2569
spdk_thread_lib_fini
2579
_thread_lib_init
2582
io_device_tree_RB_MINMAX
2591
_thread_trace
2908
register_flag_thread
2908
spdk_thread_is_running
3129
spdk_interrupt_unregister
4389
_free_thread
7083
spdk_thread_destroy
7090
spdk_thread_create
7191
spdk_thread_exit
7195
spdk_thread_get_stats
8229
spdk_thread_set_cpumask
11830
io_channel_tree_RB_MINMAX
14251
timed_pollers_tree_RB_MINMAX
16760
spdk_thread_get_app_thread
20586
spdk_thread_next_poller_expiration
25377
spdk_thread_get_cpumask
28363
_finish_unregister
33252
io_device_tree_RB_REMOVE_COLOR
35695
spdk_thread_is_app_thread
35716
spdk_thread_get_ctx
36872
io_device_free
42435
io_device_tree_RB_INSERT_COLOR
42438
io_device_tree_RB_REMOVE
42438
spdk_io_device_unregister
42441
io_device_tree_RB_INSERT
42444
spdk_io_device_register
42444
io_channel_tree_RB_REMOVE_COLOR
79905
spdk_thread_get_id
80760
sspin_fini_internal
87159
spdk_spin_destroy
87162
io_channel_tree_RB_REMOVE
93607
io_channel_tree_RB_INSERT
93613
io_channel_tree_RB_INSERT_COLOR
93613
put_io_channel
93683
interrupt_timerfd_process
96816
spdk_spin_init
128238
sspin_init_internal
128238
spdk_poller_register_named
158127
convert_us_to_ticks
158314
poller_register
158314
thread_insert_poller
158419
spdk_put_io_channel
297951
spdk_get_io_channel
297966
spdk_poller_unregister
367658
_call_completion
546219
spdk_for_each_channel
546219
_call_channel
638848
spdk_for_each_channel_continue
638848
spdk_io_channel_iter_get_channel
650968
spdk_io_channel_iter_get_io_device
683482
io_device_get
886635
io_device_tree_RB_FIND
886635
spdk_io_channel_iter_get_ctx
1205470
thread_interrupt_msg_process
1315388
spdk_thread_has_active_pollers
1839347
spdk_spin_unlock
1861621
spdk_spin_lock
1861629
thread_exit
2859112
spdk_spin_held
3249872
io_device_cmp
3627175
io_channel_tree_RB_FIND
3730970
thread_get_io_channel
3730970
io_channel_cmp
9939423
spdk_io_channel_get_io_device
10941503
spdk_thread_send_msg
13480183
thread_send_msg_notification
13481494
spdk_io_channel_from_ctx
15764897
timed_pollers_tree_RB_REMOVE_COLOR
17360065
thread_execute_timed_poller
20351642
timed_pollers_tree_RB_REMOVE
20359818
poller_insert_timer
20359879
timed_pollers_tree_RB_INSERT
20359879
timed_pollers_tree_RB_INSERT_COLOR
20359879
timed_pollers_tree_RB_NEXT
20369787
thread_has_unpaused_pollers
54061293
spdk_thread_is_idle
54062687
timed_poller_compare
140150193
spdk_interrupt_mode_is_enabled
141345190
_interrupt_wrapper
287181698
spdk_io_channel_get_thread
309534932
spdk_set_thread
578321046
spdk_get_thread
731162942
thread_execute_poller
7204078799
spdk_thread_is_exited
7713065292
spdk_thread_get_last_tsc
7733977179
thread_update_stats
7958510133
spdk_thread_poll
7958614590
thread_poll
7958660244
msg_queue_run_batch
7960186099
_get_thread
8704011885
spdk_thread_get_from_ctx
15370594202
Generated by:
LCOV version 1.15