LCOV - code coverage report
Current view: top level - pageserver/src - task_mgr.rs (source / functions) Coverage Total Hit
Test: 249f165943bd2c492f96a3f7d250276e4addca1a.info Lines: 62.2 % 251 156
Test Date: 2024-11-20 18:39:52 Functions: 22.8 % 101 23

Function Name Sort by function name Hit count Sort by function hit count
<&str as core::convert::From<pageserver::task_mgr::TaskKind>>::from 2972
<&str as core::convert::From<&pageserver::task_mgr::TaskKind>>::from 0
<&str as core::convert::From>::from 2972
<<pageserver::task_mgr::TaskKind as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 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
<pageserver::task_mgr::PageserverTaskId as core::fmt::Display>::fmt 0
<pageserver::task_mgr::TaskKind as core::str::traits::FromStr>::from_str 0
>::try_from 0
::from_str 0
<pageserver::task_mgr::TokioRuntimeMode as core::str::traits::FromStr>::from_str 0
<pageserver::task_mgr::TokioRuntimeMode as core::str::traits::FromStr>::from_str::{closure#0} 0
pageserver::task_mgr::BACKGROUND_RUNTIME::{closure#0} 178
pageserver::task_mgr::BACKGROUND_RUNTIME::{closure#0} 168
pageserver::task_mgr::COMPUTE_REQUEST_RUNTIME::{closure#0} 0
pageserver::task_mgr::MGMT_REQUEST_RUNTIME::{closure#0} 0
pageserver::task_mgr::WALRECEIVER_RUNTIME::{closure#0} 10
pageserver::task_mgr::BACKGROUND_RUNTIME::{closure#0}::RUNTIME::{closure#0} 178
pageserver::task_mgr::BACKGROUND_RUNTIME::{closure#0}::RUNTIME::{closure#0} 168
pageserver::task_mgr::COMPUTE_REQUEST_RUNTIME::{closure#0}::RUNTIME::{closure#0} 0
pageserver::task_mgr::MGMT_REQUEST_RUNTIME::{closure#0}::RUNTIME::{closure#0} 0
pageserver::task_mgr::WALRECEIVER_RUNTIME::{closure#0}::RUNTIME::{closure#0} 10
pageserver::task_mgr::ONE_RUNTIME::{closure#0} 168
pageserver::task_mgr::TASKS::{closure#0} 172
pageserver::task_mgr::TOKIO_THREAD_STACK_SIZE::{closure#0} 168
pageserver::task_mgr::TOKIO_THREAD_STACK_SIZE::{closure#0}::{closure#0} 168
pageserver::task_mgr::TOKIO_WORKER_THREADS::{closure#0} 168
pageserver::task_mgr::TOKIO_WORKER_THREADS::{closure#0}::{closure#0} 0
pageserver::task_mgr::TOKIO_WORKER_THREADS::{closure#0}::{closure#1} 168
pageserver::task_mgr::_::__enumset_derive__generated_warnings 0
pageserver::task_mgr::current_task_id 0
pageserver::task_mgr::current_task_id::{closure#0} 0
pageserver::task_mgr::current_task_kind 0
pageserver::task_mgr::current_task_kind::{closure#0} 0
pageserver::task_mgr::exit_on_panic_or_error::<(), anyhow::Error, pageserver::tenant::secondary::spawn_tasks::{closure#0}> 0
pageserver::task_mgr::exit_on_panic_or_error::<(), anyhow::Error, pageserver::disk_usage_eviction_task::launch_disk_usage_global_eviction_task::{closure#0}> 0
pageserver::task_mgr::exit_on_panic_or_error::<(), anyhow::Error, pageserver::tenant::secondary::spawn_tasks::{closure#0}> 0
pageserver::task_mgr::exit_on_panic_or_error::<(), anyhow::Error, pageserver::tenant::secondary::spawn_tasks::{closure#1}> 0
pageserver::task_mgr::exit_on_panic_or_error::<(), anyhow::Error, tracing::instrument::Instrumented> 0
pageserver::task_mgr::exit_on_panic_or_error::<(), anyhow::Error, tracing::instrument::Instrumented> 0
pageserver::task_mgr::exit_on_panic_or_error::<(), hyper::error::Error, hyper::server::shutdown::Graceful, pageserver::start_pageserver::{closure#7}, hyper::common::exec::Exec>> 0
pageserver::task_mgr::exit_on_panic_or_error::>> 0
pageserver::task_mgr::exit_on_panic_or_error::<(), anyhow::Error, pageserver::tenant::secondary::spawn_tasks::{closure#0}>::{closure#0} 0
pageserver::task_mgr::exit_on_panic_or_error::<(), anyhow::Error, pageserver::disk_usage_eviction_task::launch_disk_usage_global_eviction_task::{closure#0}>::{closure#0} 0
pageserver::task_mgr::exit_on_panic_or_error::<(), anyhow::Error, pageserver::tenant::secondary::spawn_tasks::{closure#0}>::{closure#0} 0
pageserver::task_mgr::exit_on_panic_or_error::<(), anyhow::Error, pageserver::tenant::secondary::spawn_tasks::{closure#1}>::{closure#0} 0
pageserver::task_mgr::exit_on_panic_or_error::<(), anyhow::Error, tracing::instrument::Instrumented>::{closure#0} 0
pageserver::task_mgr::exit_on_panic_or_error::<(), anyhow::Error, tracing::instrument::Instrumented>::{closure#0} 0
pageserver::task_mgr::exit_on_panic_or_error::<(), hyper::error::Error, hyper::server::shutdown::Graceful, pageserver::start_pageserver::{closure#7}, hyper::common::exec::Exec>>::{closure#0} 0
pageserver::task_mgr::exit_on_panic_or_error::>>::{closure#0} 0
pageserver::task_mgr::is_shutdown_requested 0
pageserver::task_mgr::is_shutdown_requested::{closure#0} 0
pageserver::task_mgr::shutdown_tasks 26
pageserver::task_mgr::shutdown_tasks::{closure#0} 26
pageserver::task_mgr::shutdown_token 3079
pageserver::task_mgr::shutdown_token::{closure#0} 3079
pageserver::task_mgr::shutdown_watcher 0
pageserver::task_mgr::shutdown_watcher 0
pageserver::task_mgr::shutdown_watcher::{closure#0} 0
pageserver::task_mgr::shutdown_watcher::{closure#0}::{closure#0} 0
pageserver::task_mgr::spawn::<pageserver::tenant::tasks::start_background_loops::{closure#0}> 3594
pageserver::task_mgr::spawn::<::launch_eviction_task::{closure#0}> 0
pageserver::task_mgr::spawn:: 0
pageserver::task_mgr::spawn:: 0
pageserver::task_mgr::spawn:: 0
pageserver::task_mgr::spawn::::spawn::{closure#0}>> 0
pageserver::task_mgr::spawn::::launch_queued_tasks::{closure#0}>> 3182
pageserver::task_mgr::spawn::::maybe_spawn_flush_loop::{closure#0}>> 412
pageserver::task_mgr::spawn::::spawn_download_all_remote_layers::{closure#0}::{closure#0}>> 0
pageserver::task_mgr::spawn::::spawn_initial_logical_size_computation_task::{closure#0}>> 0
pageserver::task_mgr::spawn::::spawn_ondemand_logical_size_calculation::{closure#0}>> 0
pageserver::task_mgr::spawn::::schedule_background::{closure#0}>> 0
pageserver::task_mgr::task_wrapper::<pageserver::tenant::tasks::start_background_loops::{closure#0}> 3594
pageserver::task_mgr::task_wrapper::<::launch_eviction_task::{closure#0}> 0
pageserver::task_mgr::task_wrapper:: 0
pageserver::task_mgr::task_wrapper:: 0
pageserver::task_mgr::task_wrapper:: 0
pageserver::task_mgr::task_wrapper::::spawn::{closure#0}>> 0
pageserver::task_mgr::task_wrapper::::launch_queued_tasks::{closure#0}>> 3182
pageserver::task_mgr::task_wrapper::::maybe_spawn_flush_loop::{closure#0}>> 412
pageserver::task_mgr::task_wrapper::::spawn_download_all_remote_layers::{closure#0}::{closure#0}>> 0
pageserver::task_mgr::task_wrapper::::spawn_initial_logical_size_computation_task::{closure#0}>> 0
pageserver::task_mgr::task_wrapper::::spawn_ondemand_logical_size_calculation::{closure#0}>> 0
pageserver::task_mgr::task_wrapper::::schedule_background::{closure#0}>> 0
pageserver::task_mgr::task_wrapper::<pageserver::tenant::tasks::start_background_loops::{closure#0}>::{closure#0} 3491
pageserver::task_mgr::task_wrapper::<::launch_eviction_task::{closure#0}>::{closure#0} 0
pageserver::task_mgr::task_wrapper::::{closure#0} 0
pageserver::task_mgr::task_wrapper::::{closure#0} 0
pageserver::task_mgr::task_wrapper::::{closure#0} 0
pageserver::task_mgr::task_wrapper::::spawn::{closure#0}>>::{closure#0} 0
pageserver::task_mgr::task_wrapper::::launch_queued_tasks::{closure#0}>>::{closure#0} 3079
pageserver::task_mgr::task_wrapper::::maybe_spawn_flush_loop::{closure#0}>>::{closure#0} 412
pageserver::task_mgr::task_wrapper::::spawn_download_all_remote_layers::{closure#0}::{closure#0}>>::{closure#0} 0
pageserver::task_mgr::task_wrapper::::spawn_initial_logical_size_computation_task::{closure#0}>>::{closure#0} 0
pageserver::task_mgr::task_wrapper::::spawn_ondemand_logical_size_calculation::{closure#0}>>::{closure#0} 0
pageserver::task_mgr::task_wrapper::::schedule_background::{closure#0}>>::{closure#0} 0
pageserver::task_mgr::task_wrapper::<pageserver::tenant::tasks::start_background_loops::{closure#0}>::{closure#0}::{closure#0} 3491
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::::spawn::{closure#0}>>::{closure#0}::{closure#0} 0
pageserver::task_mgr::task_wrapper::::launch_queued_tasks::{closure#0}>>::{closure#0}::{closure#0} 3079
pageserver::task_mgr::task_wrapper::::maybe_spawn_flush_loop::{closure#0}>>::{closure#0}::{closure#0} 412
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

Generated by: LCOV version 2.1-beta