mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-capture: add map variant with build-id
This allows tacking on suplimental data to the capture with a build-id so that our SysprofDocumentMmap can read it. The format is @build-id\0 after the trailing \0 of the filename in a SysprofCaptureMap frame.
This commit is contained in:
@ -109,6 +109,17 @@ bool sysprof_capture_writer_add_map (Sy
|
||||
uint64_t inode,
|
||||
const char *filename);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
bool sysprof_capture_writer_add_map_with_build_id (SysprofCaptureWriter *self,
|
||||
int64_t time,
|
||||
int cpu,
|
||||
int32_t pid,
|
||||
uint64_t start,
|
||||
uint64_t end,
|
||||
uint64_t offset,
|
||||
uint64_t inode,
|
||||
const char *filename,
|
||||
const char *build_id);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
bool sysprof_capture_writer_add_mark (SysprofCaptureWriter *self,
|
||||
int64_t time,
|
||||
int cpu,
|
||||
|
||||
Reference in New Issue
Block a user