Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2dc1e8e3 authored by Chirag Modi's avatar Chirag Modi
Browse files

ActivityManager: Include Private Dirty Pages in Meminfo



By using the -p flag, meminfo will include the private dirty pages for each of the processes.
This will help provide mem pages thare are available to only that process and has been modified.

Test: Below are the instructions used for testing
1. Build AOSP for Pixel 5 (redfin)
2. Flash
3. Run adb shell dumpsys meminfo -p
4. View output which includes private dirty information. Snippet below:

...
Total PSS by process:
    251,020K: system (pid 1811)
(   76,888K private dirty)
    150,984K: com.android.systemui (pid 2518)
(   67,020K private dirty)
    142,721K: android.hardware.camera.provider@2.7-service-google (pid 1039)
(   62,636K private dirty)
...

Change-Id: I4da32141edef32b394077d508fb40525d2f6a65e
Signed-off-by: default avatarChirag Modi <cmodi@meta.com>
parent c0857666
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment