LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1199
1483
80.8 %
Date:
2024-11-15 14:56:24
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4164
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
_thread_exit
12
period_poller_interrupt_init
12
spdk_interrupt_mode_enable
12
thread_interrupt_create
12
thread_interrupt_destroy
12
poller_remove_timer
16
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_stats
16
spdk_thread_set_cpumask
16
period_poller_set_interrupt_mode
20
spdk_poller_get_id
20
spdk_thread_bind
20
sspin_stacks_print
25
spdk_thread_set_interrupt_mode
28
io_device_tree_RB_NEXT
36
spdk_poller_get_state_str
44
spdk_thread_get_interrupt_fd_group
48
sspin_stack_print
75
spdk_thread_get_next_timed_poller
78
spdk_thread_get_next_active_poller
96
_thread_remove_pollers
123
busy_poller_interrupt_init
123
busy_poller_set_interrupt_mode
123
spdk_thread_is_bound
124
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
poller_interrupt_fini
135
spdk_interrupt_register
147
spdk_interrupt_register_ext
147
spdk_interrupt_register_for_events
147
spdk_poller_resume
178
spdk_poller_pause
182
spdk_poller_register
243
spdk_thread_lib_init
340
spdk_thread_get_count
370
_back_to_orig_thread
479
spdk_for_each_thread
479
thread_interrupt_msg_process
501
spdk_thread_get_by_id
603
_on_thread
690
spdk_thread_get_name
750
spdk_thread_send_critical_msg
944
spdk_interrupt_unregister
985
spdk_poller_register_interrupt
1707
thread_trace
1820
spdk_thread_lib_init_ext
1867
spdk_thread_lib_fini
2203
_thread_lib_init
2207
io_device_tree_RB_MINMAX
2219
spdk_thread_is_running
2344
_thread_trace
2364
register_flag_thread
2364
_free_thread
5839
spdk_thread_destroy
5848
spdk_thread_create
5973
spdk_thread_exit
5988
spdk_thread_get_stats
7027
interrupt_timerfd_process
7802
_interrupt_wrapper
8142
spdk_thread_get_ctx
10480
spdk_thread_next_poller_expiration
10492
io_channel_tree_RB_MINMAX
11790
timed_pollers_tree_RB_MINMAX
12087
spdk_thread_get_id
13534
spdk_thread_get_cpumask
13561
spdk_thread_get_app_thread
19948
_finish_unregister
28315
spdk_thread_is_app_thread
28778
io_device_tree_RB_REMOVE_COLOR
29625
io_device_free
35858
io_device_tree_RB_INSERT_COLOR
35862
io_device_tree_RB_REMOVE
35862
spdk_io_device_unregister
35866
io_device_tree_RB_INSERT
35870
spdk_io_device_register
35870
io_channel_tree_RB_REMOVE_COLOR
44772
io_channel_tree_RB_REMOVE
56796
io_channel_tree_RB_INSERT
56804
io_channel_tree_RB_INSERT_COLOR
56804
put_io_channel
56871
sspin_fini_internal
68525
spdk_spin_destroy
68529
spdk_spin_init
100921
sspin_init_internal
100921
spdk_poller_register_named
116863
poller_register
117104
convert_us_to_ticks
117106
thread_insert_poller
117204
spdk_poller_unregister
175592
spdk_put_io_channel
180815
spdk_get_io_channel
180838
_call_completion
479290
spdk_for_each_channel
479292
_call_channel
485372
spdk_for_each_channel_continue
485372
spdk_io_channel_iter_get_channel
486365
io_device_get
696008
io_device_tree_RB_FIND
696008
spdk_io_channel_iter_get_io_device
806553
spdk_io_channel_iter_get_ctx
938393
spdk_set_thread
1296240
spdk_spin_unlock
1328902
spdk_spin_lock
1328912
io_device_cmp
2929642
spdk_spin_held
3259241
io_channel_tree_RB_FIND
3498594
thread_get_io_channel
3498594
spdk_thread_has_active_pollers
3651882
thread_exit
3872506
spdk_thread_send_msg
7939324
thread_send_msg_notification
7940267
io_channel_cmp
9535690
spdk_io_channel_get_io_device
11853181
spdk_io_channel_from_ctx
16098950
timed_pollers_tree_RB_REMOVE_COLOR
22433649
thread_execute_timed_poller
24684376
timed_pollers_tree_RB_REMOVE
24688749
poller_insert_timer
24688831
timed_pollers_tree_RB_INSERT
24688831
timed_pollers_tree_RB_INSERT_COLOR
24688831
timed_pollers_tree_RB_NEXT
24693732
thread_has_unpaused_pollers
43770806
spdk_thread_is_idle
43772003
spdk_interrupt_mode_is_enabled
132331770
timed_poller_compare
203655868
spdk_io_channel_get_thread
241953431
spdk_get_thread
341099057
thread_execute_poller
4501200212
spdk_thread_is_exited
5060023493
spdk_thread_get_last_tsc
5077897742
thread_update_stats
5227619618
spdk_thread_poll
5227774498
thread_poll
5227803387
msg_queue_run_batch
5227954432
_get_thread
5572902179
spdk_thread_get_from_ctx
10057371586
Generated by:
LCOV version 1.15