LCOV - code coverage report
Current view: top level - pageserver/src - task_mgr.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 88.0 % 249 219
Test Date: 2024-02-14 18:05:35 Functions: 67.3 % 162 109

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::task_mgr::MutableTaskState as core::default::Default>::default 0
<pageserver::task_mgr::PageserverTaskId as core::fmt::Debug>::fmt 0
::clone 0
::fmt 0
<pageserver::task_mgr::TaskKind as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum::<_> 0
::deserialize::<_> 0
<pageserver::task_mgr::TaskKind as serde::ser::Serialize>::serialize::<_> 0
pageserver::task_mgr::BACKGROUND_RUNTIME_WORKER_THREADS::{closure#0}::{closure#0} 0
pageserver::task_mgr::is_shutdown_requested::{closure#1} 0
pageserver::task_mgr::shutdown_tasks::{closure#0}::{closure#1} 0
pageserver::task_mgr::task_finish::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_finish::{closure#0}::{closure#1} 0
pageserver::task_mgr::task_finish::{closure#0}::{closure#3} 0
pageserver::task_mgr::task_finish::{closure#0}::{closure#4} 0
pageserver::task_mgr::task_wrapper::<pageserver::start_pageserver::{closure#7}>::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::<::launch_eviction_task::{closure#0}>::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::spawn::{closure#0}>>::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::schedule_background::{closure#0}>>::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::launch_queued_tasks::{closure#0}>>::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::spawn_download_and_wait::{closure#0}::{closure#0}>>::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::maybe_spawn_flush_loop::{closure#0}>>::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::spawn_download_all_remote_layers::{closure#0}::{closure#0}>>::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::spawn_initial_logical_size_computation_task::{closure#0}>>::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::spawn_ondemand_logical_size_calculation::{closure#0}>>::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::schedule_background::{closure#0}>>::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::start::{closure#0}>>::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::>::{closure#0}::{closure#0} 0
pageserver::task_mgr::shutdown_tasks::{closure#0}::{closure#0} 8
pageserver::task_mgr::shutdown_tasks::{closure#0}::{closure#2} 8
pageserver::task_mgr::shutdown_tasks::{closure#0}::{closure#3} 8
pageserver::task_mgr::task_finish::{closure#0}::{closure#2} 8
<pageserver::task_mgr::TaskKind as core::fmt::Debug>::fmt 10
pageserver::task_mgr::current_task_id 16
pageserver::task_mgr::current_task_id::{closure#0} 16
<pageserver::task_mgr::PageserverTaskId as core::fmt::Display>::fmt 18
pageserver::task_mgr::CURRENT_TASK::__KEY::__getit::destroy::{closure#0} 150
pageserver::task_mgr::CURRENT_TASK::__KEY::__getit::destroy::{closure#0} 75
pageserver::task_mgr::SHUTDOWN_TOKEN::__KEY::__getit::destroy::{closure#0} 75
pageserver::task_mgr::BACKGROUND_RUNTIME_WORKER_THREADS::{closure#0} 379
pageserver::task_mgr::BACKGROUND_RUNTIME_WORKER_THREADS::{closure#0}::{closure#1} 379
pageserver::task_mgr::is_shutdown_requested::{closure#0} 470
pageserver::task_mgr::is_shutdown_requested 478
pageserver::task_mgr::COMPUTE_REQUEST_RUNTIME::{closure#0} 625
pageserver::task_mgr::MGMT_REQUEST_RUNTIME::{closure#0} 625
pageserver::task_mgr::WALRECEIVER_RUNTIME::{closure#0} 635
pageserver::task_mgr::BACKGROUND_RUNTIME::{closure#0} 697
pageserver::task_mgr::TASKS::{closure#0} 701
pageserver::task_mgr::shutdown_tasks 3198
pageserver::task_mgr::shutdown_tasks::{closure#0} 3198
<&str as core::convert::From<pageserver::task_mgr::TaskKind>>::from 29672
<&str as core::convert::From<&pageserver::task_mgr::TaskKind>>::from 10737
<&str as core::convert::From>::from 18935
pageserver::task_mgr::task_finish 58203
pageserver::task_mgr::task_finish::{closure#0} 58203
pageserver::task_mgr::task_wrapper::<pageserver::start_pageserver::{closure#7}>::{closure#0} 63363
pageserver::task_mgr::task_wrapper::::spawn_download_all_remote_layers::{closure#0}::{closure#0}>>::{closure#0} 2
pageserver::task_mgr::task_wrapper::::{closure#0} 3
pageserver::task_mgr::task_wrapper::::{closure#0} 6
pageserver::task_mgr::task_wrapper::::{closure#0} 6
pageserver::task_mgr::task_wrapper::::spawn_ondemand_logical_size_calculation::{closure#0}>>::{closure#0} 36
pageserver::task_mgr::task_wrapper::::schedule_background::{closure#0}>>::{closure#0} 65
pageserver::task_mgr::task_wrapper::::{closure#0} 81
pageserver::task_mgr::task_wrapper::::schedule_background::{closure#0}>>::{closure#0} 87
pageserver::task_mgr::task_wrapper::::{closure#0} 323
pageserver::task_mgr::task_wrapper::::{closure#0} 625
pageserver::task_mgr::task_wrapper::::{closure#0} 625
pageserver::task_mgr::task_wrapper::::{closure#0} 625
pageserver::task_mgr::task_wrapper::::{closure#0} 625
pageserver::task_mgr::task_wrapper::::spawn_initial_logical_size_computation_task::{closure#0}>>::{closure#0} 634
pageserver::task_mgr::task_wrapper::>::{closure#0} 763
pageserver::task_mgr::task_wrapper::::{closure#0} 856
pageserver::task_mgr::task_wrapper::::{closure#0} 856
pageserver::task_mgr::task_wrapper::::spawn::{closure#0}>>::{closure#0} 884
pageserver::task_mgr::task_wrapper::<::launch_eviction_task::{closure#0}>::{closure#0} 1257
pageserver::task_mgr::task_wrapper::::start::{closure#0}>>::{closure#0} 1257
pageserver::task_mgr::task_wrapper::::maybe_spawn_flush_loop::{closure#0}>>::{closure#0} 1573
pageserver::task_mgr::task_wrapper::::spawn_download_and_wait::{closure#0}::{closure#0}>>::{closure#0} 9469
pageserver::task_mgr::task_wrapper::::{closure#0} 10617
pageserver::task_mgr::task_wrapper::::launch_queued_tasks::{closure#0}>>::{closure#0} 32088
pageserver::task_mgr::spawn::<pageserver::start_pageserver::{closure#7}> 63373
pageserver::task_mgr::spawn::::spawn_download_all_remote_layers::{closure#0}::{closure#0}>> 2
pageserver::task_mgr::spawn:: 3
pageserver::task_mgr::spawn:: 6
pageserver::task_mgr::spawn:: 6
pageserver::task_mgr::spawn::::spawn_ondemand_logical_size_calculation::{closure#0}>> 36
pageserver::task_mgr::spawn::::schedule_background::{closure#0}>> 65
pageserver::task_mgr::spawn:: 81
pageserver::task_mgr::spawn::::schedule_background::{closure#0}>> 87
pageserver::task_mgr::spawn:: 323
pageserver::task_mgr::spawn:: 625
pageserver::task_mgr::spawn:: 625
pageserver::task_mgr::spawn:: 625
pageserver::task_mgr::spawn:: 625
pageserver::task_mgr::spawn::::spawn_initial_logical_size_computation_task::{closure#0}>> 634
pageserver::task_mgr::spawn::> 763
pageserver::task_mgr::spawn:: 856
pageserver::task_mgr::spawn:: 856
pageserver::task_mgr::spawn::::spawn::{closure#0}>> 884
pageserver::task_mgr::spawn::<::launch_eviction_task::{closure#0}> 1257
pageserver::task_mgr::spawn::::start::{closure#0}>> 1257
pageserver::task_mgr::spawn::::maybe_spawn_flush_loop::{closure#0}>> 1573
pageserver::task_mgr::spawn::::spawn_download_and_wait::{closure#0}::{closure#0}>> 9469
pageserver::task_mgr::spawn:: 10617
pageserver::task_mgr::spawn::::launch_queued_tasks::{closure#0}>> 32098
pageserver::task_mgr::task_wrapper::<pageserver::start_pageserver::{closure#7}> 63373
pageserver::task_mgr::task_wrapper::::spawn_download_all_remote_layers::{closure#0}::{closure#0}>> 2
pageserver::task_mgr::task_wrapper:: 3
pageserver::task_mgr::task_wrapper:: 6
pageserver::task_mgr::task_wrapper:: 6
pageserver::task_mgr::task_wrapper::::spawn_ondemand_logical_size_calculation::{closure#0}>> 36
pageserver::task_mgr::task_wrapper::::schedule_background::{closure#0}>> 65
pageserver::task_mgr::task_wrapper:: 81
pageserver::task_mgr::task_wrapper::::schedule_background::{closure#0}>> 87
pageserver::task_mgr::task_wrapper:: 323
pageserver::task_mgr::task_wrapper:: 625
pageserver::task_mgr::task_wrapper:: 625
pageserver::task_mgr::task_wrapper:: 625
pageserver::task_mgr::task_wrapper:: 625
pageserver::task_mgr::task_wrapper::::spawn_initial_logical_size_computation_task::{closure#0}>> 634
pageserver::task_mgr::task_wrapper::> 763
pageserver::task_mgr::task_wrapper:: 856
pageserver::task_mgr::task_wrapper:: 856
pageserver::task_mgr::task_wrapper::::spawn::{closure#0}>> 884
pageserver::task_mgr::task_wrapper::<::launch_eviction_task::{closure#0}> 1257
pageserver::task_mgr::task_wrapper::::start::{closure#0}>> 1257
pageserver::task_mgr::task_wrapper::::maybe_spawn_flush_loop::{closure#0}>> 1573
pageserver::task_mgr::task_wrapper::::spawn_download_and_wait::{closure#0}::{closure#0}>> 9469
pageserver::task_mgr::task_wrapper:: 10617
pageserver::task_mgr::task_wrapper::::launch_queued_tasks::{closure#0}>> 32098
pageserver::task_mgr::shutdown_token::{closure#0} 69721
pageserver::task_mgr::shutdown_token 70029
pageserver::task_mgr::shutdown_watcher::{closure#0}::{closure#0} 122196
pageserver::task_mgr::shutdown_watcher 249816
pageserver::task_mgr::shutdown_watcher::{closure#0} 122196
pageserver::task_mgr::shutdown_watcher 127620
pageserver::task_mgr::current_task_kind::{closure#0} 3686190
pageserver::task_mgr::current_task_kind 4619370
<pageserver::task_mgr::TaskKind as core::cmp::PartialEq>::eq 70056162
::clone 0
>>::eq 0
>::sub 0
>::bitand 0
>::bitor 0
>::bitxor 0
::not 0
::__impl_enumset_internal__const_merge 0
::__impl_enumset_internal__const_only 0
pageserver::task_mgr::_::__enumset_derive__generated_warnings 0
::enum_from_u32 1279
::eq 3728455
::enum_into_u32 66326428
<pageserver::task_mgr::TaskKind as enum_map::internal::Enum>::from_usize 350305883
::from_usize 28070
::into_usize 350277813

Generated by: LCOV version 2.1-beta