OSDN Git Service

Add swapPSS support to showmap
authorMathieu Chartier <mathieuc@google.com>
Fri, 21 Jul 2017 19:08:14 +0000 (12:08 -0700)
committerMathieu Chartier <mathieuc@google.com>
Fri, 21 Jul 2017 20:29:27 +0000 (13:29 -0700)
commit737412d6d59bdf5caee3504426019b95b2cf1a83
treef9db9197c7b7abeab5f4bf4459a434e8f5013fca
parentc35e698dfc396b2e016b1ed874c5a76cb5fd1676
Add swapPSS support to showmap

The swap column in showmap is sometimes misleading since it is total
swap and not proportional. Shared dirty RAM is often shared swap with
the zygote and other processes.

Added a swapPSS column to the showmap output that shows the swapPss
which is proportional swap usage (from smaps).

Test: looked at showmap for a device that is swapping
Bug: 36457259

Change-Id: If43d39354d53f6cfc2c7681ce294e2729c638876
showmap/showmap.cpp