LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1224
1532
79.9 %
Date:
2024-12-16 03:09:27
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3990
10466
38.1 %
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
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
42
spdk_thread_get_next_active_poller
48
sspin_stack_print
57
spdk_thread_get_next_timed_poller
78
spdk_thread_is_bound
116
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
thread_interrupt_create
127
thread_interrupt_destroy
127
spdk_thread_set_interrupt_mode
143
spdk_poller_resume
147
spdk_poller_pause
150
spdk_poller_register
187
period_poller_interrupt_init
242
poller_remove_timer
246
period_poller_set_interrupt_mode
250
_thread_exit
252
spdk_thread_get_interrupt_fd_group
278
spdk_thread_lib_init
292
spdk_thread_get_count
373
_back_to_orig_thread
558
spdk_for_each_thread
558
spdk_thread_get_by_id
687
_on_thread
765
spdk_thread_get_name
1091
spdk_thread_send_critical_msg
1263
busy_poller_interrupt_init
1384
busy_poller_set_interrupt_mode
1384
_thread_remove_pollers
1537
poller_interrupt_fini
1626
spdk_interrupt_register
1660
spdk_poller_register_interrupt
1689
spdk_interrupt_register_for_events
1858
spdk_interrupt_register_ext
1859
alloc_interrupt
1861
thread_trace
2121
spdk_thread_lib_init_ext
2160
spdk_thread_lib_fini
2446
_thread_lib_init
2452
io_device_tree_RB_MINMAX
2458
_thread_trace
2785
register_flag_thread
2785
spdk_thread_is_running
3198
spdk_interrupt_unregister
3634
_free_thread
6865
spdk_thread_destroy
6873
spdk_thread_create
6976
spdk_thread_exit
6979
spdk_thread_get_stats
8072
spdk_thread_set_cpumask
11878
io_channel_tree_RB_MINMAX
13815
timed_pollers_tree_RB_MINMAX
15733
spdk_thread_next_poller_expiration
17485
spdk_thread_get_app_thread
19686
spdk_thread_get_cpumask
27940
_finish_unregister
32364
io_device_tree_RB_REMOVE_COLOR
34276
spdk_thread_is_app_thread
34289
spdk_thread_get_ctx
36549
io_device_free
40789
io_device_tree_RB_INSERT_COLOR
40792
io_device_tree_RB_REMOVE
40792
spdk_io_device_unregister
40795
io_device_tree_RB_INSERT
40798
spdk_io_device_register
40798
spdk_thread_get_id
79083
io_channel_tree_RB_REMOVE_COLOR
79721
sspin_fini_internal
87574
spdk_spin_destroy
87577
io_channel_tree_RB_REMOVE
93118
io_channel_tree_RB_INSERT
93124
io_channel_tree_RB_INSERT_COLOR
93124
put_io_channel
93190
interrupt_timerfd_process
95785
spdk_spin_init
125568
sspin_init_internal
125568
interrupt_fd_group_wrapper
156542
spdk_poller_register_named
157922
convert_us_to_ticks
158109
poller_register
158109
thread_insert_poller
158196
spdk_put_io_channel
297537
spdk_get_io_channel
297552
spdk_poller_unregister
332660
thread_exit
548852
spdk_io_channel_iter_get_io_device
685107
_call_completion
691254
spdk_for_each_channel
691254
spdk_io_channel_iter_get_channel
715457
_call_channel
780232
spdk_for_each_channel_continue
780232
io_device_get
1029610
io_device_tree_RB_FIND
1029610
thread_interrupt_msg_process
1142181
spdk_io_channel_iter_get_ctx
1406779
spdk_thread_has_active_pollers
1783195
spdk_spin_unlock
2365676
spdk_spin_lock
2365684
io_channel_tree_RB_FIND
4174226
thread_get_io_channel
4174226
io_device_cmp
4455403
spdk_spin_held
7391776
io_channel_cmp
11231499
spdk_io_channel_get_io_device
16358690
spdk_thread_send_msg
19316832
thread_send_msg_notification
19318095
timed_pollers_tree_RB_REMOVE_COLOR
20196569
spdk_io_channel_from_ctx
23808899
thread_execute_timed_poller
24001769
timed_pollers_tree_RB_REMOVE
24009911
poller_insert_timer
24009972
timed_pollers_tree_RB_INSERT
24009972
timed_pollers_tree_RB_INSERT_COLOR
24009972
timed_pollers_tree_RB_NEXT
24019231
thread_has_unpaused_pollers
55227838
spdk_thread_is_idle
55229192
timed_poller_compare
148327410
_interrupt_wrapper
225662826
spdk_io_channel_get_thread
395015446
spdk_set_thread
455234477
spdk_interrupt_mode_is_enabled
514523926
spdk_get_thread
862292680
thread_execute_poller
8608639305
spdk_thread_is_exited
9218465934
spdk_thread_get_last_tsc
9344219806
thread_update_stats
9420930415
spdk_thread_poll
9421116665
thread_poll
9421140037
msg_queue_run_batch
9422457666
_get_thread
10303463065
spdk_thread_get_from_ctx
18385498357
Generated by:
LCOV version 1.15