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

Method attach_allocator

crates/memtrack/src/ebpf/tracker.rs:47–49  ·  view source on GitHub ↗
(&mut self, lib: &AllocatorLib)

Source from the content-addressed store, hash-verified

45 }
46
47 pub fn attach_allocator(&mut self, lib: &AllocatorLib) -> Result<()> {
48 self.bpf.attach_allocator_probes(lib.kind, &lib.path)
49 }
50
51 /// Start tracking allocations for a specific PID
52 ///

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected