OSDN Git Service

android-x86/system-extras.git
8 years agoam edfe168f: Merge "Switch to fchown() for changing the UID of sockets."
Erik Kline [Wed, 24 Jun 2015 07:48:53 +0000 (07:48 +0000)]
am edfe168f: Merge "Switch to fchown() for changing the UID of sockets."

* commit 'edfe168f7d0a0c900a3c355fdcf8b3d533671063':
  Switch to fchown() for changing the UID of sockets.

8 years agoMerge "Switch to fchown() for changing the UID of sockets."
Erik Kline [Wed, 24 Jun 2015 07:26:20 +0000 (07:26 +0000)]
Merge "Switch to fchown() for changing the UID of sockets."

8 years agoSwitch to fchown() for changing the UID of sockets.
Erik Kline [Wed, 24 Jun 2015 06:06:07 +0000 (15:06 +0900)]
Switch to fchown() for changing the UID of sockets.

All tests PASS on:
    - android/android-3.4
    - android/android-3.10

Also, multinetwork_test.py PASSes
    - android/android-3.18

Bug: 20733156
Bug: 21832279
Change-Id: I1738ca014e58af35f841e31faad649d485b370c6

8 years agoam 92cd1d20: Merge "Simpleperf: support child inherit option."
Yabin Cui [Mon, 22 Jun 2015 23:26:31 +0000 (23:26 +0000)]
am 92cd1d20: Merge "Simpleperf: support child inherit option."

* commit '92cd1d206f22be0eab99638c682c79cfdd78b537':
  Simpleperf: support child inherit option.

8 years agoMerge "Simpleperf: support child inherit option."
Yabin Cui [Mon, 22 Jun 2015 23:02:20 +0000 (23:02 +0000)]
Merge "Simpleperf: support child inherit option."

8 years agoam 93279dbc: Merge "Simpleperf: better support for per thread comm."
Yabin Cui [Mon, 22 Jun 2015 22:01:05 +0000 (22:01 +0000)]
am 93279dbc: Merge "Simpleperf: better support for per thread comm."

* commit '93279dbc3131847282a5368bd4ccebba9ba2f36b':
  Simpleperf: better support for per thread comm.

8 years agoMerge "Simpleperf: better support for per thread comm."
Yabin Cui [Mon, 22 Jun 2015 21:42:52 +0000 (21:42 +0000)]
Merge "Simpleperf: better support for per thread comm."

8 years agoSimpleperf: support child inherit option.
Yabin Cui [Mon, 22 Jun 2015 21:23:01 +0000 (14:23 -0700)]
Simpleperf: support child inherit option.

In order to support child inherit option, also change the way to open event
files for threads on all cpus in record command.

Bug: 19483574
Change-Id: I0765e9ec90841c1f762490de3dd24ad37b0cc619

8 years agoSimpleperf: better support for per thread comm.
Yabin Cui [Mon, 22 Jun 2015 19:27:58 +0000 (12:27 -0700)]
Simpleperf: better support for per thread comm.

1. Move ProcessEntry to ThreadEntry, and add thread_comm in SampleEntry.
2. Add support of ForkRecord and Mmap2Record.
3. Dump ForkRecord for each thread in record command.
4. Add sort key 'tid' in report command, and change default keys.

Bug: 19483574
Change-Id: Iacc690637154aeb7b6f85373730beb50d638ce86

8 years agoam 74d6884c: Merge "Simpleperf: support event type modifier."
Yabin Cui [Fri, 19 Jun 2015 23:55:56 +0000 (23:55 +0000)]
am 74d6884c: Merge "Simpleperf: support event type modifier."

* commit '74d6884c4921e584ce7a775b00eeadac792054aa':
  Simpleperf: support event type modifier.

8 years agoMerge "Simpleperf: support event type modifier."
Yabin Cui [Fri, 19 Jun 2015 23:36:25 +0000 (23:36 +0000)]
Merge "Simpleperf: support event type modifier."

8 years agoSimpleperf: support event type modifier.
Yabin Cui [Mon, 15 Jun 2015 20:57:23 +0000 (13:57 -0700)]
Simpleperf: support event type modifier.

Also fix a bug in event_attr dumping.

Bug: 19483574
Change-Id: I255647d1471acab3a63c3dc787ab06b3d2bee294

8 years agoam b002d072: am 720fd497: am 01e42b24: Introduce squashfs-utils that includes helper...
Mohamad Ayyash [Fri, 19 Jun 2015 13:57:20 +0000 (13:57 +0000)]
am b002d072: am 720fd497: am 01e42b24: Introduce squashfs-utils that includes helper functions

* commit 'b002d0728e410493d42bfa74c0ac138366afd793':
  Introduce squashfs-utils that includes helper functions

8 years agoam 39c423dc: am 802cb097: resolved conflicts for merge of eca016eb to lmp-mr1-ub-dev
Mohamad Ayyash [Fri, 19 Jun 2015 13:57:20 +0000 (13:57 +0000)]
am 39c423dc: am 802cb097: resolved conflicts for merge of eca016eb to lmp-mr1-ub-dev

* commit '39c423dcea6aa7f9c06211d01e80b9ed7618b170':
  Introduce mksquashfsimage.sh

8 years agoam 60ed78f3: Merge "Simpleperf: support monitoring existing processes/threads."
Yabin Cui [Fri, 19 Jun 2015 01:19:54 +0000 (01:19 +0000)]
am 60ed78f3: Merge "Simpleperf: support monitoring existing processes/threads."

* commit '60ed78f3cb49e873d0a9aa40d5db33818d0259c2':
  Simpleperf: support monitoring existing processes/threads.

8 years agoMerge "Simpleperf: support monitoring existing processes/threads."
Yabin Cui [Fri, 19 Jun 2015 00:56:22 +0000 (00:56 +0000)]
Merge "Simpleperf: support monitoring existing processes/threads."

8 years agoSimpleperf: support monitoring existing processes/threads.
Yabin Cui [Thu, 18 Jun 2015 04:15:09 +0000 (21:15 -0700)]
Simpleperf: support monitoring existing processes/threads.

Also change the default record freq from 1000 to 4000. Because 1000 seems to be too low.

Bug: 19483574
Change-Id: I340fcb9d28a156862705e483ee340a1c824eea21

8 years agoam 720fd497: am 01e42b24: Introduce squashfs-utils that includes helper functions
Mohamad Ayyash [Thu, 18 Jun 2015 23:29:02 +0000 (23:29 +0000)]
am 720fd497: am 01e42b24: Introduce squashfs-utils that includes helper functions

* commit '720fd497f2fa1ea9c2621b5632ccf999dc8ed086':
  Introduce squashfs-utils that includes helper functions

8 years agoam 802cb097: resolved conflicts for merge of eca016eb to lmp-mr1-ub-dev
Mohamad Ayyash [Thu, 18 Jun 2015 23:29:01 +0000 (23:29 +0000)]
am 802cb097: resolved conflicts for merge of eca016eb to lmp-mr1-ub-dev

* commit '802cb097b4d8cfcb7681808026307d07eec93ba5':
  Introduce mksquashfsimage.sh

8 years agoam 01e42b24: Introduce squashfs-utils that includes helper functions
Mohamad Ayyash [Thu, 18 Jun 2015 23:24:34 +0000 (23:24 +0000)]
am 01e42b24: Introduce squashfs-utils that includes helper functions

* commit '01e42b24c9b56b3ca88a2cf563a8c695d5a74534':
  Introduce squashfs-utils that includes helper functions

8 years agoresolved conflicts for merge of eca016eb to lmp-mr1-ub-dev
Mohamad Ayyash [Thu, 18 Jun 2015 23:19:06 +0000 (16:19 -0700)]
resolved conflicts for merge of eca016eb to lmp-mr1-ub-dev

8 years agoam 6a7ae1de: Merge "Swap column in procrank not reported with swap enabled"
Rom Lemarchand [Thu, 18 Jun 2015 22:44:32 +0000 (22:44 +0000)]
am 6a7ae1de: Merge "Swap column in procrank not reported with swap enabled"

* commit '6a7ae1de941bace72151ebf288cdf61ea1cda1f5':
  Swap column in procrank not reported with swap enabled

8 years agoMerge "Swap column in procrank not reported with swap enabled"
Rom Lemarchand [Thu, 18 Jun 2015 22:22:03 +0000 (22:22 +0000)]
Merge "Swap column in procrank not reported with swap enabled"

8 years agoam 1ded5c77: Merge "Simpleperf: add branch stack feature in perf.data."
Yabin Cui [Thu, 18 Jun 2015 20:36:01 +0000 (20:36 +0000)]
am 1ded5c77: Merge "Simpleperf: add branch stack feature in perf.data."

* commit '1ded5c77b86bf64d121251e70d84fbe7cf19b06c':
  Simpleperf: add branch stack feature in perf.data.

8 years agoMerge "Simpleperf: add branch stack feature in perf.data."
Yabin Cui [Thu, 18 Jun 2015 20:17:54 +0000 (20:17 +0000)]
Merge "Simpleperf: add branch stack feature in perf.data."

8 years agoSimpleperf: add branch stack feature in perf.data.
Yabin Cui [Thu, 18 Jun 2015 05:21:12 +0000 (22:21 -0700)]
Simpleperf: add branch stack feature in perf.data.

Also add the function to remove old perf.data.

Bug: 19483574

Change-Id: I605bb637674d4674f95503a160de8c530fe87812

8 years agoSwap column in procrank not reported with swap enabled
Yu Liu [Thu, 18 Jun 2015 17:46:29 +0000 (10:46 -0700)]
Swap column in procrank not reported with swap enabled

8 years agoam b9408add: Merge "Simpleperf: add signal handler for SIGCHLD, SIGINT, SIGTERM."
Yabin Cui [Thu, 18 Jun 2015 00:43:13 +0000 (00:43 +0000)]
am b9408add: Merge "Simpleperf: add signal handler for SIGCHLD, SIGINT, SIGTERM."

* commit 'b9408add5aea2ce30602392602948ba9c364fe6e':
  Simpleperf: add signal handler for SIGCHLD, SIGINT, SIGTERM.

8 years agoMerge "Simpleperf: add signal handler for SIGCHLD, SIGINT, SIGTERM."
Yabin Cui [Thu, 18 Jun 2015 00:16:50 +0000 (00:16 +0000)]
Merge "Simpleperf: add signal handler for SIGCHLD, SIGINT, SIGTERM."

8 years agoSimpleperf: add signal handler for SIGCHLD, SIGINT, SIGTERM.
Yabin Cui [Mon, 15 Jun 2015 23:17:20 +0000 (16:17 -0700)]
Simpleperf: add signal handler for SIGCHLD, SIGINT, SIGTERM.

And rely on signal to decide when to stop in record/stat command.

Bug: 19483574
Change-Id: I564cb61e74ea81cffe4de5b050482b3250ed9a06

8 years agoIntroduce squashfs-utils that includes helper functions
Mohamad Ayyash [Thu, 2 Apr 2015 02:25:28 +0000 (19:25 -0700)]
Introduce squashfs-utils that includes helper functions

For example: extracting filesystem size from superblock

Change-Id: I97c79d80ebb767a977c8ca27f7e0877b5ead8fdc
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
8 years agoIntroduce mksquashfsimage.sh
Mohamad Ayyash [Tue, 3 Mar 2015 20:33:48 +0000 (12:33 -0800)]
Introduce mksquashfsimage.sh

Change-Id: I2b916ef3ef60b40f506e1f1be59482f7b071cdb2
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
8 years agoam e040d594: Merge "Simpleperf: support callchain sampling in record command."
Yabin Cui [Tue, 16 Jun 2015 02:20:59 +0000 (02:20 +0000)]
am e040d594: Merge "Simpleperf: support callchain sampling in record command."

* commit 'e040d59401fbf8521d512aa5b7bc4e586a4cf1a8':
  Simpleperf: support callchain sampling in record command.

8 years agoMerge "Simpleperf: support callchain sampling in record command."
Yabin Cui [Tue, 16 Jun 2015 01:55:15 +0000 (01:55 +0000)]
Merge "Simpleperf: support callchain sampling in record command."

9 years agoSimpleperf: support callchain sampling in record command.
Yabin Cui [Mon, 15 Jun 2015 21:36:43 +0000 (14:36 -0700)]
Simpleperf: support callchain sampling in record command.

Bug: 19483574
Change-Id: Icd8ed7c316144fc51d54f196872061533bdeef2b

9 years agoam 2fa9e939: Retry polling to prevent failures
Paul Lawrence [Fri, 12 Jun 2015 20:42:08 +0000 (20:42 +0000)]
am 2fa9e939: Retry polling to prevent failures

* commit '2fa9e939581d944f0204291c53356d6b8c3a938f':
  Retry polling to prevent failures

9 years agoRetry polling to prevent failures
Paul Lawrence [Fri, 12 Jun 2015 20:06:21 +0000 (13:06 -0700)]
Retry polling to prevent failures

Change-Id: I182ee7f70c5a96bbcdb0fc9e35df67c45a937757

9 years agoam decc11c6: Merge "Simpleperf: add option to print sample count in report command."
Yabin Cui [Fri, 12 Jun 2015 00:47:00 +0000 (00:47 +0000)]
am decc11c6: Merge "Simpleperf: add option to print sample count in report command."

* commit 'decc11c6b5f88c72d2ca72be5efe6064f2176d1c':
  Simpleperf: add option to print sample count in report command.

9 years agoMerge "Simpleperf: add option to print sample count in report command."
Yabin Cui [Fri, 12 Jun 2015 00:22:33 +0000 (00:22 +0000)]
Merge "Simpleperf: add option to print sample count in report command."

9 years agoam ec9395d2: Merge "Simpleperf: improve records parsing."
Yabin Cui [Thu, 11 Jun 2015 22:48:32 +0000 (22:48 +0000)]
am ec9395d2: Merge "Simpleperf: improve records parsing."

* commit 'ec9395d2bebb43df9f99a3a785fb7aaf63fa2309':
  Simpleperf: improve records parsing.

9 years agoam e235e73b: Merge "Simpleperf: parse prefixed symbol of linker."
Yabin Cui [Thu, 11 Jun 2015 22:48:31 +0000 (22:48 +0000)]
am e235e73b: Merge "Simpleperf: parse prefixed symbol of linker."

* commit 'e235e73b68c15a9931b82632bd237f464cc1993a':
  Simpleperf: parse prefixed symbol of linker.

9 years agoMerge "Simpleperf: improve records parsing."
Yabin Cui [Thu, 11 Jun 2015 22:24:14 +0000 (22:24 +0000)]
Merge "Simpleperf: improve records parsing."

9 years agoMerge "Simpleperf: parse prefixed symbol of linker."
Yabin Cui [Thu, 11 Jun 2015 22:23:49 +0000 (22:23 +0000)]
Merge "Simpleperf: parse prefixed symbol of linker."

9 years agoSimpleperf: improve records parsing.
Yabin Cui [Thu, 11 Jun 2015 19:03:11 +0000 (12:03 -0700)]
Simpleperf: improve records parsing.

Sort records by time before handling.
Separate kernel space and user space sample records handling.

Bug: 19483574

Change-Id: I7722bb15678af18cbe883a2cf3fdac948bdd0c9f

9 years agoSimpleperf: parse prefixed symbol of linker.
Yabin Cui [Thu, 11 Jun 2015 21:57:21 +0000 (14:57 -0700)]
Simpleperf: parse prefixed symbol of linker.

Bug: 19483574
Change-Id: I2597d4a91fd9a6cfc5c15c8b637dc4ba5213ee56

9 years agoam 45f0817f: Merge "Simpleperf: always use the latest comm."
Yabin Cui [Thu, 11 Jun 2015 21:28:01 +0000 (21:28 +0000)]
am 45f0817f: Merge "Simpleperf: always use the latest comm."

* commit '45f0817f2c69214da96dc47f0694e9f62ba153ad':
  Simpleperf: always use the latest comm.

9 years agoam 5585b0f7: Merge "Simpleperf: improve symbol parsing."
Yabin Cui [Thu, 11 Jun 2015 21:28:00 +0000 (21:28 +0000)]
am 5585b0f7: Merge "Simpleperf: improve symbol parsing."

* commit '5585b0f7328209d961d961c6a8616f5a395fb8c2':
  Simpleperf: improve symbol parsing.

9 years agoSimpleperf: add option to print sample count in report command.
Yabin Cui [Thu, 11 Jun 2015 21:02:10 +0000 (14:02 -0700)]
Simpleperf: add option to print sample count in report command.

Also make output items left-aligned.

Bug: 19483574
Change-Id: I1b40a68d219a3fdd0ff3bf25a67c1a355201810a

9 years agoMerge "Simpleperf: always use the latest comm."
Yabin Cui [Thu, 11 Jun 2015 21:05:31 +0000 (21:05 +0000)]
Merge "Simpleperf: always use the latest comm."

9 years agoMerge "Simpleperf: improve symbol parsing."
Yabin Cui [Thu, 11 Jun 2015 21:05:15 +0000 (21:05 +0000)]
Merge "Simpleperf: improve symbol parsing."

9 years agoSimpleperf: always use the latest comm.
Yabin Cui [Thu, 11 Jun 2015 20:49:59 +0000 (13:49 -0700)]
Simpleperf: always use the latest comm.

Bug: 19483574
Change-Id: Ie314bdce7a61aeda679ea9d1bbe5e05436a22edc

9 years agoSimpleperf: improve symbol parsing.
Yabin Cui [Thu, 11 Jun 2015 18:15:42 +0000 (11:15 -0700)]
Simpleperf: improve symbol parsing.

Support c++ symbol demangling, and add option to disable it.
Add option to set symfs dir, so it can report on host.
Add label symbols, add add symbol length fixing for it.
Add two hacks about arm elf symbol parsing.

Bug: 19483574

Change-Id: I300d6c007c8634db382d0a50627b9cde1502df89

9 years agoam 22976122: Record device screen state and system load (from /proc/loadavg).
Than McIntosh [Thu, 11 Jun 2015 18:28:38 +0000 (18:28 +0000)]
am 22976122: Record device screen state and system load (from /proc/loadavg).

* commit '2297612246852bd0993e949ceccafd4a36f3a053':
  Record device screen state and system load (from /proc/loadavg).

9 years agoRecord device screen state and system load (from /proc/loadavg).
Than McIntosh [Wed, 10 Jun 2015 15:47:01 +0000 (11:47 -0400)]
Record device screen state and system load (from /proc/loadavg).

Bug: http://b/19483574

(cherry picked from commit ebb946827ffbbb7df4c41be262a627c02bd95888)

Change-Id: I2a00e1fb075131e7d7d1a45c196ab0ac414e39c0

9 years agoam ad475697: Merge "Record device screen state and system load (from /proc/loadavg)."
Than McIntosh [Thu, 11 Jun 2015 17:14:17 +0000 (17:14 +0000)]
am ad475697: Merge "Record device screen state and system load (from /proc/loadavg)."

* commit 'ad47569766763512d45e51fb33483419aaee6f13':
  Record device screen state and system load (from /proc/loadavg).

9 years agoMerge "Record device screen state and system load (from /proc/loadavg)."
Than McIntosh [Thu, 11 Jun 2015 16:51:10 +0000 (16:51 +0000)]
Merge "Record device screen state and system load (from /proc/loadavg)."

9 years agoam 1dbbc532: Merge "Simpleperf: fix a few bugs."
Yabin Cui [Thu, 11 Jun 2015 02:31:44 +0000 (02:31 +0000)]
am 1dbbc532: Merge "Simpleperf: fix a few bugs."

* commit '1dbbc5321bea27417221dc31edf0114bf26a3302':
  Simpleperf: fix a few bugs.

9 years agoam 8782e1a0: Merge "Simpleperf: support symbol parsing in report command."
Yabin Cui [Thu, 11 Jun 2015 02:31:43 +0000 (02:31 +0000)]
am 8782e1a0: Merge "Simpleperf: support symbol parsing in report command."

* commit '8782e1a072dec91771279ae580fbbf541d3dd635':
  Simpleperf: support symbol parsing in report command.

9 years agoMerge "Simpleperf: fix a few bugs."
Yabin Cui [Thu, 11 Jun 2015 00:02:54 +0000 (00:02 +0000)]
Merge "Simpleperf: fix a few bugs."

9 years agoMerge "Simpleperf: support symbol parsing in report command."
Yabin Cui [Wed, 10 Jun 2015 23:58:53 +0000 (23:58 +0000)]
Merge "Simpleperf: support symbol parsing in report command."

9 years agoSimpleperf: fix a few bugs.
Yabin Cui [Tue, 9 Jun 2015 20:38:42 +0000 (13:38 -0700)]
Simpleperf: fix a few bugs.

Fix mistyped word.
Kill workload process when exiting.
Add checking of whether branch sampling is supported.

Bug: 19483574

Change-Id: Ibe48914cd92da1ee40bf67c0c47a6376a7291e8c

9 years agoam bb6fa058: Merge "Remove selinux/android.h from host tools" into mnc-dev
Jeff Vander Stoep [Wed, 10 Jun 2015 23:16:02 +0000 (23:16 +0000)]
am bb6fa058: Merge "Remove selinux/android.h from host tools" into mnc-dev

* commit 'bb6fa058895f5aafd025643b03b8ec6c778369f5':
  Remove selinux/android.h from host tools

9 years agoMerge "Remove selinux/android.h from host tools" into mnc-dev
Jeff Vander Stoep [Wed, 10 Jun 2015 21:05:13 +0000 (21:05 +0000)]
Merge "Remove selinux/android.h from host tools" into mnc-dev

9 years agoRemove selinux/android.h from host tools
Jeff Vander Stoep [Wed, 13 May 2015 21:29:15 +0000 (14:29 -0700)]
Remove selinux/android.h from host tools

For tools built for both host and device, only include if not host.

(cherry-picked from commit 6bc4a54fdbd926c032ed5c99f8b5c69f624c6312)

Change-Id: Ie102bd7575d2cf5eef3f95e6063c2970d143dac8

9 years agoRecord device screen state and system load (from /proc/loadavg).
Than McIntosh [Wed, 10 Jun 2015 15:47:01 +0000 (11:47 -0400)]
Record device screen state and system load (from /proc/loadavg).

Bug: http://b/19483574
Change-Id: Ic0306ca9d7707c7e20158014e2c0a18b929afbc4

9 years agoam d31c4c3a: Merge "Exclude verify_boot_signature from Mac build." into mnc-dev
Ying Wang [Tue, 9 Jun 2015 23:00:04 +0000 (23:00 +0000)]
am d31c4c3a: Merge "Exclude verify_boot_signature from Mac build." into mnc-dev

* commit 'd31c4c3a363b3b4b0018d81c2bdbcb15a06e5007':
  Exclude verify_boot_signature from Mac build.

9 years agoMerge "Exclude verify_boot_signature from Mac build." into mnc-dev
Ying Wang [Tue, 9 Jun 2015 22:33:59 +0000 (22:33 +0000)]
Merge "Exclude verify_boot_signature from Mac build." into mnc-dev

9 years agoExclude verify_boot_signature from Mac build.
Ying Wang [Tue, 9 Jun 2015 22:26:35 +0000 (15:26 -0700)]
Exclude verify_boot_signature from Mac build.

verify_boot_signature doesn't build on Mac currently.
Temporarily exclude it from Mac build.

Bug: 21669400
Change-Id: I7b978adafefb700d65f6fc10f69c949fce94c236

9 years agoSimpleperf: support symbol parsing in report command.
Yabin Cui [Mon, 8 Jun 2015 17:38:10 +0000 (10:38 -0700)]
Simpleperf: support symbol parsing in report command.

Also fix the storage of ProcessEntry.

Bug: 19483574
Change-Id: I2182a804f6ecbd28e7aa3c1a38a6f19b86f583c9

9 years agoam d0fefb84: fix chrome activity name in systemapps.sh
Todd Kjos [Tue, 9 Jun 2015 14:47:42 +0000 (14:47 +0000)]
am d0fefb84: fix chrome activity name in systemapps.sh

* commit 'd0fefb8421a9cb57ac27d0d4fcf3abe938fcf2d1':
  fix chrome activity name in systemapps.sh

9 years agofix chrome activity name in systemapps.sh
Todd Kjos [Tue, 9 Jun 2015 00:48:08 +0000 (17:48 -0700)]
fix chrome activity name in systemapps.sh

the activity name for chrome changed recently which broke
systemapps.sh for some devices/builds. This change removes
the dependance on the chrome activity name in  systemapps.sh

Change-Id: I7f194a5c60221650300b6ab0df526f5bdf4b7f79

9 years agoam f7383f39: Merge "Simpleperf: remove overlapped user map in SampleTree."
Yabin Cui [Mon, 8 Jun 2015 21:38:26 +0000 (21:38 +0000)]
am f7383f39: Merge "Simpleperf: remove overlapped user map in SampleTree."

* commit 'f7383f39e5a66731e6e34ca85c1ad599f39faf1d':
  Simpleperf: remove overlapped user map in SampleTree.

9 years agoMerge "Simpleperf: remove overlapped user map in SampleTree."
Yabin Cui [Mon, 8 Jun 2015 21:17:42 +0000 (21:17 +0000)]
Merge "Simpleperf: remove overlapped user map in SampleTree."

9 years agoam 7a0eebab: Merge "Simpleperf: adjust report width based on requirement."
Yabin Cui [Mon, 8 Jun 2015 20:08:12 +0000 (20:08 +0000)]
am 7a0eebab: Merge "Simpleperf: adjust report width based on requirement."

* commit '7a0eebab656d3c5b1f843adffbd491681bcd4bd6':
  Simpleperf: adjust report width based on requirement.

9 years agoMerge "Simpleperf: adjust report width based on requirement."
Yabin Cui [Mon, 8 Jun 2015 19:32:06 +0000 (19:32 +0000)]
Merge "Simpleperf: adjust report width based on requirement."

9 years agoSimpleperf: remove overlapped user map in SampleTree.
Yabin Cui [Mon, 8 Jun 2015 19:27:19 +0000 (12:27 -0700)]
Simpleperf: remove overlapped user map in SampleTree.

If a new map overlapps with some old maps, the overlapped old
maps are not valid any more and should be removed.

Bug: 19483574
Change-Id: Ie5df5073d0c8c3727ab05163ef27537618bb416e

9 years agoSimpleperf: adjust report width based on requirement.
Yabin Cui [Mon, 8 Jun 2015 18:09:11 +0000 (11:09 -0700)]
Simpleperf: adjust report width based on requirement.

Bug: 19483574
Change-Id: I01fadd50090aea67cda5009c5f4c2d8d780fc616

9 years agoam 4f9a042a: Merge "Add simpleperf report command."
Yabin Cui [Sat, 6 Jun 2015 03:18:33 +0000 (03:18 +0000)]
am 4f9a042a: Merge "Add simpleperf report command."

* commit '4f9a042a60dcdb7492c1372cc3c973e3eda8a0ab':
  Add simpleperf report command.

9 years agoMerge "Add simpleperf report command."
Yabin Cui [Sat, 6 Jun 2015 02:58:49 +0000 (02:58 +0000)]
Merge "Add simpleperf report command."

9 years agoam 643233de: Add -W option to systemapps.sh
Todd Kjos [Fri, 5 Jun 2015 23:55:46 +0000 (23:55 +0000)]
am 643233de: Add -W option to systemapps.sh

* commit '643233ded9075628010c16feb8d2401ade3ae62c':
  Add -W option to systemapps.sh

9 years agoAdd -W option to systemapps.sh
Todd Kjos [Fri, 5 Jun 2015 21:56:54 +0000 (14:56 -0700)]
Add -W option to systemapps.sh

Changes the wait time between apps. Example; "./systemapps.sh -W 1.2"

Change-Id: I3769aa93ebbcd129de2f3fa3df99720e1d83b2f9

9 years agoam 8b6cf279: Merge "Enhancements to workload scripts" into mnc-dev
Todd Kjos [Fri, 5 Jun 2015 21:56:41 +0000 (21:56 +0000)]
am 8b6cf279: Merge "Enhancements to workload scripts" into mnc-dev

* commit '8b6cf2796dc179b339b12e52d17b56d2519358fe':
  Enhancements to workload scripts

9 years agoMerge "Enhancements to workload scripts" into mnc-dev
Todd Kjos [Fri, 5 Jun 2015 21:32:36 +0000 (21:32 +0000)]
Merge "Enhancements to workload scripts" into mnc-dev

9 years agoEnhancements to workload scripts
Todd Kjos [Fri, 5 Jun 2015 20:28:46 +0000 (13:28 -0700)]
Enhancements to workload scripts

- display frame latencies (90th/95th/99th) for recents and systemapps
- allow device type to be specified to capture
- workaround for am hang when starting chrome on volantis
- bullhead support for recentfling

New output of "recentfling.sh":

Fling recents...
Frames: 772 latency: 19/22/34 Janks: 131(16%)

New output of "systemapps.sh -T":

App      Start(ms) Iter(ms) Jank      Latency
gmail       1090    2168      69(72%) 65/75/88
hangouts    1757    2758      60(82%) 69/111/114
chrome         0     997      59(64%) 68/77/84
youtube     3533    4834     140(48%) 70/93/150
play        1868    3147      92(62%) 89/106/182
home           0    1125     210(15%) 62/84/129
TOTAL       8248   35052

Change-Id: If4fc94ab0188dae2afabfbf696be06b6ddf55ce1

9 years agoAdd simpleperf report command.
Yabin Cui [Thu, 21 May 2015 19:17:23 +0000 (12:17 -0700)]
Add simpleperf report command.

Only support report of process/file level. Symbol parsing is not included.

Bug: 19483574
Change-Id: I6d1c67000bd0e303623183912ff06fdeeb51c5e9

9 years agoam ed6f7968: Merge "Simpleperf: refactor command system."
Yabin Cui [Fri, 5 Jun 2015 02:04:41 +0000 (02:04 +0000)]
am ed6f7968: Merge "Simpleperf: refactor command system."

* commit 'ed6f79688c581fcc5962de774838f052c4ad04cd':
  Simpleperf: refactor command system.

9 years agoMerge "Simpleperf: refactor command system."
Yabin Cui [Fri, 5 Jun 2015 01:41:28 +0000 (01:41 +0000)]
Merge "Simpleperf: refactor command system."

9 years agoSimpleperf: refactor command system.
Yabin Cui [Mon, 1 Jun 2015 18:21:37 +0000 (11:21 -0700)]
Simpleperf: refactor command system.

Register a callback function to create a new command instance instead of
registering a command instance. Then we can release resources in the
command destructors, and don't need xxxCommandImpl classes any more.

Bug: 19483574
Change-Id: Ibb54892ec0655fd43909347afd72bb08bc8a716c

9 years agoam b411bcc1: Move crypt commands to a different listener in vold
Paul Lawrence [Thu, 4 Jun 2015 21:53:46 +0000 (21:53 +0000)]
am b411bcc1: Move crypt commands to a different listener in vold

* commit 'b411bcc138293db5e09c1f5af638115b3c7c18f8':
  Move crypt commands to a different listener in vold

9 years agoam d4637d6e: Merge "Simpleperf: support branch stack sampling in `simpleperf record`."
Yabin Cui [Thu, 4 Jun 2015 02:46:58 +0000 (02:46 +0000)]
am d4637d6e: Merge "Simpleperf: support branch stack sampling in `simpleperf record`."

* commit 'd4637d6e7d17f48d9325fa133be82b06a408f523':
  Simpleperf: support branch stack sampling in `simpleperf record`.

9 years agoMerge "Simpleperf: support branch stack sampling in `simpleperf record`."
Yabin Cui [Thu, 4 Jun 2015 02:22:59 +0000 (02:22 +0000)]
Merge "Simpleperf: support branch stack sampling in `simpleperf record`."

9 years agoSimpleperf: support branch stack sampling in `simpleperf record`.
Yabin Cui [Wed, 3 Jun 2015 00:54:52 +0000 (17:54 -0700)]
Simpleperf: support branch stack sampling in `simpleperf record`.

This only adds support in simpleperf. Branch stack sampling still
lacks kernel support on arm devices.
Use perf_event.h of bionic in host build, because the perf_event.h
of platform glibc is too old.

Bug: 19483574
Change-Id: I9c7332c054e93e7433717dd293d3f366b1802e2d

9 years agoMove crypt commands to a different listener in vold
Paul Lawrence [Wed, 3 Jun 2015 21:18:17 +0000 (14:18 -0700)]
Move crypt commands to a different listener in vold

In order to prevent this bug from happening, we must allow vold cryptfs
commands to complete while a long running mount is underway.

While waiting for vold to be changed to a binder interface, we will simply
create two listeners, one for cryptfs and one for everything else.

Bug: 19197175
Change-Id: Id87764ed68c169fc6b94ea4f4f7a51a7ec9c7564

9 years agoam af02e8aa: DO NOT MERGE New faster file open kernel
Paul Lawrence [Mon, 1 Jun 2015 15:28:34 +0000 (15:28 +0000)]
am af02e8aa: DO NOT MERGE New faster file open kernel

* commit 'af02e8aa9164f723a0c2a421a97c227c5adff4c2':
  DO NOT MERGE New faster file open kernel

9 years agoam a47a1331: DO NOT MERGE Use default key permissions for ext4enc
Paul Lawrence [Mon, 1 Jun 2015 15:28:33 +0000 (15:28 +0000)]
am a47a1331: DO NOT MERGE Use default key permissions for ext4enc

* commit 'a47a1331f75433fe25e3f57ffdecea92f7e48425':
  DO NOT MERGE Use default key permissions for ext4enc

9 years agoam 2ecc6428: DO NOT MERGE Enable properties in ext4enc
Paul Lawrence [Mon, 1 Jun 2015 15:28:31 +0000 (15:28 +0000)]
am 2ecc6428: DO NOT MERGE Enable properties in ext4enc

* commit '2ecc64285a67bad1f942581f5bd9f361d689d37c':
  DO NOT MERGE Enable properties in ext4enc

9 years agoam 34bce194: Merge "Simpleperf: add test about cpu hot-plug."
Yabin Cui [Fri, 29 May 2015 23:51:24 +0000 (23:51 +0000)]
am 34bce194: Merge "Simpleperf: add test about cpu hot-plug."

* commit '34bce194a474083a3e156de8ffb0daf4fd27e005':
  Simpleperf: add test about cpu hot-plug.

9 years agoMerge "Simpleperf: add test about cpu hot-plug."
Yabin Cui [Fri, 29 May 2015 23:21:18 +0000 (23:21 +0000)]
Merge "Simpleperf: add test about cpu hot-plug."

9 years agoSimpleperf: add test about cpu hot-plug.
Yabin Cui [Fri, 29 May 2015 02:57:01 +0000 (19:57 -0700)]
Simpleperf: add test about cpu hot-plug.

On device like N7(flo), because of a kernel bug, if a cpu is hotplugged
while there are hardware events monitored not on that cpu, the kernel
arrives in an error state that no further hardware events can be monitored.
This test is used to detect the kernel bug.

Bug: 19863147
Change-Id: Ieed4fef174373b5fe62afacf8197e839685893df

9 years agoDO NOT MERGE New faster file open kernel
Paul Lawrence [Fri, 1 May 2015 12:24:04 +0000 (05:24 -0700)]
DO NOT MERGE New faster file open kernel

(chery-picked from commit b01dc1c52ec0a4ec5e07a18ffb5b105a997cc329)

Bug: 18151196

Change-Id: Icdb3d9afa1db125102d01cd06f45dbc99ca78021