OSDN Git Service

Second round of changes to 'perf' profile collection daemon.
authorThan McIntosh <thanm@google.com>
Fri, 17 Apr 2015 19:10:43 +0000 (15:10 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 22 Apr 2015 20:21:24 +0000 (16:21 -0400)
commit07f00fd438a0c10bc6b2487352d09eb0a648db40
tree3d85c33a07ead1e8c90a1628897b2d775068aee8
parent7f223030ffe1a24600b09f52f17209f42dc0dcc0
Second round of changes to 'perf' profile collection daemon.

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
perfprofd/Android.mk
perfprofd/cpuconfig.cc [new file with mode: 0644]
perfprofd/cpuconfig.h [new file with mode: 0644]
perfprofd/perfprofdcore.cc
perfprofd/tests/perfprofd_test.cc
perfprofd/tests/perfprofdmockutils.cc