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-10 04:25:06
Functions:
142
165
86.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4119
10364
39.7 %
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
spdk_thread_is_bound
122
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
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
248
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
368
spdk_thread_get_count
399
_back_to_orig_thread
538
spdk_for_each_thread
538
spdk_thread_get_by_id
588
_on_thread
747
busy_poller_interrupt_init
1125
busy_poller_set_interrupt_mode
1125
spdk_thread_get_name
1212
_thread_remove_pollers
1287
spdk_thread_send_critical_msg
1300
poller_interrupt_fini
1362
spdk_interrupt_register
1392
spdk_interrupt_register_for_events
1590
spdk_interrupt_register_ext
1591
spdk_poller_register_interrupt
1747
thread_trace
2253
spdk_thread_lib_init_ext
2303
spdk_thread_lib_fini
2663
_thread_lib_init
2671
io_device_tree_RB_MINMAX
2679
_thread_trace
2960
register_flag_thread
2960
spdk_thread_is_running
3130
spdk_interrupt_unregister
3417
_free_thread
7332
spdk_thread_destroy
7339
spdk_thread_create
7470
spdk_thread_exit
7482
spdk_thread_get_stats
8211
spdk_thread_set_cpumask
11936
io_channel_tree_RB_MINMAX
14776
timed_pollers_tree_RB_MINMAX
16450
spdk_thread_next_poller_expiration
19437
spdk_thread_get_app_thread
22087
spdk_thread_get_cpumask
28745
_finish_unregister
35219
spdk_thread_is_app_thread
35804
io_device_tree_RB_REMOVE_COLOR
36676
spdk_thread_get_ctx
37262
io_device_free
44580
io_device_tree_RB_INSERT_COLOR
44584
io_device_tree_RB_REMOVE
44584
spdk_io_device_unregister
44588
io_device_tree_RB_INSERT
44592
spdk_io_device_register
44592
spdk_thread_get_id
78728
io_channel_tree_RB_REMOVE_COLOR
81778
sspin_fini_internal
89770
spdk_spin_destroy
89774
interrupt_timerfd_process
92155
io_channel_tree_RB_REMOVE
96969
io_channel_tree_RB_INSERT
96977
io_channel_tree_RB_INSERT_COLOR
96977
put_io_channel
97032
spdk_spin_init
130656
sspin_init_internal
130656
spdk_poller_register_named
161639
poller_register
161880
convert_us_to_ticks
161884
thread_insert_poller
162008
spdk_put_io_channel
306680
spdk_get_io_channel
306701
spdk_poller_unregister
358312
_call_completion
606535
spdk_for_each_channel
606540
_call_channel
694059
spdk_for_each_channel_continue
694059
spdk_io_channel_iter_get_channel
710774
thread_interrupt_msg_process
816308
spdk_io_channel_iter_get_io_device
822083
io_device_get
957841
io_device_tree_RB_FIND
957841
spdk_spin_held
1213208
spdk_io_channel_iter_get_ctx
1319261
spdk_spin_unlock
1953781
spdk_spin_lock
1953791
spdk_thread_has_active_pollers
3571986
io_device_cmp
3831819
thread_exit
4117258
io_channel_tree_RB_FIND
4384193
thread_get_io_channel
4384193
io_channel_cmp
11652114
spdk_io_channel_get_io_device
13619471
spdk_thread_send_msg
14940092
thread_send_msg_notification
14941388
spdk_io_channel_from_ctx
19344222
timed_pollers_tree_RB_REMOVE_COLOR
22611991
thread_execute_timed_poller
25653263
timed_pollers_tree_RB_REMOVE
25661175
poller_insert_timer
25661261
timed_pollers_tree_RB_INSERT
25661261
timed_pollers_tree_RB_INSERT_COLOR
25661261
timed_pollers_tree_RB_NEXT
25670137
thread_has_unpaused_pollers
61343824
spdk_thread_is_idle
61344707
spdk_interrupt_mode_is_enabled
87826738
timed_poller_compare
197824561
_interrupt_wrapper
256820088
spdk_io_channel_get_thread
340496138
spdk_set_thread
517006193
spdk_get_thread
733544940
thread_execute_poller
5861833300
spdk_thread_is_exited
7928474878
spdk_thread_get_last_tsc
7960860169
thread_update_stats
8150615443
spdk_thread_poll
8151013726
thread_poll
8151284197
msg_queue_run_batch
8152035583
_get_thread
8896297577
spdk_thread_get_from_ctx
15807984736
Generated by:
LCOV version 1.14