OSDN Git Service

android-x86/system-extras.git
9 years agoam 2adbe38f: Merge "Change the encoded file\'s mode to be readable by GMS core."
Elliott Hughes [Tue, 5 May 2015 01:17:34 +0000 (01:17 +0000)]
am 2adbe38f: Merge "Change the encoded file\'s mode to be readable by GMS core."

* commit '2adbe38fada256e0fae039c3a6e869441266597e':
  Change the encoded file's mode to be readable by GMS core.

9 years agoam 1352b82d: Merge "Implement simpleperf record/dumprecord subcommands."
Yabin Cui [Tue, 5 May 2015 01:17:34 +0000 (01:17 +0000)]
am 1352b82d: Merge "Implement simpleperf record/dumprecord subcommands."

* commit '1352b82d4aed6b5dd64cffaa2aefec0cfd45aeaa':
  Implement simpleperf record/dumprecord subcommands.

9 years agoMerge "Change the encoded file's mode to be readable by GMS core."
Elliott Hughes [Tue, 5 May 2015 00:56:09 +0000 (00:56 +0000)]
Merge "Change the encoded file's mode to be readable by GMS core."

9 years agoChange the encoded file's mode to be readable by GMS core.
Dehao Chen [Mon, 4 May 2015 23:08:00 +0000 (16:08 -0700)]
Change the encoded file's mode to be readable by GMS core.

Bug: 19483574
Change-Id: Iee89138520a657df9a02bc98217c311d8c5a9262

9 years agoMerge "Implement simpleperf record/dumprecord subcommands."
Yabin Cui [Mon, 4 May 2015 22:47:15 +0000 (22:47 +0000)]
Merge "Implement simpleperf record/dumprecord subcommands."

9 years agoImplement simpleperf record/dumprecord subcommands.
Yabin Cui [Tue, 28 Apr 2015 22:54:13 +0000 (15:54 -0700)]
Implement simpleperf record/dumprecord subcommands.

Bug: 19483574

Change-Id: Id879713a75c2d3a6289d8847b95ee0bb4a2cc8a0

9 years agoam 8bad7433: Merge "Fix asan error when copying super block to backup super blocks"
Colin Cross [Sun, 3 May 2015 21:39:51 +0000 (21:39 +0000)]
am 8bad7433: Merge "Fix asan error when copying super block to backup super blocks"

* commit '8bad7433bd6f5f30a51e837852bd00f859ec730e':
  Fix asan error when copying super block to backup super blocks

9 years agoMerge "Fix asan error when copying super block to backup super blocks"
Colin Cross [Sun, 3 May 2015 21:17:40 +0000 (21:17 +0000)]
Merge "Fix asan error when copying super block to backup super blocks"

9 years agoFix asan error when copying super block to backup super blocks
Colin Cross [Sun, 3 May 2015 21:09:52 +0000 (14:09 -0700)]
Fix asan error when copying super block to backup super blocks

Address santizier caught a bug where we memcpy a full block size into
the backup super block, but the source may be offset 1024 bytes into
a block size allocation.  The destination buffer is zeroed by calloc,
so just copy the super block size instead.

Change-Id: I87af8e3349a63940905697466f62532c50fab720

9 years agoam 0ae45f5b: Merge "Enable properties in ext4enc"
Paul Lawrence [Fri, 1 May 2015 15:00:17 +0000 (15:00 +0000)]
am 0ae45f5b: Merge "Enable properties in ext4enc"

* commit '0ae45f5bc3152c7643d4d7a9f0cb7f9803f99e81':
  Enable properties in ext4enc

9 years agoMerge "Enable properties in ext4enc"
Paul Lawrence [Fri, 1 May 2015 14:44:42 +0000 (14:44 +0000)]
Merge "Enable properties in ext4enc"

9 years agoam 456e3711: Update simpleperf path to /system/xbin/simpleperf.
Dehao Chen [Thu, 30 Apr 2015 18:34:57 +0000 (18:34 +0000)]
am 456e3711: Update simpleperf path to /system/xbin/simpleperf.

* commit '456e3711e71fa2c11cae654b758c6d10124dfce8':
  Update simpleperf path to /system/xbin/simpleperf.

9 years agoam 00c98046: Merge "Update simpleperf path to /system/xbin/simpleperf."
Elliott Hughes [Thu, 30 Apr 2015 18:26:09 +0000 (18:26 +0000)]
am 00c98046: Merge "Update simpleperf path to /system/xbin/simpleperf."

* commit '00c9804619dbfa52581b60bb054a067cfc022768':
  Update simpleperf path to /system/xbin/simpleperf.

9 years agoUpdate simpleperf path to /system/xbin/simpleperf.
Dehao Chen [Thu, 30 Apr 2015 17:54:26 +0000 (10:54 -0700)]
Update simpleperf path to /system/xbin/simpleperf.

Change-Id: Ib326b1669553146e028c8354bb5077176d150616
(cherry picked from commit 35bb6be739761482fa7e72214d2aedf2623cbb9a)

9 years agoMerge "Update simpleperf path to /system/xbin/simpleperf."
Elliott Hughes [Thu, 30 Apr 2015 17:56:52 +0000 (17:56 +0000)]
Merge "Update simpleperf path to /system/xbin/simpleperf."

9 years agoUpdate simpleperf path to /system/xbin/simpleperf.
Dehao Chen [Thu, 30 Apr 2015 17:54:26 +0000 (10:54 -0700)]
Update simpleperf path to /system/xbin/simpleperf.

Change-Id: Ib326b1669553146e028c8354bb5077176d150616

9 years agoEnable properties in ext4enc
Paul Lawrence [Wed, 15 Apr 2015 21:11:07 +0000 (14:11 -0700)]
Enable properties in ext4enc

Enables OwnerInfo and pattern suppression

Change-Id: I4a7d71c9a750d5ed996ab1937bd5a81da480a2b3

9 years agoam 3a693f65: Merge "New ext4enc kernel switching from xattrs to ioctl"
Paul Lawrence [Thu, 30 Apr 2015 16:52:34 +0000 (16:52 +0000)]
am 3a693f65: Merge "New ext4enc kernel switching from xattrs to ioctl"

* commit '3a693f65e88d459c4b817628f6faaa191cc51db0':
  New ext4enc kernel switching from xattrs to ioctl

9 years agoMerge "New ext4enc kernel switching from xattrs to ioctl"
Paul Lawrence [Thu, 30 Apr 2015 16:28:50 +0000 (16:28 +0000)]
Merge "New ext4enc kernel switching from xattrs to ioctl"

9 years agoNew ext4enc kernel switching from xattrs to ioctl
Paul Lawrence [Fri, 10 Apr 2015 14:47:30 +0000 (07:47 -0700)]
New ext4enc kernel switching from xattrs to ioctl

This is one of three changes to enable this functionality:
  https://android-review.googlesource.com/#/c/146259/
  https://android-review.googlesource.com/#/c/146264/
  https://android-review.googlesource.com/#/c/146265/

Bug: 18151196

Change-Id: I05b96f49b8848e82484a500e4536bdb4d2cdd635

9 years agoam 904c3e49: Switch perfprofd from using full to lite version of protobuf library.
Than McIntosh [Thu, 30 Apr 2015 01:15:10 +0000 (01:15 +0000)]
am 904c3e49: Switch perfprofd from using full to lite version of protobuf library.

* commit '904c3e49bb43ee9f7dbde66e266f0e02f5193efd':
  Switch perfprofd from using full to lite version of protobuf library.

9 years agoam ca1a9df2: Merge "Switch perfprofd from using full to lite version of protobuf...
Elliott Hughes [Thu, 30 Apr 2015 01:14:37 +0000 (01:14 +0000)]
am ca1a9df2: Merge "Switch perfprofd from using full to lite version of protobuf library."

* commit 'ca1a9df2b8a195342e3a17f2a92b4cd2c650e0c0':
  Switch perfprofd from using full to lite version of protobuf library.

9 years agoSwitch perfprofd from using full to lite version of protobuf library.
Than McIntosh [Wed, 29 Apr 2015 18:48:32 +0000 (14:48 -0400)]
Switch perfprofd from using full to lite version of protobuf library.

Change-Id: Ie4cf7cd2e6e4f90bcdba39200c856c219b710065
(cherry picked from commit 124dd4262f2a2c8e55fdb81af9981b1f949a9686)

9 years agoMerge "Switch perfprofd from using full to lite version of protobuf library."
Elliott Hughes [Thu, 30 Apr 2015 00:49:16 +0000 (00:49 +0000)]
Merge "Switch perfprofd from using full to lite version of protobuf library."

9 years agoam f926fc2c: Default the config file to NULL for perfprofd, so that we will not see...
Dehao Chen [Wed, 29 Apr 2015 22:40:37 +0000 (22:40 +0000)]
am f926fc2c: Default the config file to NULL for perfprofd, so that we will not see error in logcat when config file is not specified.

* commit 'f926fc2ce2e052dd42591cc0c5ce4e1620a765f8':
  Default the config file to NULL for perfprofd, so that we will not see error in logcat when config file is not specified.

9 years agoam 7dfd2e74: Build simpleperf in user-debug mode, and put it in /system/xbin/.
Dehao Chen [Wed, 29 Apr 2015 22:40:37 +0000 (22:40 +0000)]
am 7dfd2e74: Build simpleperf in user-debug mode, and put it in /system/xbin/.

* commit '7dfd2e74687d43bbd4a8987eec8a307554e7af9f':
  Build simpleperf in user-debug mode, and put it in /system/xbin/.

9 years agoam 8ffdf93b: Merge "Default the config file to NULL for perfprofd, so that we will...
Elliott Hughes [Wed, 29 Apr 2015 22:26:47 +0000 (22:26 +0000)]
am 8ffdf93b: Merge "Default the config file to NULL for perfprofd, so that we will not see error in logcat when config file is not specified."

* commit '8ffdf93bdf10eea877945fc92a4117935c70f5eb':
  Default the config file to NULL for perfprofd, so that we will not see error in logcat when config file is not specified.

9 years agoDefault the config file to NULL for perfprofd, so that we will not see error in logca...
Dehao Chen [Wed, 29 Apr 2015 20:31:48 +0000 (13:31 -0700)]
Default the config file to NULL for perfprofd, so that we will not see error in logcat when config file is not specified.

Change-Id: Ib6a442726b687f8aaec27dee30962cf3cc820918
(cherry picked from commit bfd3af43e88249e763185005cf1db3cca4a3e6ed)

9 years agoMerge "Default the config file to NULL for perfprofd, so that we will not see error...
Elliott Hughes [Wed, 29 Apr 2015 22:06:44 +0000 (22:06 +0000)]
Merge "Default the config file to NULL for perfprofd, so that we will not see error in logcat when config file is not specified."

9 years agoDefault the config file to NULL for perfprofd, so that we will not see error in logca...
Dehao Chen [Wed, 29 Apr 2015 20:31:48 +0000 (13:31 -0700)]
Default the config file to NULL for perfprofd, so that we will not see error in logcat when config file is not specified.

Change-Id: Ib6a442726b687f8aaec27dee30962cf3cc820918

9 years agoSwitch perfprofd from using full to lite version of protobuf library.
Than McIntosh [Wed, 29 Apr 2015 18:48:32 +0000 (14:48 -0400)]
Switch perfprofd from using full to lite version of protobuf library.

Change-Id: Ie4cf7cd2e6e4f90bcdba39200c856c219b710065

9 years agoam efd93b16: Merge "Securely encrypt the master key"
Paul Lawrence [Wed, 29 Apr 2015 17:00:52 +0000 (17:00 +0000)]
am efd93b16: Merge "Securely encrypt the master key"

* commit 'efd93b16b36d2aecc994c282317f37729bab7357':
  Securely encrypt the master key

9 years agoMerge "Securely encrypt the master key"
Paul Lawrence [Wed, 29 Apr 2015 16:24:25 +0000 (16:24 +0000)]
Merge "Securely encrypt the master key"

9 years agoam cf461bce: Merge "make_ext4fs: write out super blocks at last for block devices"
Colin Cross [Wed, 29 Apr 2015 01:08:31 +0000 (01:08 +0000)]
am cf461bce: Merge "make_ext4fs: write out super blocks at last for block devices"

* commit 'cf461bced1ef97331e808ab0fb994a6ada93f2eb':
  make_ext4fs: write out super blocks at last for block devices

9 years agoMerge "make_ext4fs: write out super blocks at last for block devices"
Colin Cross [Wed, 29 Apr 2015 00:38:58 +0000 (00:38 +0000)]
Merge "make_ext4fs: write out super blocks at last for block devices"

9 years agomake_ext4fs: write out super blocks at last for block devices
Eric Miao [Thu, 16 Apr 2015 22:00:11 +0000 (15:00 -0700)]
make_ext4fs: write out super blocks at last for block devices

Change-Id: I93ee37a649aabff14464030efd88f79e1ae324f0
Signed-off-by: Eric Miao <emiao@nvidia.com>
9 years agoSecurely encrypt the master key
Paul Lawrence [Tue, 28 Apr 2015 22:13:04 +0000 (22:13 +0000)]
Securely encrypt the master key

Move all key management into vold
Reuse vold's existing key management through the crypto footer
to manage the device wide keys.

Use ro.crypto.type flag to determine crypto type, which prevents
any issues when running in block encrypted mode, as well as speeding
up boot in block or no encryption.

This is one of four changes to enable this functionality:
  https://android-review.googlesource.com/#/c/148586/
  https://android-review.googlesource.com/#/c/148604/
  https://android-review.googlesource.com/#/c/148606/
  https://android-review.googlesource.com/#/c/148607/

Bug: 18151196

Change-Id: I7a4ef3f3a937c45ff18f17c9ad1398293a8630f3

9 years agoam 249518de: Merge "Add real UUID support to ext4_utils."
Colin Cross [Tue, 28 Apr 2015 22:30:31 +0000 (22:30 +0000)]
am 249518de: Merge "Add real UUID support to ext4_utils."

* commit '249518de7cb7ddb1c066b3bb8b10bc0f66222f7d':
  Add real UUID support to ext4_utils.

9 years agoMerge "Add real UUID support to ext4_utils."
Colin Cross [Tue, 28 Apr 2015 22:05:34 +0000 (22:05 +0000)]
Merge "Add real UUID support to ext4_utils."

9 years agoAdd real UUID support to ext4_utils.
Jeff Sharkey [Tue, 7 Apr 2015 05:29:04 +0000 (22:29 -0700)]
Add real UUID support to ext4_utils.

For some unknown reason, we've always been generating the same UUID
for every single ext4 partition that we formatted.  Yikes.

Add a flag to request that a real UUID be generated when creating
filesystem.

(cherry-picked from 7538cc97e1695608123739d6ef8ff2ee1572aaec)

Bug: 19993667
Change-Id: I6f3f6aa373021cb8b6779e5354ac36436c4d98d3

9 years agoam b0d18728: Merge "Revert "Securely encrypt the master key""
Paul Lawrence [Tue, 28 Apr 2015 21:33:30 +0000 (21:33 +0000)]
am b0d18728: Merge "Revert "Securely encrypt the master key""

* commit 'b0d1872803e2527a501d74b7afa518148414f1fb':
  Revert "Securely encrypt the master key"

9 years agoam 21e720a8: Merge "Build simpleperf in user-debug mode, and put it in /system/xbin/."
Elliott Hughes [Tue, 28 Apr 2015 21:10:15 +0000 (21:10 +0000)]
am 21e720a8: Merge "Build simpleperf in user-debug mode, and put it in /system/xbin/."

* commit '21e720a8bde20f6255d51f9183ba90f01457fdd3':
  Build simpleperf in user-debug mode, and put it in /system/xbin/.

9 years agoMerge "Revert "Securely encrypt the master key""
Paul Lawrence [Tue, 28 Apr 2015 19:16:07 +0000 (19:16 +0000)]
Merge "Revert "Securely encrypt the master key""

9 years agoRevert "Securely encrypt the master key"
Paul Lawrence [Tue, 28 Apr 2015 19:15:58 +0000 (19:15 +0000)]
Revert "Securely encrypt the master key"

This reverts commit af2359fdc4a45fcf482d1a316bae1fff226c425b.

Change-Id: Icd4d04adf5c0728357caa6eb225b9a08fd0ad552

9 years agoBuild simpleperf in user-debug mode, and put it in /system/xbin/.
Dehao Chen [Mon, 27 Apr 2015 22:34:09 +0000 (15:34 -0700)]
Build simpleperf in user-debug mode, and put it in /system/xbin/.

(cherry picked from commit d455de47298ada7e3532104a8e3312822a940906)

Change-Id: I53aa95e0c34957262bc9ebf3c2dff40bfee6867e

9 years agoMerge "Build simpleperf in user-debug mode, and put it in /system/xbin/."
Elliott Hughes [Tue, 28 Apr 2015 18:12:50 +0000 (18:12 +0000)]
Merge "Build simpleperf in user-debug mode, and put it in /system/xbin/."

9 years agoam 17958658: Build perfprofd and its libraries in userdebug mode only, and store...
Dehao Chen [Tue, 28 Apr 2015 14:53:36 +0000 (14:53 +0000)]
am 17958658: Build perfprofd and its libraries in userdebug mode only, and store it in /system/xbin/

* commit '1795865852cd338f271b90011438b1ff2d5e1541':
  Build perfprofd and its libraries in userdebug mode only, and store it in /system/xbin/

9 years agoam 6eec6599: Merge "Build perfprofd and its libraries in userdebug mode only, and...
Elliott Hughes [Tue, 28 Apr 2015 00:24:20 +0000 (00:24 +0000)]
am 6eec6599: Merge "Build perfprofd and its libraries in userdebug mode only, and store it in /system/xbin/"

* commit '6eec6599a80838a00322da2f281a379a67fdbaee':
  Build perfprofd and its libraries in userdebug mode only, and store it in /system/xbin/

9 years agoBuild perfprofd and its libraries in userdebug mode only, and store it in /system...
Dehao Chen [Mon, 27 Apr 2015 22:25:39 +0000 (15:25 -0700)]
Build perfprofd and its libraries in userdebug mode only, and store it in /system/xbin/

(cherry picked from commit 2a1e7e814c9cb300c22132763a1817c04907e75b)

Change-Id: Ie893f20cd8b103d5eabdc57a13a6c6d9cf35d27d

9 years agoMerge "Build perfprofd and its libraries in userdebug mode only, and store it in...
Elliott Hughes [Tue, 28 Apr 2015 00:03:54 +0000 (00:03 +0000)]
Merge "Build perfprofd and its libraries in userdebug mode only, and store it in /system/xbin/"

9 years agoBuild simpleperf in user-debug mode, and put it in /system/xbin/.
Dehao Chen [Mon, 27 Apr 2015 22:34:09 +0000 (15:34 -0700)]
Build simpleperf in user-debug mode, and put it in /system/xbin/.

Change-Id: I83cf2bece5491ab88cd8ceff7fdd8f563d50f18f

9 years agoBuild perfprofd and its libraries in userdebug mode only, and store it in /system...
Dehao Chen [Mon, 27 Apr 2015 22:25:39 +0000 (15:25 -0700)]
Build perfprofd and its libraries in userdebug mode only, and store it in /system/xbin/

Change-Id: I77c4176b75018aedc8a8d6e4633109367cc0b304

9 years agoam e73da0cd: Merge "Securely encrypt the master key"
Paul Lawrence [Mon, 27 Apr 2015 21:48:52 +0000 (21:48 +0000)]
am e73da0cd: Merge "Securely encrypt the master key"

* commit 'e73da0cdaa154b5cd0c2f10cb2d1f9b9dd171900':
  Securely encrypt the master key

9 years agoMerge "Securely encrypt the master key"
Paul Lawrence [Mon, 27 Apr 2015 20:08:51 +0000 (20:08 +0000)]
Merge "Securely encrypt the master key"

9 years agoSecurely encrypt the master key
Paul Lawrence [Tue, 31 Mar 2015 18:18:31 +0000 (11:18 -0700)]
Securely encrypt the master key

Move functionality from init into vold so we can use
vold to manage key encryption

This is one of four changes to enable this functionality:
  https://android-review.googlesource.com/#/c/144586/
  https://android-review.googlesource.com/#/c/144663/
  https://android-review.googlesource.com/#/c/144672/
  https://android-review.googlesource.com/#/c/144673/

Bug: 18151196
Change-Id: I4a1c79d27f0d225a9ce4ac21653279919f75c991

9 years agoam 7117efce: Merge "fix possible buffer overrun in librank"
Colin Cross [Fri, 24 Apr 2015 22:42:36 +0000 (22:42 +0000)]
am 7117efce: Merge "fix possible buffer overrun in librank"

* commit '7117efced82fcb4d3658161d765bfc964ab930f4':
  fix possible buffer overrun in librank

9 years agoMerge "fix possible buffer overrun in librank"
Colin Cross [Fri, 24 Apr 2015 21:58:46 +0000 (21:58 +0000)]
Merge "fix possible buffer overrun in librank"

9 years agoam ffc011b6: Merge "Implement simpleperf stat subcommand."
Yabin Cui [Thu, 23 Apr 2015 23:44:29 +0000 (23:44 +0000)]
am ffc011b6: Merge "Implement simpleperf stat subcommand."

* commit 'ffc011b651535c46225630f5b73a798d86c1f52e':
  Implement simpleperf stat subcommand.

9 years agoMerge "Implement simpleperf stat subcommand."
Yabin Cui [Thu, 23 Apr 2015 23:01:30 +0000 (23:01 +0000)]
Merge "Implement simpleperf stat subcommand."

9 years agoImplement simpleperf stat subcommand.
Yabin Cui [Tue, 21 Apr 2015 01:07:17 +0000 (18:07 -0700)]
Implement simpleperf stat subcommand.

Also add some simple unit-tests.

Change-Id: Ic30a2d4a879e028a8c82babbaf82e322fc49a838

9 years agoam 8103fad7: Merge "Second round of changes to \'perf\' profile collection daemon."
Than McIntosh [Thu, 23 Apr 2015 02:17:57 +0000 (02:17 +0000)]
am 8103fad7: Merge "Second round of changes to \'perf\' profile collection daemon."

* commit '8103fad7c4f71b9ea7b27f624d7c40153132da2b':
  Second round of changes to 'perf' profile collection daemon.

9 years agoMerge "Second round of changes to 'perf' profile collection daemon."
Than McIntosh [Thu, 23 Apr 2015 00:31:24 +0000 (00:31 +0000)]
Merge "Second round of changes to 'perf' profile collection daemon."

9 years agofix possible buffer overrun in librank
daegeun.song [Wed, 22 Apr 2015 02:31:29 +0000 (11:31 +0900)]
fix possible buffer overrun in librank

Use snprintf instead of sprintf and fclose() before return.

Change-Id: I2c367b2e7b943f4ed10551c18ecc971e6b830c66
Signed-off-by: Daegeun Song <daegeun.song@lge.com>
9 years agoSecond round of changes to 'perf' profile collection daemon.
Than McIntosh [Fri, 17 Apr 2015 19:10:43 +0000 (15:10 -0400)]
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

9 years agoam 8f4e7976: Merge "Do free and fclose when error occur."
Colin Cross [Wed, 22 Apr 2015 20:18:47 +0000 (20:18 +0000)]
am 8f4e7976: Merge "Do free and fclose when error occur."

* commit '8f4e79766cb67241666d7454b71982fd53e9fb61':
  Do free and fclose when error occur.

9 years agoMerge "Do free and fclose when error occur."
Colin Cross [Wed, 22 Apr 2015 17:57:32 +0000 (17:57 +0000)]
Merge "Do free and fclose when error occur."

9 years agoDo free and fclose when error occur.
daegeun.song [Wed, 22 Apr 2015 05:14:02 +0000 (14:14 +0900)]
Do free and fclose when error occur.

Do free and fclose when error occur.

Change-Id: Ifc611579cf919eeb3fbbf1dff70e7f851a26e083
Signed-off-by: Daegeun Song <daegeun.song@lge.com>
9 years agoam 9a6b9137: Merge "Implement simpleperf list subcommand."
Yabin Cui [Sat, 18 Apr 2015 21:49:18 +0000 (21:49 +0000)]
am 9a6b9137: Merge "Implement simpleperf list subcommand."

* commit '9a6b9137db9cd00e1189322a5db5581cd67e2867':
  Implement simpleperf list subcommand.

9 years agoMerge "Implement simpleperf list subcommand."
Yabin Cui [Sat, 18 Apr 2015 21:13:26 +0000 (21:13 +0000)]
Merge "Implement simpleperf list subcommand."

9 years agoImplement simpleperf list subcommand.
Yabin Cui [Thu, 16 Apr 2015 22:26:31 +0000 (15:26 -0700)]
Implement simpleperf list subcommand.

simpleperf is used to replace linux/tools/perf. And This CL implements
the list subcommand of it.

Change-Id: I3e6fe854e19cc370070d0fd8416d0aa6fa8f8e90

9 years agoam 7f223030: Merge "f2fs_utils: fix build break in static_sdk_tools"
Mark Salyzyn [Thu, 16 Apr 2015 18:45:51 +0000 (18:45 +0000)]
am 7f223030: Merge "f2fs_utils: fix build break in static_sdk_tools"

* commit '7f223030ffe1a24600b09f52f17209f42dc0dcc0':
  f2fs_utils: fix build break in static_sdk_tools

9 years agoMerge "f2fs_utils: fix build break in static_sdk_tools"
Mark Salyzyn [Thu, 16 Apr 2015 18:02:41 +0000 (18:02 +0000)]
Merge "f2fs_utils: fix build break in static_sdk_tools"

9 years agof2fs_utils: fix build break in static_sdk_tools
Mark Salyzyn [Thu, 16 Apr 2015 16:56:36 +0000 (09:56 -0700)]
f2fs_utils: fix build break in static_sdk_tools

external/f2fs-tools/mkfs/f2fs_format.c:357:
    error: undefined reference to dev_read_version
clang: error:
    linker command failed with exit code 1 (use -v to see invocation)
make: *** [out/host/linux-x86/obj/lib/libf2fs_fmt_host_dyn.so] Error 1

Change-Id: I9bf1eec9ee60aa2fc55a3d0793a67d36f271acef

9 years agoam 81c39be5: Merge "make_ext4fs: use libcutils and libselinux shared libraries"
Mark Salyzyn [Wed, 15 Apr 2015 19:16:35 +0000 (19:16 +0000)]
am 81c39be5: Merge "make_ext4fs: use libcutils and libselinux shared libraries"

* commit '81c39be5ecdc37c32439c9b7d078be182505a34e':
  make_ext4fs: use libcutils and libselinux shared libraries

9 years agoam d16419e1: Merge "Move away from gr_surface."
Elliott Hughes [Wed, 15 Apr 2015 19:16:34 +0000 (19:16 +0000)]
am d16419e1: Merge "Move away from gr_surface."

* commit 'd16419e176efa26f1760a52a9b57df96d070147a':
  Move away from gr_surface.

9 years agoMerge "make_ext4fs: use libcutils and libselinux shared libraries"
Mark Salyzyn [Wed, 15 Apr 2015 18:14:37 +0000 (18:14 +0000)]
Merge "make_ext4fs: use libcutils and libselinux shared libraries"

9 years agoMerge "Move away from gr_surface."
Elliott Hughes [Wed, 15 Apr 2015 17:59:52 +0000 (17:59 +0000)]
Merge "Move away from gr_surface."

9 years agoMove away from gr_surface.
Elliott Hughes [Wed, 15 Apr 2015 17:23:15 +0000 (10:23 -0700)]
Move away from gr_surface.

Change-Id: Id23940a2e92bbfd56a2f2e1e021fb89114830dd4

9 years agomake_ext4fs: use libcutils and libselinux shared libraries
Mark Salyzyn [Tue, 7 Apr 2015 16:36:29 +0000 (09:36 -0700)]
make_ext4fs: use libcutils and libselinux shared libraries

- move libcutils and libselinux as shared now that they are
  in DISTTOOL.
- liblog dependency is part of libcutils, and need not be
  called out explicitly now. liblog is in DISTTOOL.
- libcutils fs_config has the right to add Android logging

Bug: 19908228
Change-Id: I85d6d0c1fd5cf22f7328fdfcbe9a8511a552857c

9 years agoam a8ac44e4: Merge "select(2) is bad, always use poll(2). Also remove unnecessary...
Paul Crowley [Thu, 9 Apr 2015 16:35:39 +0000 (16:35 +0000)]
am a8ac44e4: Merge "select(2) is bad, always use poll(2). Also remove unnecessary loop."

* commit 'a8ac44e4da690d8278e24b611a8cb00010f70fd2':
  select(2) is bad, always use poll(2). Also remove unnecessary loop.

9 years agoMerge "select(2) is bad, always use poll(2). Also remove unnecessary loop."
Paul Crowley [Thu, 9 Apr 2015 15:55:35 +0000 (15:55 +0000)]
Merge "select(2) is bad, always use poll(2). Also remove unnecessary loop."

9 years agoselect(2) is bad, always use poll(2). Also remove unnecessary loop.
Paul Crowley [Thu, 9 Apr 2015 09:18:54 +0000 (10:18 +0100)]
select(2) is bad, always use poll(2). Also remove unnecessary loop.

Change-Id: I18cb8d75945413e35dc904bc95362d9b579cb336

9 years agoam de9235d6: Merge "Add memmove benchmarking."
Christopher Ferris [Thu, 9 Apr 2015 01:15:23 +0000 (01:15 +0000)]
am de9235d6: Merge "Add memmove benchmarking."

* commit 'de9235d6fab42798cb32a772115f75e7bbf0bd3c':
  Add memmove benchmarking.

9 years agoMerge "Add memmove benchmarking."
Christopher Ferris [Wed, 8 Apr 2015 22:28:38 +0000 (22:28 +0000)]
Merge "Add memmove benchmarking."

9 years agoAdd memmove benchmarking.
Christopher Ferris [Wed, 8 Apr 2015 22:21:42 +0000 (15:21 -0700)]
Add memmove benchmarking.

Change-Id: I75bb907f5633d155cd411941ea6d9d39b9787983

9 years agoMerge "Add real UUID support to ext4_utils."
Jeff Sharkey [Tue, 7 Apr 2015 21:10:54 +0000 (21:10 +0000)]
Merge "Add real UUID support to ext4_utils."

9 years agoam 46b4f7d4: Merge "Perf profile collection daemon."
Elliott Hughes [Tue, 7 Apr 2015 20:53:20 +0000 (20:53 +0000)]
am 46b4f7d4: Merge "Perf profile collection daemon."

* commit '46b4f7d4288acfbf4c8a4aabcd70a47fa92744d9':
  Perf profile collection daemon.

9 years agoMerge "Perf profile collection daemon."
Elliott Hughes [Tue, 7 Apr 2015 20:10:14 +0000 (20:10 +0000)]
Merge "Perf profile collection daemon."

9 years agoAdd real UUID support to ext4_utils.
Jeff Sharkey [Tue, 7 Apr 2015 05:29:04 +0000 (22:29 -0700)]
Add real UUID support to ext4_utils.

For some unknown reason, we've always been generating the same UUID
for every single ext4 partition that we formatted.  Yikes.

Add a flag to request that a real UUID be generated when creating
filesystem.

Bug: 19993667
Change-Id: I6f3f6aa373021cb8b6779e5354ac36436c4d98d3

9 years agoPerf profile collection daemon.
Than McIntosh [Thu, 5 Mar 2015 16:05:02 +0000 (11:05 -0500)]
Perf profile collection daemon.

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

9 years agoam 01869e7a: Merge "Introduce squashfs-utils that includes helper functions"
Mohamad Ayyash [Tue, 7 Apr 2015 02:07:06 +0000 (02:07 +0000)]
am 01869e7a: Merge "Introduce squashfs-utils that includes helper functions"

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

9 years agoMerge "Introduce squashfs-utils that includes helper functions"
Mohamad Ayyash [Tue, 7 Apr 2015 01:24:21 +0000 (01:24 +0000)]
Merge "Introduce squashfs-utils that includes helper functions"

9 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>
9 years agoam 0a726d10: Merge "ext_utils: xattr_free_space assert"
Mark Salyzyn [Mon, 6 Apr 2015 23:14:48 +0000 (23:14 +0000)]
am 0a726d10: Merge "ext_utils: xattr_free_space assert"

* commit '0a726d107744add5ea656bca6b214ba3c8100ee6':
  ext_utils: xattr_free_space assert

9 years agoam 0f68c105: Merge "ext4_utils: xattr_assert_sane false positives"
Mark Salyzyn [Mon, 6 Apr 2015 23:14:41 +0000 (23:14 +0000)]
am 0f68c105: Merge "ext4_utils: xattr_assert_sane false positives"

* commit '0f68c105ffaf80b9619b8970572b213d284ce117':
  ext4_utils: xattr_assert_sane false positives

9 years agoMerge "ext_utils: xattr_free_space assert"
Mark Salyzyn [Mon, 6 Apr 2015 19:41:07 +0000 (19:41 +0000)]
Merge "ext_utils: xattr_free_space assert"

9 years agoext_utils: xattr_free_space assert
Mark Salyzyn [Mon, 6 Apr 2015 19:37:28 +0000 (12:37 -0700)]
ext_utils: xattr_free_space assert

Commit 636d848860e5eac4225a830706fc34d48d8cc01e failed
to modify the assert checking to compensate for the
four null bytes.

Change-Id: Iec618f94f05f8700683507a3c797521689103b5a

9 years agoMerge "ext4_utils: xattr_assert_sane false positives"
Mark Salyzyn [Mon, 6 Apr 2015 19:22:48 +0000 (19:22 +0000)]
Merge "ext4_utils: xattr_assert_sane false positives"

9 years agoext4_utils: xattr_assert_sane false positives
Mark Salyzyn [Mon, 6 Apr 2015 19:16:42 +0000 (12:16 -0700)]
ext4_utils: xattr_assert_sane false positives

xattr_free_space() does not match kernel, it subtracts
sizeof(__u32) as a buffer zone to permit IS_LAST_ENTRY
to function. As documented in .../linux/fs/ext4/xattr.c:

+------------------+
| header           |
| entry 1          | |
| entry 2          | | growing downwards
| entry 3          | v
| four null bytes  | <<<< HERE is why sizeof(__u32)
| . . .            |
| value 1          | ^
| value 3          | | growing upwards
| value 2          | |
+------------------+

Change-Id: Iee6e4e90664a3c2c5056006870b0f2f22b236bad

9 years agoam 01764adb: Merge "Fix missing \'\n\'s in kernel logging."
Elliott Hughes [Sat, 4 Apr 2015 19:43:15 +0000 (19:43 +0000)]
am 01764adb: Merge "Fix missing \'\n\'s in kernel logging."

* commit '01764adb2c182ef593fba3b9cdece112c26a4765':
  Fix missing '\n's in kernel logging.