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

Commit a5b67eeb authored by T.J. Mercier's avatar T.J. Mercier
Browse files

Add dmabuf RSS and PSS to low memory report

In addition to normal process PSS, add two columns for dmabuf RSS and
PSS:

ActivityManager:   ntv      ??   89525       0       0: zygote (pid 658) native
ActivityManager:   ntv      ??   38557       0       0: zygote64 (pid 657) native
ActivityManager:   ntv      ??   36396       0       0: webview_zygote (pid 2911) native
ActivityManager:   ntv      ??   33735   24816   13591: surfaceflinger (pid 765) native
ActivityManager:   ntv      ??   22466       0       0: media.swcodec (pid 822) native
ActivityManager:   ntv      ??   18977       0       0: mediaserver (pid 816) native
ActivityManager:   ntv      ??   14854   27496   16853: android.hardware.graphics.composer3-service.ranchu (pid 667) native

If the procfs files for dmabuf_rss and dmabuf_pss do not exist, then -1 is reported.

Flag: NONE logging
Test: adb shell am kill-all
Bug: 424645186
Change-Id: Ie6deb65d5f81b194695b01169aa0bd14ed6122ff
parent 7bc1879d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment