mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user