summaryrefslogtreecommitdiff
path: root/perfprofd
AgeCommit message (Collapse)Author
2015-12-04Track rename from base/ to android-base/.Elliott Hughes
Change-Id: Ic15d4778c7accd1382de0b440a437aba2cf67016
2015-10-26Merge "Reduce oom_score_adj to zero for perfprofd."Than McIntosh
am: 5157212f42 * commit '5157212f42fcf90a2ce136b795c092bbffd41d54': Reduce oom_score_adj to zero for perfprofd.
2015-10-23Reduce oom_score_adj to zero for perfprofd.Than McIntosh
Up until this point perfprofd has inherited a decreased OOM score of -1000 from init -- this doens't make sense given that perfprofd is not a critical system service. This fixes perfprofd to reduce its oom_score_adj to 0. Bug: 25216630 Change-Id: Ica8a300d8c33016bcbd3b0ecd25393828654878e
2015-10-05am 6ddfa666: am 92e11ea1: Merge "Add NOTICE files"Sami Tolvanen
* commit '6ddfa666333f43f2f2961ceb3774440143f1ee98': Add NOTICE files
2015-10-02Add NOTICE filesSami Tolvanen
Bug: 24571219 Change-Id: Ib7a4374974c2d0d9225caa1e43d0b78251a36bd2
2015-09-21add system-background cpusetTom Cherry
add a new cpuset for system services that should not run on larger cores bug 24144797 Change-Id: Id6932445bd340481830c2e912f1dff067d5ef4a9
2015-09-08Support for additional profile annotations.Than McIntosh
Includes "device booting", "on charger", and cpu utilization. Prototype version of "camera active" (not yet enabled). Also in this patch, separate out the code to read perfprofd's config file and place into a separate source file. Change-Id: I04d65c406fd41f26a509983f08658991e8f1d422
2015-08-19bundle init.rc contents with its serviceTom Cherry
Bug: 23186545 Change-Id: I29e6f1e6e404838c7b57a736012a28d4d60f951a
2015-06-10Record device screen state and system load (from /proc/loadavg).Than McIntosh
Bug: http://b/19483574 Change-Id: Ic0306ca9d7707c7e20158014e2c0a18b929afbc4
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