OSDN Git Service

android-x86/system-extras.git
8 years agoam ddd28f58: am 8ed1c510: Merge "Add test to exercise the tcp_nuke_addr functionality"
Lorenzo Colitti [Thu, 24 Sep 2015 04:53:52 +0000 (04:53 +0000)]
am ddd28f58: am 8ed1c510: Merge "Add test to exercise the tcp_nuke_addr functionality"

* commit 'ddd28f5859566fa96f0195ae8244a3bf5d45676a':
  Add test to exercise the tcp_nuke_addr functionality

8 years agoam 8ed1c510: Merge "Add test to exercise the tcp_nuke_addr functionality"
Lorenzo Colitti [Thu, 24 Sep 2015 04:47:16 +0000 (04:47 +0000)]
am 8ed1c510: Merge "Add test to exercise the tcp_nuke_addr functionality"

* commit '8ed1c5101b2081784dcece041cf47f765896ef58':
  Add test to exercise the tcp_nuke_addr functionality

8 years agoMerge "Add test to exercise the tcp_nuke_addr functionality"
Lorenzo Colitti [Thu, 24 Sep 2015 04:39:16 +0000 (04:39 +0000)]
Merge "Add test to exercise the tcp_nuke_addr functionality"

8 years agoam b8b3dfa0: am 95aef404: Merge "Add a crash test for tcp_nuke_addr."
Lorenzo Colitti [Thu, 24 Sep 2015 04:11:09 +0000 (04:11 +0000)]
am b8b3dfa0: am 95aef404: Merge "Add a crash test for tcp_nuke_addr."

* commit 'b8b3dfa07b6295e477e9187c9b345cf29c31f84b':
  Add a crash test for tcp_nuke_addr.

8 years agoam 95aef404: Merge "Add a crash test for tcp_nuke_addr."
Lorenzo Colitti [Thu, 24 Sep 2015 04:02:49 +0000 (04:02 +0000)]
am 95aef404: Merge "Add a crash test for tcp_nuke_addr."

* commit '95aef404646b03e3b36a7afc8932ffdc8b8b5ba1':
  Add a crash test for tcp_nuke_addr.

8 years agoMerge "Add a crash test for tcp_nuke_addr."
Lorenzo Colitti [Thu, 24 Sep 2015 03:58:37 +0000 (03:58 +0000)]
Merge "Add a crash test for tcp_nuke_addr."

8 years agoam c96ca0e0: am 260e7e2c: Merge "Remove the hack for including libpagemap\'s headers."
Elliott Hughes [Wed, 23 Sep 2015 19:04:16 +0000 (19:04 +0000)]
am c96ca0e0: am 260e7e2c: Merge "Remove the hack for including libpagemap\'s headers."

* commit 'c96ca0e003ee869eceadb26d18f7c96faf3a005c':
  Remove the hack for including libpagemap's headers.

8 years agoam 260e7e2c: Merge "Remove the hack for including libpagemap\'s headers."
Elliott Hughes [Wed, 23 Sep 2015 18:56:20 +0000 (18:56 +0000)]
am 260e7e2c: Merge "Remove the hack for including libpagemap\'s headers."

* commit '260e7e2c07b1738581c7f0620be6e674ec1a66d1':
  Remove the hack for including libpagemap's headers.

8 years agoMerge "Remove the hack for including libpagemap's headers."
Elliott Hughes [Wed, 23 Sep 2015 18:48:51 +0000 (18:48 +0000)]
Merge "Remove the hack for including libpagemap's headers."

8 years agoam 19901356: am 34cee2b8: Merge "Use %n to parse maps in libpagemap."
Elliott Hughes [Wed, 23 Sep 2015 05:42:47 +0000 (05:42 +0000)]
am 19901356: am 34cee2b8: Merge "Use %n to parse maps in libpagemap."

* commit '199013563172b3c1d1ef24a53285f1c6306edc84':
  Use %n to parse maps in libpagemap.

8 years agoam 34cee2b8: Merge "Use %n to parse maps in libpagemap."
Elliott Hughes [Wed, 23 Sep 2015 05:34:19 +0000 (05:34 +0000)]
am 34cee2b8: Merge "Use %n to parse maps in libpagemap."

* commit '34cee2b8a68c6df87b1abe4f2ef7957dc717044d':
  Use %n to parse maps in libpagemap.

8 years agoRemove the hack for including libpagemap's headers.
Elliott Hughes [Wed, 23 Sep 2015 05:33:10 +0000 (22:33 -0700)]
Remove the hack for including libpagemap's headers.

Change-Id: If75e007111f82178e372c88ab4dce62fd8ff7873

8 years agoMerge "Use %n to parse maps in libpagemap."
Elliott Hughes [Wed, 23 Sep 2015 05:27:36 +0000 (05:27 +0000)]
Merge "Use %n to parse maps in libpagemap."

8 years agoUse %n to parse maps in libpagemap.
Elliott Hughes [Wed, 23 Sep 2015 01:28:04 +0000 (18:28 -0700)]
Use %n to parse maps in libpagemap.

Bug: http://b/24212024
Change-Id: If00782c7af6fde30650045180512132ee5a8fd89

8 years agoam c53f69cc: am 2f9d35a8: Merge "Example /postinst script module for update_engine."
Alex Deymo [Tue, 22 Sep 2015 01:48:58 +0000 (01:48 +0000)]
am c53f69cc: am 2f9d35a8: Merge "Example /postinst script module for update_engine."

* commit 'c53f69cce2f68196ccd86aa03af20cb13f8ff9df':
  Example /postinst script module for update_engine.

8 years agoam 2f9d35a8: Merge "Example /postinst script module for update_engine."
Alex Deymo [Tue, 22 Sep 2015 01:41:04 +0000 (01:41 +0000)]
am 2f9d35a8: Merge "Example /postinst script module for update_engine."

* commit '2f9d35a840e554bbbbe7b51848e78d827e62b8d1':
  Example /postinst script module for update_engine.

8 years agoMerge "Example /postinst script module for update_engine."
Alex Deymo [Tue, 22 Sep 2015 01:32:55 +0000 (01:32 +0000)]
Merge "Example /postinst script module for update_engine."

8 years agoExample /postinst script module for update_engine.
Alex Deymo [Mon, 21 Sep 2015 23:49:23 +0000 (16:49 -0700)]
Example /postinst script module for update_engine.

The "post-install" program (normally /system/postinst) is a program
stored in the new system but executed from the old system right before
finishing the update. This post-install step provides a way to perform
device-specific tasks needed for old devices to accept the new update
*before* attempting to boot it.

Currently, we don't require any particular task to be performed in this
step, so this is just an example post-install program with some
documentation. Nevertheless, update_engine payload major version 1
requires a /postinst script in the system partition. While we plan to
use payload major version 2 in Brillo, this patch allows to push images
to the pre-release version of update_engine.

Bug: 24194445
Test: `m` includes /postinst in a Brillo target.

Change-Id: I6397537119873c68e0a626a37137ececcf8f03d5

8 years agoadd system-background cpuset
Tom Cherry [Mon, 21 Sep 2015 21:26:22 +0000 (14:26 -0700)]
add system-background cpuset

add a new cpuset for system services that should not run on
larger cores

bug 24144797

Change-Id: Id6932445bd340481830c2e912f1dff067d5ef4a9

8 years agoam 19c8d5f5: resolved conflicts for 6239958b to stage-aosp-master
Yabin Cui [Mon, 21 Sep 2015 19:45:35 +0000 (19:45 +0000)]
am 19c8d5f5: resolved conflicts for 6239958b to stage-aosp-master

* commit '19c8d5f55b1ff4f6953eb53019d148adab0459a5':
  Simpleperf: rewrite unsupported logging style.

8 years agoresolved conflicts for 6239958b to stage-aosp-master
Yabin Cui [Mon, 21 Sep 2015 19:28:46 +0000 (12:28 -0700)]
resolved conflicts for 6239958b to stage-aosp-master

Change-Id: I66d12e9a15b5e6aecd4938b9ce4ac76a0f3863e4

8 years agoMerge "Simpleperf: rewrite unsupported logging style."
Yabin Cui [Mon, 21 Sep 2015 19:06:56 +0000 (19:06 +0000)]
Merge "Simpleperf: rewrite unsupported logging style."

8 years agoSimpleperf: rewrite unsupported logging style.
Yabin Cui [Fri, 18 Sep 2015 18:10:55 +0000 (11:10 -0700)]
Simpleperf: rewrite unsupported logging style.

Previously we can use a ternary operator to choose the log level, like
(error ? LOG(ERROR) : LOG(DEBUG)) << xxx. But as the LOG() macro is about
to change, we can no longer write like this.

This CL also changes some improper log levels and log messages.

Change-Id: Ib9a55f2ca241516a6e89afad4a733cc07b19570f

8 years agoam a228293f: am 6b355fea: Merge "Build Breakage in branch: git_master @ 2265859"
Mark Salyzyn [Sat, 19 Sep 2015 19:59:56 +0000 (19:59 +0000)]
am a228293f: am 6b355fea: Merge "Build Breakage in branch: git_master @ 2265859"

* commit 'a228293f231c513a8690b033ad3c68c7213bc2d0':
  Build Breakage in branch: git_master @ 2265859

8 years agoam 6b355fea: Merge "Build Breakage in branch: git_master @ 2265859"
Mark Salyzyn [Sat, 19 Sep 2015 19:52:21 +0000 (19:52 +0000)]
am 6b355fea: Merge "Build Breakage in branch: git_master @ 2265859"

* commit '6b355feae3fe04847f9ea267649eca366b6cf85c':
  Build Breakage in branch: git_master @ 2265859

8 years agoAdd test to exercise the tcp_nuke_addr functionality
Filipe Brandenburger [Fri, 18 Sep 2015 22:37:03 +0000 (15:37 -0700)]
Add test to exercise the tcp_nuke_addr functionality

Change-Id: I5da6a2ae4638a8405c46a03911d1257ca58cc072

8 years agoMerge "Build Breakage in branch: git_master @ 2265859"
Mark Salyzyn [Fri, 18 Sep 2015 21:17:05 +0000 (21:17 +0000)]
Merge "Build Breakage in branch: git_master @ 2265859"

8 years agoBuild Breakage in branch: git_master @ 2265859
Mark Salyzyn [Fri, 18 Sep 2015 21:14:13 +0000 (14:14 -0700)]
Build Breakage in branch: git_master @ 2265859

Split mmap-perf into a 32 and 64-bit version.

Change-Id: I8630d8b62f163990d0f14f3ca48bf9b72df87d45

8 years agoam af5b75c4: am 50e8ee7d: Merge "Yet another disk performance benchmark."
Mark Salyzyn [Fri, 18 Sep 2015 20:32:18 +0000 (20:32 +0000)]
am af5b75c4: am 50e8ee7d: Merge "Yet another disk performance benchmark."

* commit 'af5b75c4f73715aed27aa94393175bfb00f21a56':
  Yet another disk performance benchmark.

8 years agoam 50e8ee7d: Merge "Yet another disk performance benchmark."
Mark Salyzyn [Fri, 18 Sep 2015 20:23:20 +0000 (20:23 +0000)]
am 50e8ee7d: Merge "Yet another disk performance benchmark."

* commit '50e8ee7d325260a03f5bf31050db6c04cdea589c':
  Yet another disk performance benchmark.

8 years agoMerge "Yet another disk performance benchmark."
Mark Salyzyn [Fri, 18 Sep 2015 20:17:24 +0000 (20:17 +0000)]
Merge "Yet another disk performance benchmark."

8 years agoYet another disk performance benchmark.
Riley Andrews [Fri, 4 Sep 2015 00:25:14 +0000 (17:25 -0700)]
Yet another disk performance benchmark.

This does memory mapped i/o on huge files, and thus requires
a 64 bit device.

Change-Id: Id91dd59b8c32751b6cb14f166affbd57912f8d28

8 years agoam c280f399: am 7434d1f8: Merge "Allow run_net_test.sh to use a pre-existing kernel...
Lorenzo Colitti [Fri, 18 Sep 2015 07:36:37 +0000 (07:36 +0000)]
am c280f399: am 7434d1f8: Merge "Allow run_net_test.sh to use a pre-existing kernel binary."

* commit 'c280f39998f6954d7538ce1e7ac9388d55698a9c':
  Allow run_net_test.sh to use a pre-existing kernel binary.

8 years agoAdd a crash test for tcp_nuke_addr.
Lorenzo Colitti [Mon, 14 Sep 2015 05:54:55 +0000 (14:54 +0900)]
Add a crash test for tcp_nuke_addr.

Bug: 23663111
Change-Id: I3b79362d6a53b7689168488527059ae506161d5f

8 years agoam 7434d1f8: Merge "Allow run_net_test.sh to use a pre-existing kernel binary."
Lorenzo Colitti [Fri, 18 Sep 2015 07:27:59 +0000 (07:27 +0000)]
am 7434d1f8: Merge "Allow run_net_test.sh to use a pre-existing kernel binary."

* commit '7434d1f8c965669c4a65d35e79086d757b0eb6db':
  Allow run_net_test.sh to use a pre-existing kernel binary.

8 years agoMerge "Allow run_net_test.sh to use a pre-existing kernel binary."
Lorenzo Colitti [Fri, 18 Sep 2015 07:23:13 +0000 (07:23 +0000)]
Merge "Allow run_net_test.sh to use a pre-existing kernel binary."

8 years agoam 23d98064: am c0bc556f: Merge "Annotate more tests with the relevant commits."
Lorenzo Colitti [Fri, 18 Sep 2015 06:27:11 +0000 (06:27 +0000)]
am 23d98064: am c0bc556f: Merge "Annotate more tests with the relevant commits."

* commit '23d98064cd8410fbdd558056c79199f62958d094':
  Annotate more tests with the relevant commits.

8 years agoam c0bc556f: Merge "Annotate more tests with the relevant commits."
Lorenzo Colitti [Fri, 18 Sep 2015 06:19:18 +0000 (06:19 +0000)]
am c0bc556f: Merge "Annotate more tests with the relevant commits."

* commit 'c0bc556fe94bec9d824cb6f9f37a8d4d723070a8':
  Annotate more tests with the relevant commits.

8 years agoAllow run_net_test.sh to use a pre-existing kernel binary.
Lorenzo Colitti [Fri, 18 Sep 2015 02:48:49 +0000 (11:48 +0900)]
Allow run_net_test.sh to use a pre-existing kernel binary.

This is useful to check whether a prebuilt built by the build
server, or one built using build server scripts in a local tree,
passes the tests.

Bug: 23016816
Change-Id: I7001f57c6a7ae335b41eba37caad5aeb2368a223

8 years agoMerge "Annotate more tests with the relevant commits."
Lorenzo Colitti [Fri, 18 Sep 2015 06:13:18 +0000 (06:13 +0000)]
Merge "Annotate more tests with the relevant commits."

8 years agoAnnotate more tests with the relevant commits.
Lorenzo Colitti [Fri, 18 Sep 2015 02:00:19 +0000 (11:00 +0900)]
Annotate more tests with the relevant commits.

Change-Id: Id8a2b2b350d9a58fe42f53cb474c30d891696101

8 years agoam ed50b953: am 6e0b388e: Merge "Fix output when -m is not passed"
Colin Cross [Thu, 17 Sep 2015 18:31:49 +0000 (18:31 +0000)]
am ed50b953: am 6e0b388e: Merge "Fix output when -m is not passed"

* commit 'ed50b9536b805504c393466b35bbe05611ccbc26':
  Fix output when -m is not passed

8 years agoam e5f751f0: am 53133315: Merge "Support TASKSTATS_TYPE_NULL"
Colin Cross [Thu, 17 Sep 2015 18:31:48 +0000 (18:31 +0000)]
am e5f751f0: am 53133315: Merge "Support TASKSTATS_TYPE_NULL"

* commit 'e5f751f0ef0eb2204021eedd8c43931e0163eccc':
  Support TASKSTATS_TYPE_NULL

8 years agoam 6e0b388e: Merge "Fix output when -m is not passed"
Colin Cross [Thu, 17 Sep 2015 18:23:46 +0000 (18:23 +0000)]
am 6e0b388e: Merge "Fix output when -m is not passed"

* commit '6e0b388e6e1b9c3453468561f613c26a1e77102b':
  Fix output when -m is not passed

8 years agoam 53133315: Merge "Support TASKSTATS_TYPE_NULL"
Colin Cross [Thu, 17 Sep 2015 18:23:45 +0000 (18:23 +0000)]
am 53133315: Merge "Support TASKSTATS_TYPE_NULL"

* commit '53133315827837d913ed126914e3489ba06429fb':
  Support TASKSTATS_TYPE_NULL

8 years agoMerge "Fix output when -m is not passed"
Colin Cross [Thu, 17 Sep 2015 18:13:08 +0000 (18:13 +0000)]
Merge "Fix output when -m is not passed"

8 years agoFix output when -m is not passed
Colin Cross [Wed, 16 Sep 2015 23:31:31 +0000 (16:31 -0700)]
Fix output when -m is not passed

limit == -1 was being treated as limit == 0, and no tasks were being
printed.

Change-Id: Ie4ec278249bc750a3494e55d483dd983bf7bbdc3

8 years agoMerge "Support TASKSTATS_TYPE_NULL"
Colin Cross [Thu, 17 Sep 2015 18:12:42 +0000 (18:12 +0000)]
Merge "Support TASKSTATS_TYPE_NULL"

8 years agoam 07483791: am ff39d907: Merge "Check command line arguments first."
Gilad Arnold [Thu, 17 Sep 2015 15:24:24 +0000 (15:24 +0000)]
am 07483791: am ff39d907: Merge "Check command line arguments first."

* commit '074837915398fd7a9e2423587524954554ea39fd':
  Check command line arguments first.

8 years agoam ff39d907: Merge "Check command line arguments first."
Gilad Arnold [Thu, 17 Sep 2015 15:15:39 +0000 (15:15 +0000)]
am ff39d907: Merge "Check command line arguments first."

* commit 'ff39d907ea8765e0a3dd8dff1e79333446bb235c':
  Check command line arguments first.

8 years agoMerge "Check command line arguments first."
Gilad Arnold [Thu, 17 Sep 2015 15:09:28 +0000 (15:09 +0000)]
Merge "Check command line arguments first."

8 years agoCheck command line arguments first.
Gilad Arnold [Thu, 17 Sep 2015 12:17:14 +0000 (05:17 -0700)]
Check command line arguments first.

This allows users to see the usage text before attempting to do actual
work. Particularly useful when bootctrl module consistently fails to
load.

Bug: 24157039
Change-Id: Id0f3fa048f4c88ef87156b79f4fff249a77270b4

8 years agoam 7f6d7449: am 510ade28: Merge "boot_signer: allow verification using an external...
Sami Tolvanen [Thu, 17 Sep 2015 10:44:09 +0000 (10:44 +0000)]
am 7f6d7449: am 510ade28: Merge "boot_signer: allow verification using an external certificate"

* commit '7f6d74497435cb71a676e8fccf17edec864d16bc':
  boot_signer: allow verification using an external certificate

8 years agoam 510ade28: Merge "boot_signer: allow verification using an external certificate"
Sami Tolvanen [Thu, 17 Sep 2015 10:38:20 +0000 (10:38 +0000)]
am 510ade28: Merge "boot_signer: allow verification using an external certificate"

* commit '510ade28faa0a940965dc2d379c42fa45cdea395':
  boot_signer: allow verification using an external certificate

8 years agoMerge "boot_signer: allow verification using an external certificate"
Sami Tolvanen [Thu, 17 Sep 2015 10:31:11 +0000 (10:31 +0000)]
Merge "boot_signer: allow verification using an external certificate"

8 years agoSupport TASKSTATS_TYPE_NULL
Colin Cross [Wed, 16 Sep 2015 23:28:11 +0000 (16:28 -0700)]
Support TASKSTATS_TYPE_NULL

Some kernels need to pad the netlink packet with an attribute of
type TASKSTATS_TYPE_NULL.

Bug: 24142514
Change-Id: I2745537bacf936325c52a03237ac04459c605271

8 years agoam c43a3c59: am 35a68e69: Merge "Fix mac build."
Christopher Ferris [Tue, 15 Sep 2015 23:58:58 +0000 (23:58 +0000)]
am c43a3c59: am 35a68e69: Merge "Fix mac build."

* commit 'c43a3c59c45cef7711d073f022cae6400a0043a9':
  Fix mac build.

8 years agoam 35a68e69: Merge "Fix mac build."
Christopher Ferris [Tue, 15 Sep 2015 23:47:24 +0000 (23:47 +0000)]
am 35a68e69: Merge "Fix mac build."

* commit '35a68e69ce08e2d6c2c4696330b0cf918e167559':
  Fix mac build.

8 years agoMerge "Fix mac build."
Christopher Ferris [Tue, 15 Sep 2015 23:29:05 +0000 (23:29 +0000)]
Merge "Fix mac build."

8 years agoFix mac build.
Christopher Ferris [Tue, 15 Sep 2015 23:26:21 +0000 (16:26 -0700)]
Fix mac build.

This disables the host code and host tests on anything but a linux
system.

Change-Id: I1a6396707df216e1c22de537072b10221fcc7fce

8 years agoam e82b95bb: am 168437c1: Merge "Tool to replay memory allocation recordings."
Christopher Ferris [Tue, 15 Sep 2015 23:21:45 +0000 (23:21 +0000)]
am e82b95bb: am 168437c1: Merge "Tool to replay memory allocation recordings."

* commit 'e82b95bbc0351fcad0a03d54b4467c6844114a23':
  Tool to replay memory allocation recordings.

8 years agoam 168437c1: Merge "Tool to replay memory allocation recordings."
Christopher Ferris [Tue, 15 Sep 2015 23:15:55 +0000 (23:15 +0000)]
am 168437c1: Merge "Tool to replay memory allocation recordings."

* commit '168437c1ae6cd7fcbad344582efd6a5cfe660ff0':
  Tool to replay memory allocation recordings.

8 years agoMerge "Tool to replay memory allocation recordings."
Christopher Ferris [Tue, 15 Sep 2015 23:04:08 +0000 (23:04 +0000)]
Merge "Tool to replay memory allocation recordings."

8 years agoam 7cb13177: am 79e1e6bf: am dafe7076: 64bit emmc fix
Gopinath [Tue, 15 Sep 2015 21:43:56 +0000 (21:43 +0000)]
am 7cb13177: am 79e1e6bf: am dafe7076: 64bit emmc fix

* commit '7cb131772d450f03909f19045472ed555a97cd06':
  64bit emmc fix

8 years agoTool to replay memory allocation recordings.
Christopher Ferris [Fri, 11 Sep 2015 22:34:23 +0000 (15:34 -0700)]
Tool to replay memory allocation recordings.

Included with the tool are a set of app memory recordings that
can be used to judge the abilities of the native memory
allocator.

Verified the full flow by running valgrind on the host version on all
the current dumps and verifying that there are no leak, and no errors.

Change-Id: I756224991f04b61ba26c692a30a37aad0c9fb163

8 years agoam 79e1e6bf: am dafe7076: 64bit emmc fix
Gopinath [Tue, 15 Sep 2015 21:22:52 +0000 (21:22 +0000)]
am 79e1e6bf: am dafe7076: 64bit emmc fix

* commit '79e1e6bf42638eade36ea6ce95240b74af19487a':
  64bit emmc fix

8 years agoam dafe7076: 64bit emmc fix
Gopinath [Tue, 15 Sep 2015 20:05:35 +0000 (20:05 +0000)]
am dafe7076: 64bit emmc fix

* commit 'dafe707664786ff0dd5961424f4fe7f4c8ba24f7':
  64bit emmc fix

8 years ago64bit emmc fix
Gopinath [Tue, 15 Sep 2015 18:27:13 +0000 (11:27 -0700)]
64bit emmc fix

Generating both 32bit and 64bit varaints for emmc

Change-Id: Iefb38576fc6a2c516b13f10e24828b373410d942

8 years agoboot_signer: allow verification using an external certificate
Sami Tolvanen [Tue, 15 Sep 2015 09:41:16 +0000 (10:41 +0100)]
boot_signer: allow verification using an external certificate

Add a -certificate parameter, which allows one to specify an external
public key certificate to use for verifying boot image signatures:

  boot_signer -verify boot.img -certificate cert.x509.pem

This makes it possible to confirm that the boot image has been signed
with a specific key.

Change-Id: I41f1a05e1c8be3bfac2a86678d81beaae0e371bb

8 years agoam a2b08988: am 12f454e2: Merge changes I7dc2edd4,I419b2ec0
Colin Cross [Mon, 14 Sep 2015 18:10:13 +0000 (18:10 +0000)]
am a2b08988: am 12f454e2: Merge changes I7dc2edd4,I419b2ec0

* commit 'a2b089889231d3347e3db59cd89afa0fe99f1ee4':
  iotop: add total read/write stats
  iotop: fix bytes per second, and add accumulation

8 years agoam 12f454e2: Merge changes I7dc2edd4,I419b2ec0
Colin Cross [Mon, 14 Sep 2015 18:03:04 +0000 (18:03 +0000)]
am 12f454e2: Merge changes I7dc2edd4,I419b2ec0

* commit '12f454e24a518d81fe42043b7142582b81694363':
  iotop: add total read/write stats
  iotop: fix bytes per second, and add accumulation

8 years agoMerge changes I7dc2edd4,I419b2ec0
Colin Cross [Mon, 14 Sep 2015 17:55:58 +0000 (17:55 +0000)]
Merge changes I7dc2edd4,I419b2ec0

* changes:
  iotop: add total read/write stats
  iotop: fix bytes per second, and add accumulation

8 years agoam 10e4a8d5: am 59d3e1db: Merge "Support for additional profile annotations."
Than McIntosh [Wed, 9 Sep 2015 15:33:54 +0000 (15:33 +0000)]
am 10e4a8d5: am 59d3e1db: Merge "Support for additional profile annotations."

* commit '10e4a8d50bf7822c591731b55b63b201cbffc196':
  Support for additional profile annotations.

8 years agoam 59d3e1db: Merge "Support for additional profile annotations."
Than McIntosh [Wed, 9 Sep 2015 15:25:27 +0000 (15:25 +0000)]
am 59d3e1db: Merge "Support for additional profile annotations."

* commit '59d3e1db25839547fc7e713d3c86d3329833aabc':
  Support for additional profile annotations.

8 years agoMerge "Support for additional profile annotations."
Than McIntosh [Wed, 9 Sep 2015 15:20:17 +0000 (15:20 +0000)]
Merge "Support for additional profile annotations."

8 years agoiotop: add total read/write stats
Colin Cross [Wed, 9 Sep 2015 00:09:22 +0000 (17:09 -0700)]
iotop: add total read/write stats

Provide total read, write, and read/write stats across all threads
or processes.

Change-Id: I7dc2edd45681b6a54f67347337c76deb1342dc95

8 years agoiotop: fix bytes per second, and add accumulation
Colin Cross [Tue, 8 Sep 2015 22:04:22 +0000 (15:04 -0700)]
iotop: fix bytes per second, and add accumulation

Bytes per second forgot to divide bytes by seconds.  Also add
the -a flag to print bytes instead of bytes per second.

Change-Id: I419b2ec0f702a291d299fe736d2d4ab290c03445

8 years agoam 90987ecc: am bd827df0: Merge "boot_control_copy: A boot_control HAL implementation...
David Zeuthen [Tue, 8 Sep 2015 19:20:22 +0000 (19:20 +0000)]
am 90987ecc: am bd827df0: Merge "boot_control_copy: A boot_control HAL implementation that works by copying."

* commit '90987ecce1e11fb322d663e816c43ff889400cab':
  boot_control_copy: A boot_control HAL implementation that works by copying.

8 years agoam bd827df0: Merge "boot_control_copy: A boot_control HAL implementation that works...
David Zeuthen [Tue, 8 Sep 2015 19:14:30 +0000 (19:14 +0000)]
am bd827df0: Merge "boot_control_copy: A boot_control HAL implementation that works by copying."

* commit 'bd827df07c44464767c45da538294d42a1a0c103':
  boot_control_copy: A boot_control HAL implementation that works by copying.

8 years agoMerge "boot_control_copy: A boot_control HAL implementation that works by copying."
David Zeuthen [Tue, 8 Sep 2015 19:09:04 +0000 (19:09 +0000)]
Merge "boot_control_copy: A boot_control HAL implementation that works by copying."

8 years agoSupport for additional profile annotations.
Than McIntosh [Thu, 3 Sep 2015 19:16:04 +0000 (15:16 -0400)]
Support for additional profile annotations.

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

8 years agoam 47110a49: am a2b2d811: Merge "Annotate a few tests with the relevant kernel commits."
Lorenzo Colitti [Mon, 7 Sep 2015 01:50:28 +0000 (01:50 +0000)]
am 47110a49: am a2b2d811: Merge "Annotate a few tests with the relevant kernel commits."

* commit '47110a492ae81d58020b12298d3ee1997bfe17d5':
  Annotate a few tests with the relevant kernel commits.

8 years agoam a2b2d811: Merge "Annotate a few tests with the relevant kernel commits."
Lorenzo Colitti [Sun, 6 Sep 2015 11:17:39 +0000 (11:17 +0000)]
am a2b2d811: Merge "Annotate a few tests with the relevant kernel commits."

* commit 'a2b2d8119cb8a3377ad3addc2623e56479f6a001':
  Annotate a few tests with the relevant kernel commits.

8 years agoMerge "Annotate a few tests with the relevant kernel commits."
Lorenzo Colitti [Sun, 6 Sep 2015 11:11:58 +0000 (11:11 +0000)]
Merge "Annotate a few tests with the relevant kernel commits."

8 years agoam 21054c64: am a0370d7b: Merge "Implement iotop"
Colin Cross [Sat, 5 Sep 2015 19:45:34 +0000 (19:45 +0000)]
am 21054c64: am a0370d7b: Merge "Implement iotop"

* commit '21054c64206674d130905168df06d2cd9170ac35':
  Implement iotop

8 years agoam a0370d7b: Merge "Implement iotop"
Colin Cross [Sat, 5 Sep 2015 19:38:42 +0000 (19:38 +0000)]
am a0370d7b: Merge "Implement iotop"

* commit 'a0370d7bfea440286c3b4df3253e632377ecc326':
  Implement iotop

8 years agoMerge "Implement iotop"
Colin Cross [Sat, 5 Sep 2015 19:31:52 +0000 (19:31 +0000)]
Merge "Implement iotop"

8 years agoImplement iotop
Colin Cross [Fri, 4 Sep 2015 00:56:39 +0000 (17:56 -0700)]
Implement iotop

iotop provides per process statistics on IO rates and kernel delays.
Requires root, and a kernel compiled with CONFIG_TASKSTATS,
CONFIG_TASK_DELAY_ACCT, and CONFIG_TASK_IO_ACCOUNTING.

Change-Id: I111c55a1492e9ea33d8d7b3ab620080625b84346

8 years agoam 4e20fc2b: am b57eb67b: Merge "Expect a notification for NUD_REACHABLE."
Filipe Brandenburger [Fri, 4 Sep 2015 05:57:16 +0000 (05:57 +0000)]
am 4e20fc2b: am b57eb67b: Merge "Expect a notification for NUD_REACHABLE."

* commit '4e20fc2b392b3b7b0c48b959e1dec951c46bb3a6':
  Expect a notification for NUD_REACHABLE.

8 years agoam b57eb67b: Merge "Expect a notification for NUD_REACHABLE."
Filipe Brandenburger [Fri, 4 Sep 2015 05:48:27 +0000 (05:48 +0000)]
am b57eb67b: Merge "Expect a notification for NUD_REACHABLE."

* commit 'b57eb67b373f9d2ba27d9ca7d75c27e4c245c687':
  Expect a notification for NUD_REACHABLE.

8 years agoMerge "Expect a notification for NUD_REACHABLE."
Filipe Brandenburger [Fri, 4 Sep 2015 05:39:35 +0000 (05:39 +0000)]
Merge "Expect a notification for NUD_REACHABLE."

8 years agoExpect a notification for NUD_REACHABLE.
Filipe Brandenburger [Thu, 3 Sep 2015 22:11:13 +0000 (15:11 -0700)]
Expect a notification for NUD_REACHABLE.

This is necessary when running on kernel v3.13+ which includes commit
53385d2 "neigh: Netlink notification for administrative NUD state change"

BUG=chrome-os-partner:43435
TEST=Ran successfully on chromeos-3.18 kernels, android-3.10 unaffected.

Change-Id: I365ba5b8762776156a8a942975286e1c92734277

8 years agoboot_control_copy: A boot_control HAL implementation that works by copying.
David Zeuthen [Tue, 1 Sep 2015 18:58:36 +0000 (14:58 -0400)]
boot_control_copy: A boot_control HAL implementation that works by copying.

This boot_control HAL implementation emulates A/B by copying the
contents of the boot partition of the requested slot to the boot
partition. It hence works with bootloaders that are not yet aware of
A/B. This code is only intended to be used for development.

Change-Id: Ifcc1ff19530f9e6db1de882807a25c785e1959de

8 years agoAnnotate a few tests with the relevant kernel commits.
Lorenzo Colitti [Tue, 1 Sep 2015 04:42:56 +0000 (13:42 +0900)]
Annotate a few tests with the relevant kernel commits.

Also fix a couple of lint warnings, a few spurious newlines, and
a syntax error in currently-unused debug code.

Change-Id: I192eb730d48443ee050ca7702bc3735cd6ff6553

8 years agoam 9c8f0965: am 65fd650a: Merge "Prepare for BoringSSL update."
Kenny Root [Thu, 3 Sep 2015 00:45:11 +0000 (00:45 +0000)]
am 9c8f0965: am 65fd650a: Merge "Prepare for BoringSSL update."

* commit '9c8f0965f1af2fedd4423d449089d36f0ce71fab':
  Prepare for BoringSSL update.

8 years agoam 65fd650a: Merge "Prepare for BoringSSL update."
Kenny Root [Thu, 3 Sep 2015 00:32:23 +0000 (00:32 +0000)]
am 65fd650a: Merge "Prepare for BoringSSL update."

* commit '65fd650a4ae3d8602bffc0fa469695228209e38b':
  Prepare for BoringSSL update.

8 years agoMerge "Prepare for BoringSSL update."
Kenny Root [Wed, 2 Sep 2015 23:03:30 +0000 (23:03 +0000)]
Merge "Prepare for BoringSSL update."

8 years agoPrepare for BoringSSL update.
Adam Langley [Wed, 2 Sep 2015 22:45:12 +0000 (15:45 -0700)]
Prepare for BoringSSL update.

This change tweaks things as needed so that the code will compile
against both the BoringSSL that's currently in Android and a version
from upstream. The BORINGSSL_201509 define is temporary to allow the
switch to happen without breaking the build and a followup change will
remove it.

In this case, we backed off on removing |ERR_print_errors|, despite it
being a wart in the layering of the code.

Change-Id: I2f2f567cfc37fe2d5a69742302c5a92d289b814f

8 years agoam 2436dd47: am 32802ecf: Merge "Fix taskstats for libnl"
Colin Cross [Wed, 2 Sep 2015 17:47:22 +0000 (17:47 +0000)]
am 2436dd47: am 32802ecf: Merge "Fix taskstats for libnl"

* commit '2436dd4769130a535bbf112b0d3381c5eeabf6f8':
  Fix taskstats for libnl

8 years agoam 32802ecf: Merge "Fix taskstats for libnl"
Colin Cross [Wed, 2 Sep 2015 17:38:18 +0000 (17:38 +0000)]
am 32802ecf: Merge "Fix taskstats for libnl"

* commit '32802ecf57a6047f7008f9be8ba5072b9d458e57':
  Fix taskstats for libnl