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 10:12:50
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3979
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
4
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
121
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
240
poller_remove_timer
244
_thread_exit
248
period_poller_set_interrupt_mode
248
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
298
spdk_thread_get_count
377
_back_to_orig_thread
563
spdk_for_each_thread
563
spdk_thread_get_by_id
659
_on_thread
770
spdk_thread_get_name
1215
spdk_thread_send_critical_msg
1312
busy_poller_interrupt_init
1371
busy_poller_set_interrupt_mode
1371
_thread_remove_pollers
1470
poller_interrupt_fini
1611
spdk_interrupt_register
1639
spdk_poller_register_interrupt
1742
spdk_interrupt_register_for_events
1837
spdk_interrupt_register_ext
1838
alloc_interrupt
1840
thread_trace
2250
spdk_thread_lib_init_ext
2289
spdk_thread_lib_fini
2581
_thread_lib_init
2587
io_device_tree_RB_MINMAX
2593
_thread_trace
2907
register_flag_thread
2907
spdk_thread_is_running
3151
spdk_interrupt_unregister
3678
_free_thread
7087
spdk_thread_destroy
7095
spdk_thread_create
7198
spdk_thread_exit
7201
spdk_thread_get_stats
8206
spdk_thread_set_cpumask
11794
io_channel_tree_RB_MINMAX
14259
timed_pollers_tree_RB_MINMAX
16110
spdk_thread_get_app_thread
19951
spdk_thread_next_poller_expiration
23281
spdk_thread_get_cpumask
28277
_finish_unregister
33302
io_device_tree_RB_REMOVE_COLOR
35697
spdk_thread_is_app_thread
35716
spdk_thread_get_ctx
36788
io_device_free
42487
io_device_tree_RB_INSERT_COLOR
42490
io_device_tree_RB_REMOVE
42490
spdk_io_device_unregister
42494
io_device_tree_RB_INSERT
42496
spdk_io_device_register
42496
spdk_thread_get_id
79272
io_channel_tree_RB_REMOVE_COLOR
80098
sspin_fini_internal
87198
spdk_spin_destroy
87201
io_channel_tree_RB_REMOVE
93864
io_channel_tree_RB_INSERT
93870
io_channel_tree_RB_INSERT_COLOR
93870
put_io_channel
93929
interrupt_timerfd_process
94084
spdk_spin_init
128258
sspin_init_internal
128258
interrupt_fd_group_wrapper
161509
spdk_poller_register_named
164460
poller_register
164646
convert_us_to_ticks
164647
thread_insert_poller
164752
spdk_put_io_channel
298958
spdk_get_io_channel
298973
spdk_poller_unregister
340236
_call_completion
526013
spdk_for_each_channel
526013
_call_channel
621460
spdk_for_each_channel_continue
621460
spdk_io_channel_iter_get_channel
642184
spdk_io_channel_iter_get_io_device
706337
thread_interrupt_msg_process
840074
io_device_get
867489
io_device_tree_RB_FIND
867489
spdk_io_channel_iter_get_ctx
1167023
spdk_thread_has_active_pollers
1805559
spdk_spin_held
1822305
spdk_spin_unlock
1859181
spdk_spin_lock
1859189
thread_exit
3485501
io_device_cmp
3577687
io_channel_tree_RB_FIND
3684475
thread_get_io_channel
3684475
io_channel_cmp
9708224
spdk_io_channel_get_io_device
9837088
spdk_thread_send_msg
13529311
thread_send_msg_notification
13530622
spdk_io_channel_from_ctx
14989210
timed_pollers_tree_RB_REMOVE_COLOR
16960244
thread_execute_timed_poller
19859031
timed_pollers_tree_RB_REMOVE
19867111
poller_insert_timer
19867172
timed_pollers_tree_RB_INSERT
19867172
timed_pollers_tree_RB_INSERT_COLOR
19867172
timed_pollers_tree_RB_NEXT
19876385
thread_has_unpaused_pollers
56606680
spdk_thread_is_idle
56609657
timed_poller_compare
136420037
spdk_interrupt_mode_is_enabled
157815081
_interrupt_wrapper
240008064
spdk_io_channel_get_thread
280482187
spdk_set_thread
483332357
spdk_get_thread
646816724
thread_execute_poller
5535337351
spdk_thread_is_exited
7586470978
spdk_thread_get_last_tsc
7612828445
thread_update_stats
7803216279
spdk_thread_poll
7803425153
thread_poll
7803438585
msg_queue_run_batch
7804473401
_get_thread
8464389143
spdk_thread_get_from_ctx
15129245293
Generated by:
LCOV version 1.15