summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorSandeep Patil <sspatil@google.com>2019-04-17 11:38:15 -0700
committerSandeep Patil <sspatil@google.com>2019-04-26 13:57:17 -0700
commit151a06c25a72f2e62848e24a582c915acc54f878 (patch)
treec5eecd6ebe330cc485a4cc0778f9ab0e96303717 /trusty/coverage/coverage.cpp
parentff9ac9e2869b105de3a972d5cff1becc9443fcde (diff)
procrank: do not keep process maps around
procrank's usage in its output shows 20x increase from last year. This is because it is keeping the process maps around until termination. Fix that by getting rid of ProcMemInfo objects when done parsing /proc/<pid>/maps,pagemap. Note that the total allocations do not change and have not necessarily regressed from Pie. Bug: 130672819 Test: adb shell procrank | grep 'procrank\|cmdline' Change-Id: Ib7bf960ed1d053347fcfc0c8aee9019607a1eb01 Merged-In: Ib7bf960ed1d053347fcfc0c8aee9019607a1eb01 Signed-off-by: Sandeep Patil <sspatil@google.com>
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions