LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1205
1505
80.1 %
Date:
2024-12-09 14:21:55
Functions:
142
165
86.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4130
10364
39.8 %
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
__pending_unregister
4
spdk_thread_get_trace_id
6
poller_set_interrupt_mode
8
spdk_thread_has_pollers
8
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_stats
16
spdk_poller_get_id
20
spdk_thread_bind
20
sspin_stacks_print
25
io_device_tree_RB_NEXT
36
spdk_interrupt_mode_enable
41
spdk_poller_get_state_str
44
spdk_thread_get_next_active_poller
48
sspin_stack_print
75
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
131
spdk_thread_set_interrupt_mode
138
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
237
poller_remove_timer
241
spdk_poller_register
243
period_poller_set_interrupt_mode
245
_thread_exit
246
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
372
spdk_thread_get_count
408
_back_to_orig_thread
562
spdk_for_each_thread
562
spdk_thread_get_by_id
670
_on_thread
773
spdk_thread_get_name
1219
busy_poller_interrupt_init
1263
busy_poller_set_interrupt_mode
1263
spdk_thread_send_critical_msg
1332
_thread_remove_pollers
1382
poller_interrupt_fini
1500
spdk_interrupt_register
1530
spdk_interrupt_register_for_events
1728
spdk_interrupt_register_ext
1729
spdk_poller_register_interrupt
1770
thread_trace
2293
spdk_thread_lib_init_ext
2343
spdk_thread_lib_fini
2707
_thread_lib_init
2715
io_device_tree_RB_MINMAX
2723
_thread_trace
3006
register_flag_thread
3006
spdk_thread_is_running
3224
spdk_interrupt_unregister
3572
_free_thread
7482
spdk_thread_destroy
7487
spdk_thread_create
7620
spdk_thread_exit
7631
spdk_thread_get_stats
8461
spdk_thread_set_cpumask
12012
io_channel_tree_RB_MINMAX
15069
timed_pollers_tree_RB_MINMAX
16839
spdk_thread_get_app_thread
22148
spdk_thread_next_poller_expiration
24273
spdk_thread_get_cpumask
29223
_finish_unregister
35735
spdk_thread_is_app_thread
36577
io_device_tree_RB_REMOVE_COLOR
37284
spdk_thread_get_ctx
37715
io_device_free
45236
io_device_tree_RB_INSERT_COLOR
45240
io_device_tree_RB_REMOVE
45240
spdk_io_device_unregister
45244
io_device_tree_RB_INSERT
45248
spdk_io_device_register
45248
spdk_thread_get_id
78749
io_channel_tree_RB_REMOVE_COLOR
82379
sspin_fini_internal
90976
spdk_spin_destroy
90980
interrupt_timerfd_process
92276
io_channel_tree_RB_REMOVE
97771
io_channel_tree_RB_INSERT
97779
io_channel_tree_RB_INSERT_COLOR
97779
put_io_channel
97836
spdk_spin_init
132549
sspin_init_internal
132549
spdk_poller_register_named
159464
poller_register
159705
convert_us_to_ticks
159712
thread_insert_poller
159837
spdk_put_io_channel
309484
spdk_get_io_channel
309520
spdk_poller_unregister
326574
_call_completion
576076
spdk_for_each_channel
576083
thread_interrupt_msg_process
658857
_call_channel
662798
spdk_for_each_channel_continue
662798
spdk_io_channel_iter_get_channel
671665
spdk_io_channel_iter_get_io_device
811441
io_device_get
930860
io_device_tree_RB_FIND
930860
spdk_io_channel_iter_get_ctx
1254852
spdk_spin_held
1877107
spdk_spin_unlock
2409811
spdk_spin_lock
2409822
spdk_thread_has_active_pollers
3282893
thread_exit
3380263
io_device_cmp
3718584
io_channel_tree_RB_FIND
4232793
thread_get_io_channel
4232793
io_channel_cmp
11345988
spdk_thread_send_msg
14595861
thread_send_msg_notification
14597192
spdk_io_channel_get_io_device
14722272
spdk_io_channel_from_ctx
20174122
timed_pollers_tree_RB_REMOVE_COLOR
22667450
thread_execute_timed_poller
25474363
timed_pollers_tree_RB_REMOVE
25482510
poller_insert_timer
25482591
timed_pollers_tree_RB_INSERT
25482592
timed_pollers_tree_RB_INSERT_COLOR
25482592
timed_pollers_tree_RB_NEXT
25491822
thread_has_unpaused_pollers
62448466
spdk_thread_is_idle
62452873
spdk_interrupt_mode_is_enabled
165926813
timed_poller_compare
201417491
_interrupt_wrapper
258196496
spdk_io_channel_get_thread
362935102
spdk_set_thread
519443333
spdk_get_thread
769416977
thread_execute_poller
5999295543
spdk_thread_is_exited
7891699250
spdk_thread_get_last_tsc
7916762978
spdk_thread_poll
8146921648
thread_update_stats
8147365000
thread_poll
8147941219
msg_queue_run_batch
8148245979
_get_thread
8924085729
spdk_thread_get_from_ctx
15698889048
Generated by:
LCOV version 1.15