commit | 2fce001bb861c441903d06233055a4e5b4bf3641 | [log] [tgz] |
---|---|---|
author | Lakshman Annadorai <lakshmana@google.com> | Tue Feb 18 14:05:22 2020 -0800 |
committer | Lakshman Annadorai <lakshmana@google.com> | Tue Feb 25 02:01:53 2020 +0000 |
tree | 0a8254595ea13d97686580821acbecf9d02c5038 | |
parent | 47ac39736c643451caab5644726a557756c4d481 [diff] |
Add a collector for per-process/per-thread stats. - ProcPidStat collector will be integrated with IoPerfCollection in the following CL. - Added unit tests to test the scanning and parsing logics. - Added unit tests to scan and parse the /proc directory from the device but this test is commented as CarWatchDog doesn't have required SELinux permission to read the /proc/PID directories. Already approved in ag/10353452. Bug: 148486340, 130382110 Test: Tested with unit tests. Change-Id: I31aa63a109aed0361538bdb9c2a8ff5cd823dd5c
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.