LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1204
1483
81.2 %
Date:
2024-11-20 08:44:20
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4162
10270
40.5 %
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
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
sspin_stack_print
75
spdk_thread_get_next_timed_poller
78
spdk_thread_get_next_active_poller
96
spdk_thread_is_bound
122
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
205
spdk_poller_pause
209
period_poller_interrupt_init
235
poller_remove_timer
239
period_poller_set_interrupt_mode
243
spdk_poller_register
243
_thread_exit
244
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
356
spdk_thread_get_count
408
_back_to_orig_thread
559
spdk_for_each_thread
559
spdk_thread_get_by_id
664
_on_thread
770
spdk_thread_get_name
1219
spdk_thread_send_critical_msg
1324
busy_poller_interrupt_init
1393
busy_poller_set_interrupt_mode
1393
_thread_remove_pollers
1524
poller_interrupt_fini
1628
spdk_interrupt_register
1658
spdk_interrupt_register_for_events
1856
spdk_interrupt_register_ext
1857
thread_trace
2275
spdk_thread_lib_init_ext
2325
spdk_poller_register_interrupt
2559
spdk_thread_lib_fini
2677
_thread_lib_init
2681
io_device_tree_RB_MINMAX
2693
_thread_trace
2991
register_flag_thread
2991
spdk_thread_is_running
3180
spdk_interrupt_unregister
3691
_free_thread
7390
spdk_thread_destroy
7395
spdk_thread_create
7524
spdk_thread_exit
7539
spdk_thread_get_stats
8344
spdk_thread_set_cpumask
11576
io_channel_tree_RB_MINMAX
14883
timed_pollers_tree_RB_MINMAX
16788
spdk_thread_next_poller_expiration
21670
spdk_thread_get_app_thread
22703
spdk_thread_get_cpumask
28499
_finish_unregister
34819
spdk_thread_is_app_thread
36266
spdk_thread_get_ctx
36650
io_device_tree_RB_REMOVE_COLOR
37109
io_device_free
44172
io_device_tree_RB_INSERT_COLOR
44176
io_device_tree_RB_REMOVE
44176
spdk_io_device_unregister
44180
io_device_tree_RB_INSERT
44184
spdk_io_device_register
44184
spdk_thread_get_id
79459
io_channel_tree_RB_REMOVE_COLOR
82980
sspin_fini_internal
90479
spdk_spin_destroy
90483
interrupt_timerfd_process
93537
io_channel_tree_RB_REMOVE
97509
io_channel_tree_RB_INSERT
97517
io_channel_tree_RB_INSERT_COLOR
97517
put_io_channel
97575
spdk_spin_init
131458
sspin_init_internal
131458
spdk_poller_register_named
163805
poller_register
164046
convert_us_to_ticks
164048
thread_insert_poller
164172
spdk_put_io_channel
309640
spdk_get_io_channel
309658
spdk_poller_unregister
386586
_call_completion
625869
spdk_for_each_channel
625869
_call_channel
723374
spdk_for_each_channel_continue
723374
spdk_io_channel_iter_get_channel
737565
spdk_io_channel_iter_get_io_device
817276
io_device_get
979719
io_device_tree_RB_FIND
979719
thread_interrupt_msg_process
1238159
spdk_io_channel_iter_get_ctx
1368880
spdk_spin_held
1903555
spdk_spin_unlock
1988789
spdk_spin_lock
1988800
thread_exit
3204718
spdk_thread_has_active_pollers
3539491
io_device_cmp
4029398
io_channel_tree_RB_FIND
4440273
thread_get_io_channel
4440273
io_channel_cmp
11743728
spdk_io_channel_get_io_device
13692281
spdk_thread_send_msg
14096663
thread_send_msg_notification
14097987
spdk_io_channel_from_ctx
18930568
timed_pollers_tree_RB_REMOVE_COLOR
24072921
thread_execute_timed_poller
27159428
timed_pollers_tree_RB_REMOVE
27167474
poller_insert_timer
27167557
timed_pollers_tree_RB_INSERT
27167557
timed_pollers_tree_RB_INSERT_COLOR
27167557
timed_pollers_tree_RB_NEXT
27176736
thread_has_unpaused_pollers
59289881
spdk_thread_is_idle
59293410
spdk_interrupt_mode_is_enabled
153822696
timed_poller_compare
198454298
_interrupt_wrapper
238317332
spdk_io_channel_get_thread
341157764
spdk_set_thread
480395775
spdk_get_thread
682791894
thread_execute_poller
6984008271
spdk_thread_get_last_tsc
7905178855
spdk_thread_is_exited
7922240572
spdk_thread_poll
8177308727
thread_poll
8177460354
thread_update_stats
8177483047
msg_queue_run_batch
8178875962
_get_thread
8868696039
spdk_thread_get_from_ctx
15770905982
Generated by:
LCOV version 1.14