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-11 15:12:59
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3980
10466
38.0 %
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
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_is_bound
126
spdk_thread_set_interrupt_mode
138
spdk_poller_resume
165
spdk_poller_pause
168
spdk_poller_register
187
period_poller_interrupt_init
242
poller_remove_timer
246
_thread_exit
247
period_poller_set_interrupt_mode
250
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
298
spdk_thread_get_count
377
_back_to_orig_thread
562
spdk_for_each_thread
562
spdk_thread_get_by_id
644
_on_thread
769
busy_poller_interrupt_init
1161
busy_poller_set_interrupt_mode
1161
spdk_thread_get_name
1215
_thread_remove_pollers
1309
spdk_thread_send_critical_msg
1311
poller_interrupt_fini
1403
spdk_interrupt_register
1431
spdk_interrupt_register_for_events
1629
spdk_interrupt_register_ext
1630
alloc_interrupt
1632
spdk_poller_register_interrupt
1742
thread_trace
2249
spdk_thread_lib_init_ext
2288
spdk_thread_lib_fini
2580
_thread_lib_init
2586
io_device_tree_RB_MINMAX
2592
_thread_trace
2906
register_flag_thread
2906
spdk_thread_is_running
3158
spdk_interrupt_unregister
3482
_free_thread
7084
spdk_thread_destroy
7090
spdk_thread_create
7195
spdk_thread_exit
7197
spdk_thread_get_stats
8334
spdk_thread_set_cpumask
11902
io_channel_tree_RB_MINMAX
14254
timed_pollers_tree_RB_MINMAX
15944
spdk_thread_get_app_thread
20807
spdk_thread_next_poller_expiration
23908
spdk_thread_get_cpumask
28366
_finish_unregister
33289
io_device_tree_RB_REMOVE_COLOR
35681
spdk_thread_is_app_thread
35694
spdk_thread_get_ctx
37007
io_device_free
42470
io_device_tree_RB_INSERT_COLOR
42473
io_device_tree_RB_REMOVE
42473
spdk_io_device_unregister
42476
io_device_tree_RB_INSERT
42479
spdk_io_device_register
42479
interrupt_fd_group_wrapper
46634
spdk_thread_get_id
79115
io_channel_tree_RB_REMOVE_COLOR
79730
sspin_fini_internal
87152
spdk_spin_destroy
87155
io_channel_tree_RB_REMOVE
93481
io_channel_tree_RB_INSERT
93487
io_channel_tree_RB_INSERT_COLOR
93487
put_io_channel
93545
interrupt_timerfd_process
94384
spdk_spin_init
128193
sspin_init_internal
128193
spdk_poller_register_named
147078
convert_us_to_ticks
147265
poller_register
147265
thread_insert_poller
147370
spdk_put_io_channel
297401
spdk_get_io_channel
297416
spdk_poller_unregister
324796
_call_completion
534362
spdk_for_each_channel
534362
_call_channel
620903
spdk_for_each_channel_continue
620903
spdk_io_channel_iter_get_channel
623545
spdk_io_channel_iter_get_io_device
705671
thread_interrupt_msg_process
750857
io_device_get
874263
io_device_tree_RB_FIND
874263
spdk_io_channel_iter_get_ctx
1172797
spdk_thread_has_active_pollers
1850985
spdk_spin_held
1880531
spdk_spin_unlock
2300217
spdk_spin_lock
2300225
thread_exit
3102374
io_device_cmp
3536325
io_channel_tree_RB_FIND
3701931
thread_get_io_channel
3701931
io_channel_cmp
9790324
spdk_io_channel_get_io_device
11050832
spdk_thread_send_msg
13092583
thread_send_msg_notification
13093894
spdk_io_channel_from_ctx
15692789
timed_pollers_tree_RB_REMOVE_COLOR
16491993
thread_execute_timed_poller
19289396
timed_pollers_tree_RB_REMOVE
19297359
poller_insert_timer
19297419
timed_pollers_tree_RB_INSERT
19297419
timed_pollers_tree_RB_INSERT_COLOR
19297419
timed_pollers_tree_RB_NEXT
19306334
thread_has_unpaused_pollers
61240653
spdk_thread_is_idle
61242600
timed_poller_compare
133769237
spdk_interrupt_mode_is_enabled
176058623
_interrupt_wrapper
252891154
spdk_io_channel_get_thread
293535985
spdk_set_thread
508686305
spdk_get_thread
654412252
thread_execute_poller
5542341899
spdk_thread_is_exited
7596727141
spdk_thread_get_last_tsc
7605922311
thread_update_stats
7788904382
thread_poll
7789103635
spdk_thread_poll
7789104459
msg_queue_run_batch
7790050042
_get_thread
8457176916
spdk_thread_get_from_ctx
15148759674
Generated by:
LCOV version 1.15