Commit Graph

3 Commits

Author SHA1 Message Date
7c57da2440 libsysprof-analyze: add build-id to SysprofDocumentMmap
In anticipation of getting PERF_EVENT_MMAP2 events, assume we tack on the
build-id in hex after the filename like "filename\0@build-id\0" so that we
can use it when decoding frames. That will allow us to avoid doing inode
checks (which breaks when moving files between computers anyway) as well
as potentially supporting debuginfod in the future via build-id.
2023-05-08 14:25:27 -07:00
9b05f5c0a5 libsysprof-analyze: make CSTRING helper more succinct to use 2023-04-27 17:14:19 -07:00
c1d00db0fb libsysprof-analyze: add document type for memory maps 2023-04-27 17:00:18 -07:00