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

Function create_sample_v2

crates/runner-shared/src/unwind_data.rs:315–327  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

313 const V4_BINARY: &[u8] = include_bytes!("../testdata/unwind_data_v4.bin");
314
315 fn create_sample_v2() -> UnwindDataV2 {
316 UnwindDataV2 {
317 path: "/lib/test.so".to_string(),
318 timestamp: Some(12345),
319 avma_range: 0x1000..0x2000,
320 base_avma: 0x1000,
321 base_svma: 0x0,
322 eh_frame_hdr: vec![1, 2, 3, 4],
323 eh_frame_hdr_svma: 0x100..0x200,
324 eh_frame: vec![5, 6, 7, 8],
325 eh_frame_svma: 0x200..0x300,
326 }
327 }
328
329 fn create_sample_v3() -> UnwindDataV3 {
330 UnwindDataV3 {

Callers 1

test_parse_v2_as_v2Function · 0.85

Calls

no outgoing calls

Tested by 1

test_parse_v2_as_v2Function · 0.68