MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / setup

Method setup

src/executor/memory/executor.rs:150–160  ·  view source on GitHub ↗
(
        &self,
        system_info: &SystemInfo,
        setup_cache_dir: Option<&Path>,
        _run_environment: &RunEnvironment,
    )

Source from the content-addressed store, hash-verified

148 }
149
150 async fn setup(
151 &self,
152 system_info: &SystemInfo,
153 setup_cache_dir: Option<&Path>,
154 _run_environment: &RunEnvironment,
155 ) -> Result<()> {
156 // FIXME(COD-2794): resolve libc symbols through debuginfod once it is back up, instead
157 // of installing libc6-dbg.
158 ensure_libc_debug_symbols(system_info, setup_cache_dir).await;
159 Ok(())
160 }
161
162 fn grant_privileges(&self) -> Result<()> {
163 // A delegated BPF token already provides the privilege memtrack needs;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected