diff options
| author | zhouwenjie <zhouwenjie@google.com> | 2019-04-18 15:08:27 -0700 |
|---|---|---|
| committer | zhouwenjie <zhouwenjie@google.com> | 2019-04-19 14:21:13 -0700 |
| commit | 7ead3ee46fa208df469e53055e7fd8d6b442b949 (patch) | |
| tree | e8a59899395f1a032fed1e9ae8cc2a279876d8e9 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | c4e446a7a2f1afa54c1fbc2d28378e125a83e653 (diff) | |
Fix UID tracking in ProcessCpuTracker.
Many processes are incorrectly listed under UID 0 (e.g. surfaceflinger)
because some "/proc/$PID/stat" files are with user "root".
The user of the folder "/proc/$PID/" is the correct one to use.
Bug: 119218763
Test: adb shell dumpsys batterystats -c | grep surfaceflinger
Change-Id: Ibfbe9b04c884bc9bde383629bcbba73f48ed34ee
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
