LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1202
1483
81.1 %
Date:
2024-11-15 10:43:43
Functions:
141
163
86.5 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4185
10270
40.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_active_poller
0
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
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
5
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
spdk_thread_get_first_active_poller
24
spdk_thread_get_first_paused_poller
24
spdk_thread_get_first_timed_poller
24
spdk_thread_get_next_timed_poller
24
sspin_stacks_print
25
io_device_tree_RB_NEXT
36
spdk_interrupt_mode_enable
40
spdk_poller_get_state_str
44
sspin_stack_print
75
spdk_thread_is_bound
78
thread_interrupt_create
120
thread_interrupt_destroy
120
spdk_thread_set_interrupt_mode
136
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
233
poller_remove_timer
237
period_poller_set_interrupt_mode
241
_thread_exit
242
spdk_poller_register
243
spdk_thread_get_interrupt_fd_group
264
spdk_thread_lib_init
351
spdk_thread_get_by_id
374
spdk_thread_get_count
385
_back_to_orig_thread
510
spdk_for_each_thread
510
_on_thread
625
spdk_thread_get_name
854
busy_poller_interrupt_init
1164
busy_poller_set_interrupt_mode
1164
spdk_thread_send_critical_msg
1260
_thread_remove_pollers
1303
poller_interrupt_fini
1397
spdk_interrupt_register
1425
spdk_interrupt_register_ext
1623
spdk_interrupt_register_for_events
1623
thread_trace
2165
spdk_thread_lib_init_ext
2215
spdk_poller_register_interrupt
2429
spdk_thread_lib_fini
2562
_thread_lib_init
2566
io_device_tree_RB_MINMAX
2578
_thread_trace
2833
register_flag_thread
2833
spdk_thread_is_running
3042
spdk_interrupt_unregister
3458
spdk_thread_get_stats
6679
_free_thread
6957
spdk_thread_destroy
6965
spdk_thread_create
7091
spdk_thread_exit
7106
spdk_thread_set_cpumask
11788
io_channel_tree_RB_MINMAX
14026
timed_pollers_tree_RB_MINMAX
15615
spdk_thread_get_app_thread
21549
spdk_thread_next_poller_expiration
23361
spdk_thread_get_cpumask
27179
_finish_unregister
33508
spdk_thread_is_app_thread
34579
io_device_tree_RB_REMOVE_COLOR
35623
spdk_thread_get_ctx
36121
io_device_free
42521
io_device_tree_RB_INSERT_COLOR
42525
io_device_tree_RB_REMOVE
42525
spdk_io_device_unregister
42530
io_device_tree_RB_INSERT
42533
spdk_io_device_register
42533
spdk_thread_get_id
77629
io_channel_tree_RB_REMOVE_COLOR
80916
interrupt_timerfd_process
84519
sspin_fini_internal
88368
spdk_spin_destroy
88372
io_channel_tree_RB_REMOVE
94936
io_channel_tree_RB_INSERT
94944
io_channel_tree_RB_INSERT_COLOR
94944
put_io_channel
95005
spdk_spin_init
127745
sspin_init_internal
127745
spdk_poller_register_named
152404
poller_register
152646
convert_us_to_ticks
152647
thread_insert_poller
152770
spdk_put_io_channel
302169
spdk_get_io_channel
302186
spdk_poller_unregister
346591
_call_completion
602472
spdk_for_each_channel
602480
_call_channel
694539
spdk_for_each_channel_continue
694539
spdk_io_channel_iter_get_channel
702992
spdk_io_channel_iter_get_io_device
819646
io_device_get
947208
io_device_tree_RB_FIND
947208
thread_interrupt_msg_process
1130017
spdk_io_channel_iter_get_ctx
1316048
spdk_spin_held
1840883
spdk_spin_unlock
2147159
spdk_spin_lock
2147169
spdk_thread_has_active_pollers
3081815
thread_exit
3109550
io_device_cmp
3883992
io_channel_tree_RB_FIND
4262015
thread_get_io_channel
4262015
io_channel_cmp
11204262
spdk_thread_send_msg
12774689
thread_send_msg_notification
12775949
spdk_io_channel_get_io_device
14229727
spdk_io_channel_from_ctx
18412720
timed_pollers_tree_RB_REMOVE_COLOR
22324182
thread_execute_timed_poller
25092292
timed_pollers_tree_RB_REMOVE
25100111
poller_insert_timer
25100196
timed_pollers_tree_RB_INSERT_COLOR
25100196
timed_pollers_tree_RB_INSERT
25100197
timed_pollers_tree_RB_NEXT
25108864
thread_has_unpaused_pollers
51444477
spdk_thread_is_idle
51446681
spdk_interrupt_mode_is_enabled
147651969
timed_poller_compare
202705898
_interrupt_wrapper
254933729
spdk_io_channel_get_thread
342187091
spdk_set_thread
513407981
spdk_get_thread
687811843
thread_execute_poller
6765506161
spdk_thread_get_last_tsc
7248368883
spdk_thread_is_exited
7273542775
spdk_thread_poll
7527505790
thread_update_stats
7527514319
thread_poll
7527822068
msg_queue_run_batch
7529181911
_get_thread
8220613442
spdk_thread_get_from_ctx
14474225955
Generated by:
LCOV version 1.15