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-13 06:03:58
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4023
10466
38.4 %
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
41
spdk_thread_get_next_active_poller
48
sspin_stack_print
57
spdk_thread_get_next_timed_poller
78
spdk_thread_is_bound
118
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
246
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
298
spdk_thread_get_count
379
_back_to_orig_thread
562
spdk_for_each_thread
562
spdk_thread_get_by_id
686
_on_thread
767
busy_poller_interrupt_init
1190
busy_poller_set_interrupt_mode
1190
spdk_thread_get_name
1225
spdk_thread_send_critical_msg
1322
_thread_remove_pollers
1329
poller_interrupt_fini
1425
spdk_interrupt_register
1453
spdk_interrupt_register_for_events
1651
spdk_interrupt_register_ext
1652
alloc_interrupt
1654
spdk_poller_register_interrupt
1782
thread_trace
2271
spdk_thread_lib_init_ext
2310
spdk_thread_lib_fini
2602
_thread_lib_init
2608
io_device_tree_RB_MINMAX
2614
_thread_trace
2964
register_flag_thread
2964
spdk_thread_is_running
3442
spdk_interrupt_unregister
3564
_free_thread
7131
spdk_thread_destroy
7140
spdk_thread_create
7242
spdk_thread_exit
7246
spdk_thread_get_stats
8297
spdk_thread_set_cpumask
11942
io_channel_tree_RB_MINMAX
14349
timed_pollers_tree_RB_MINMAX
16056
spdk_thread_get_app_thread
20691
spdk_thread_next_poller_expiration
23758
spdk_thread_get_cpumask
27806
_finish_unregister
33855
spdk_thread_is_app_thread
36114
io_device_tree_RB_REMOVE_COLOR
36287
spdk_thread_get_ctx
37170
io_device_free
43106
io_device_tree_RB_INSERT_COLOR
43109
io_device_tree_RB_REMOVE
43109
spdk_io_device_unregister
43112
io_device_tree_RB_INSERT
43115
spdk_io_device_register
43115
sspin_fini_internal
73944
spdk_spin_destroy
73947
io_channel_tree_RB_REMOVE_COLOR
81666
spdk_thread_get_id
89095
interrupt_timerfd_process
93521
io_channel_tree_RB_REMOVE
95320
io_channel_tree_RB_INSERT
95326
io_channel_tree_RB_INSERT_COLOR
95326
put_io_channel
95394
spdk_spin_init
115212
sspin_init_internal
115212
interrupt_fd_group_wrapper
158675
spdk_poller_register_named
165524
convert_us_to_ticks
165711
poller_register
165711
thread_insert_poller
165816
spdk_put_io_channel
304438
spdk_get_io_channel
304452
spdk_poller_unregister
369679
thread_exit
424080
spdk_io_channel_iter_get_io_device
671449
_call_completion
715138
spdk_for_each_channel
715138
spdk_io_channel_iter_get_channel
746883
_call_channel
811390
spdk_for_each_channel_continue
811390
thread_interrupt_msg_process
920524
io_device_get
1062711
io_device_tree_RB_FIND
1062711
spdk_io_channel_iter_get_ctx
1462655
spdk_thread_has_active_pollers
1858667
spdk_spin_unlock
2299553
spdk_spin_lock
2299561
spdk_spin_held
3184132
io_channel_tree_RB_FIND
4152352
thread_get_io_channel
4152352
io_device_cmp
4565158
io_channel_cmp
11239888
spdk_io_channel_get_io_device
16892115
spdk_thread_send_msg
19445740
thread_send_msg_notification
19447061
timed_pollers_tree_RB_REMOVE_COLOR
20294670
thread_execute_timed_poller
24028145
timed_pollers_tree_RB_REMOVE
24036988
poller_insert_timer
24037049
timed_pollers_tree_RB_INSERT
24037049
timed_pollers_tree_RB_INSERT_COLOR
24037049
timed_pollers_tree_RB_NEXT
24046817
spdk_io_channel_from_ctx
24233312
spdk_thread_is_idle
55380511
thread_has_unpaused_pollers
55380676
spdk_interrupt_mode_is_enabled
118217711
timed_poller_compare
152004936
_interrupt_wrapper
215713252
spdk_io_channel_get_thread
402339279
spdk_set_thread
434894264
spdk_get_thread
793315909
thread_execute_poller
7864460882
spdk_thread_is_exited
9026499727
spdk_thread_get_last_tsc
9088243819
spdk_thread_poll
9261463733
thread_poll
9261484933
thread_update_stats
9261544732
msg_queue_run_batch
9262563786
_get_thread
10074951598
spdk_thread_get_from_ctx
17998570072
Generated by:
LCOV version 1.14