summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorRafal Slawik <rslawik@google.com>2019-06-19 17:59:50 +0100
committerRafal Slawik <rslawik@google.com>2019-06-24 12:26:02 +0100
commit5fe706c7db35e3709375acf16212b74b4e11fe22 (patch)
tree2f28f32ccecf76f49340526e0881600a5d737eec /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent1077ae03f3e00672df980572fc2c42af502cbf45 (diff)
Read process allocation sizes on system ion heap
We are planning to use this to attribute low-memory kills to processes. Assume that each represents an allocation. Compute values for all fields in the ProcessSystemIonHeapSize atom. This code is intented to run only on userdebug or eng builds and it has to be enabled via a statsd metric from the server only for devices with required SELinux policies. It extends SystemIonHeapSize atom to provide per-process ion allocations attribution. Bug: 130526489 Test: atest MemoryStatUtilTest Test: statsd_testdrive returns non-zero values Change-Id: I1c1f31e2739dc493e8f4b3f47d73f5bbaadc8bdf
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions