summaryrefslogtreecommitdiff
path: root/perfprofd
AgeCommit message (Collapse)Author
2015-05-27Perfprofd: various changes related to config parameters.Than McIntosh
Details: - turn "max unprocessed profiles" into a configurable parameter. - use a longer default collection interval - reread config file on very iteration through the main loop, so as to incorporate new parameters written by the upload service Bug: http://b/19483574 Change-Id: I1ecacbdeccf26f09ddd8387aef0f2587483eb967
2015-05-13Add sequence number to encoded perf.data file.Dehao Chen
Bug: 19483574 Change-Id: I49e313f295ebc4ea3f994634676aa6d5f6798a82
2015-05-06Separate the destination directory to /data/misc/perfprofd.Dehao Chen
Remove reading of aux-config. Bug: 19483574 Change-Id: Ie99d522d37e8688febc7f324502ca68150dd235c
2015-05-04Change the encoded file's mode to be readable by GMS core.Dehao Chen
Bug: 19483574 Change-Id: Iee89138520a657df9a02bc98217c311d8c5a9262
2015-04-30Merge "Update simpleperf path to /system/xbin/simpleperf."Elliott Hughes
2015-04-30Update simpleperf path to /system/xbin/simpleperf.Dehao Chen
Change-Id: Ib326b1669553146e028c8354bb5077176d150616
2015-04-30Merge "Switch perfprofd from using full to lite version of protobuf library."Elliott Hughes
2015-04-29Default the config file to NULL for perfprofd, so that we will not see error ↵Dehao Chen
in logcat when config file is not specified. Change-Id: Ib6a442726b687f8aaec27dee30962cf3cc820918
2015-04-29Switch perfprofd from using full to lite version of protobuf library.Than McIntosh
Change-Id: Ie4cf7cd2e6e4f90bcdba39200c856c219b710065
2015-04-27Build perfprofd and its libraries in userdebug mode only, and store it in ↵Dehao Chen
/system/xbin/ Change-Id: I77c4176b75018aedc8a8d6e4633109367cc0b304
2015-04-22Second round of changes to 'perf' profile collection daemon.Than McIntosh
Details: - avoid use of system() in favor of fork/exec. - add option to selectively disable/enable mpdecision service around perf collection runs to improve profile quality and avoid kernel pmuevents issues. - default to using 'simpleperf' instead of 'perf' Change-Id: I27928d8bb647fd852ec944158ebfd8efa38c01b4
2015-04-06Perf profile collection daemon.Than McIntosh
Collects system-wide profiles via periodic invocation of /system/bin/perf, placing the resulting data files in a destination directory selected via config file. Behavior of the daemon, e.g how often to profile, duration of profiling runs, etc, can also be controlled with config file settings. Change-Id: I7978cab62aa0c2507ecf8d70ba073e77db730120