(path: &str, dev: u64, ino: u64)
| 337 | use runner_shared::artifacts::MemtrackEvent; |
| 338 | |
| 339 | fn mapping_for(path: &str, dev: u64, ino: u64) -> ProcessMapping { |
| 340 | ProcessMapping { |
| 341 | pid: 42, |
| 342 | path: path.to_string(), |
| 343 | dev, |
| 344 | ino, |
| 345 | file_offset: 0, |
| 346 | avma_range: 0x1000..0x2000, |
| 347 | timestamp: 7, |
| 348 | } |
| 349 | } |
| 350 | |
| 351 | /// Identity of the test binary as the kernel reports it for the mapping |
| 352 | /// that loaded it, which is what `PERF_RECORD_MMAP2` records. |
no outgoing calls