libsysprof: handle mmap2 records

We still need to add an additional capture writer so that we can keep the
build-id around, but this gets the mechanics in place to handle the
PERF_EVENT_MMAP2 event type.
This commit is contained in:
Christian Hergert
2023-07-24 16:32:58 -07:00
parent 5f5868c060
commit 85344b4963
3 changed files with 42 additions and 6 deletions

View File

@ -232,6 +232,8 @@ sysprof_perf_event_stream_flush (SysprofPerfEventStream *self)
case PERF_RECORD_COMM:
case PERF_RECORD_EXIT:
case PERF_RECORD_FORK:
case PERF_RECORD_MMAP:
case PERF_RECORD_MMAP2:
break;
case PERF_RECORD_SAMPLE: