commit | 9cb37ec8987d2c0307631f35468044e29a3c19d1 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Thu Aug 18 16:09:33 2022 +0100 |
committer | David Brazdil <dbrazdil@google.com> | Fri Aug 19 11:20:48 2022 +0100 |
tree | 6e828d7c0861a8e533cc5affaef670acad55b0d2 | |
parent | 950578dcab5f68c31bbdcc899b4209b21cb823b4 [diff] |
Report breakdown of Microdroid userspace memory usage Dump the list of running processes in Microdroid using 'ps -A' and their memory usage statistics from '/proc/<pid>/smaps_rollup', and report them as metrics. Do the same for '/proc/meminfo'. This requires root, so it is done from the host-side Microdroid tests. Not ideal approach as the reported stats include adbd and its children, but it is a useful set of data nonetheless. Test: atest MicrodroidHostTestCases Change-Id: I24368f7e647a083488ff0d9f485e618876d27f3a
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.