Android mm_events Trace
2.0 | 3 Votes
What is a PFTRACE file?
A PFTRACE file is a system trace file created by an Android device running Android 12 or later. It contains a report about a high memory pressure event the device experienced. You can view PFTRACE files' contents in Perfetto.
Android 10 and later versions use a system tracing tool called Perfetto to perform and record traces. Android 12 and later versions use a Perfetto sub-component called mm_events to record memory-related statistics when a device experiences memory pressure.
Mm_events saves memory pressure event statistics in PFTRACE files. Specifically, mm_events saves these statistics in a file named systrace.pftrace, which is located in the following directory:
Common PFTRACE Filenames
systrace.pftrace - The standard high memory pressure event trace file mm_events creates.
How to open a PFTRACE file
Developers can open PFTRACE files and view the system traces they contain in Perfetto (Web). To do so:
- Open your web browser and go to https://ui.perfetto.dev.
- Select Open trace file.
- Navigate to and open your PFTRACE file.