OSDN Git Service

android-x86/system-extras.git
5 years agoMerge tag 'android-8.1.0_r48' into oreo-x86 oreo-x86 android-x86-8.1-r1 android-x86-8.1-r2 android-x86-8.1-r3 android-x86-8.1-r4 android-x86-8.1-r5 android-x86-8.1-r6
Chih-Wei Huang [Tue, 9 Oct 2018 10:02:56 +0000 (18:02 +0800)]
Merge tag 'android-8.1.0_r48' into oreo-x86

Android 8.1.0 release 48

5 years agomkuserimg.sh: set default size according to the $SRC_DIR size
Chih-Wei Huang [Tue, 8 Mar 2016 09:14:34 +0000 (17:14 +0800)]
mkuserimg.sh: set default size according to the $SRC_DIR size

Add extra size by the $SRC_DIR size plus 10%.

5 years agoDisable the legacy su
Chih-Wei Huang [Mon, 19 May 2014 16:38:35 +0000 (00:38 +0800)]
Disable the legacy su

6 years agoSnap for 4657601 from de5a53756212bc518d2a3aa433d90e1b22efa7af to oc-m4-release
android-build-team Robot [Wed, 21 Mar 2018 21:27:39 +0000 (21:27 +0000)]
Snap for 4657601 from de5a53756212bc518d2a3aa433d90e1b22efa7af to oc-m4-release

Change-Id: If553bab8ec7ed343eae9c34034a4afe8c03fc9c7

6 years agorelease-request-99856c15-b008-4977-9971-f86523a23c0a-for-git_oc-m2-release-4367109...
android-build-team Robot [Fri, 29 Sep 2017 20:17:11 +0000 (20:17 +0000)]
release-request-99856c15-b008-4977-9971-f86523a23c0a-for-git_oc-m2-release-4367109 snap-temp-L18300000107415568

Change-Id: If7f9b0714614385149b21a000a780f1d62d51283

6 years agorelease-request-ca7a0f27-e01e-4493-95dc-73b265f88cc9-for-git_oc-mr1-release-4365318...
android-build-team Robot [Thu, 28 Sep 2017 07:26:39 +0000 (07:26 +0000)]
release-request-ca7a0f27-e01e-4493-95dc-73b265f88cc9-for-git_oc-mr1-release-4365318 snap-temp-L33600000106883904

Change-Id: I21b4571ef1961871eb05a2dd443d8caf434b5b88

6 years agoMerge "ext4_utils: make file system image reproducible" into oc-mr1-dev
Tao Bao [Thu, 28 Sep 2017 04:11:13 +0000 (04:11 +0000)]
Merge "ext4_utils: make file system image reproducible" into oc-mr1-dev

6 years agoext4_utils: make file system image reproducible
Jin Qian [Tue, 29 Aug 2017 00:28:49 +0000 (17:28 -0700)]
ext4_utils: make file system image reproducible

Add flags to set filesystem uuid, hash_seed and mke2fs time.

Bug: 64994964
Change-Id: I38369a3a9dfffefead11c4b8fdd1e6984e61b938
(cherry picked from commit 407a7de4c499ede24dbbeb22d2efe6490a974b0d)

6 years agorelease-request-2950741e-0b24-4d70-b748-67bb2b5435b5-for-git_oc-mr1-release-4357583...
android-build-team Robot [Sun, 24 Sep 2017 07:44:56 +0000 (07:44 +0000)]
release-request-2950741e-0b24-4d70-b748-67bb2b5435b5-for-git_oc-mr1-release-4357583 snap-temp-L55500000105655441

Change-Id: Ib222e30e4cc95d0227f8886b643103409fb9fff6

6 years agorelease-request-a84b3435-75fa-41e8-bd3c-ca0f4cbd5cc5-for-git_oc-m2-release-4352002...
android-build-team Robot [Thu, 21 Sep 2017 21:55:59 +0000 (21:55 +0000)]
release-request-a84b3435-75fa-41e8-bd3c-ca0f4cbd5cc5-for-git_oc-m2-release-4352002 snap-temp-L88700000105039240

Change-Id: I841f4fce77b2dbe7bd35cfc699323ef1d2d78af6

6 years agoRemove pstore related unit tests from CTS
Yoshitaka Seto [Mon, 31 Jul 2017 03:24:09 +0000 (12:24 +0900)]
Remove pstore related unit tests from CTS

Pstore test cases should not belong to CTS.
The test cases should be a part of GTS if really required.

Test: manual
Bug: 66431569
Bug: 63969981
Bug: 63913130
Signed-off-by: Srinavasa Nagaraju <Srinavasa.Nagaraju@sony.com>
Signed-off-by: Yoshitaka Seto <yoshitaka.seto@sony.com>
Tested-by: Srinavasa Nagaraju <Srinavasa.Nagaraju@sony.com>
Change-Id: Ie91625fd365b17dccdb179758639492da6b49787

6 years agorelease-request-1f2fcfef-9736-44dc-8628-3ba96dac60db-for-git_oc-mr1-release-4343541...
android-build-team Robot [Sun, 17 Sep 2017 07:29:25 +0000 (07:29 +0000)]
release-request-1f2fcfef-9736-44dc-8628-3ba96dac60db-for-git_oc-mr1-release-4343541 snap-temp-L73700000103533431

Change-Id: I71954078e41d6b2d4d824003de7a8d41b02b6bc7

6 years agoMerge "Add writepage(s) blaming support to ioblame." into oc-mr1-dev
TreeHugger Robot [Fri, 15 Sep 2017 21:37:30 +0000 (21:37 +0000)]
Merge "Add writepage(s) blaming support to ioblame." into oc-mr1-dev

6 years agoAdd writepage(s) blaming support to ioblame.
Mohan Srinivasan [Fri, 8 Sep 2017 20:58:47 +0000 (13:58 -0700)]
Add writepage(s) blaming support to ioblame.

Make ioblame use the (f2fs) writepage(s) tracepoint, to attribute
writepage(s) to filenames. Useful to track down and tune apps that
might be writing too much.

Test: Tested the (new) -p option with f2fs (and also with ext4)
ensuring that it works with the former and exits gracefully with
error in the latter cases.

Bug: 63939317
Change-Id: I2a3ad02a650a293dbca4c23d0276bbe86ad648fe
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
6 years agorelease-request-f0fc1aa1-730c-4deb-b1ff-e8ebeeccc4b5-for-git_oc-mr1-release-4335659...
android-build-team Robot [Thu, 14 Sep 2017 07:28:28 +0000 (07:28 +0000)]
release-request-f0fc1aa1-730c-4deb-b1ff-e8ebeeccc4b5-for-git_oc-mr1-release-4335659 snap-temp-L85900000102427279

Change-Id: I28277470b5e2b2ee4e73de62721fd04b3b9a56d4

6 years agosimpleperf: Omit dwarf-callgraph tests running on arm translation tools.
Yabin Cui [Wed, 13 Sep 2017 20:21:32 +0000 (13:21 -0700)]
simpleperf: Omit dwarf-callgraph tests running on arm translation tools.

Bug: http://b/64946809
Bug: 64709603 (presubmit balking at the line above)
Test: run arm CtsSimpleperfTestCases32 on fugu.
Change-Id: I76ee44b8fd2a6022cbef32392ee0336fe4d14ade
(cherry picked from commit 64a9ecda2c006f90dcc047ad95be792139622ead)

6 years agorelease-request-b613f8ce-05b5-465e-b783-c1b87f3c1e95-for-git_oc-mr1-release-4332123...
android-build-team Robot [Wed, 13 Sep 2017 07:34:46 +0000 (07:34 +0000)]
release-request-b613f8ce-05b5-465e-b783-c1b87f3c1e95-for-git_oc-mr1-release-4332123 snap-temp-L59300000101925107

Change-Id: I1cfa0cc86fa4379670b6a761cfa4e2b798c73c0c

6 years agoext4_utils: fix off-by-one error when free blocks
Jin Qian [Fri, 8 Sep 2017 00:09:45 +0000 (17:09 -0700)]
ext4_utils: fix off-by-one error when free blocks

block points at one block before the region we wanted to free after
the loop that updats bitmap. This causes the code to free chunk still
being used.

Bug: 35262536
Test: lunch angler-userdebug; m dist
Test: lunch bullhead-userdebug; m dist
Change-Id: I7ebb30f4c7bcd01d3213ae0804a026a5ad98072c
(cherry picked from commit a4ed4e10e98b0efa4e259c99e84609bebb08cd66)

6 years agorelease-request-5f16c261-dcc8-4c4f-a0bd-deb507084f3d-for-git_oc-mr1-release-4303954...
android-build-team Robot [Tue, 29 Aug 2017 07:30:33 +0000 (07:30 +0000)]
release-request-5f16c261-dcc8-4c4f-a0bd-deb507084f3d-for-git_oc-mr1-release-4303954 snap-temp-L56100000097484036

Change-Id: I6793f1575118fadabf9d885cd3c8acd81633436c

6 years agoMerge "ext4_utils: skip symbolic links in basefs file" into oc-mr1-dev
TreeHugger Robot [Mon, 28 Aug 2017 22:33:49 +0000 (22:33 +0000)]
Merge "ext4_utils: skip symbolic links in basefs file" into oc-mr1-dev

6 years agoext4_utils: skip symbolic links in basefs file
Jin Qian [Mon, 28 Aug 2017 19:38:39 +0000 (12:38 -0700)]
ext4_utils: skip symbolic links in basefs file

base_fs uses actual file size instead of size of symlink itself to
reserve data blocks. This caused extra data blocks to be reserved
and failed e2fsck.

Bug: 35262536
Change-Id: I0e9b0cc99a0f9a33596928b01468426fc2d34ab0

6 years agosimpleperf: fix check of opening perf event files.
Yabin Cui [Fri, 25 Aug 2017 18:17:45 +0000 (11:17 -0700)]
simpleperf: fix check of opening perf event files.

When asked to monitor a process, record/stat cmd checks if we can
open perf event files for all threads successfully. However, it
fails when the monitored process has an exiting thread. This makes
record_cmd.duration_option test flakey, when there are exiting
threads in other tests, like record_cmd.handle_SIGHUP.

To fix this, only check if we can open perf event files for at
least one thread for each monitored process.

Bug: http://b/65047463
Bug: 64709603 (presubmit balking at the line above)
Test: run CtsSimpleperfTestCases.
Change-Id: Ia02ed498f49c9c6c452023ad31abb01a58071152
(cherry picked from commit b3ae56e485b4d971a909a8b04da65713a3d56872)

6 years agorelease-request-c924aaac-f0a2-4215-8dc4-e314f22460d9-for-git_oc-mr1-release-4301796...
android-build-team Robot [Mon, 28 Aug 2017 07:31:09 +0000 (07:31 +0000)]
release-request-c924aaac-f0a2-4215-8dc4-e314f22460d9-for-git_oc-mr1-release-4301796 snap-temp-L23200000097143969

Change-Id: I6c879a89736bf27be5d9508ea8dad6d9a346ab90

6 years agoMerge "Try to encrypt /data/media/obb but ignore failures" into oc-mr1-dev
TreeHugger Robot [Fri, 25 Aug 2017 22:33:27 +0000 (22:33 +0000)]
Merge "Try to encrypt /data/media/obb but ignore failures" into oc-mr1-dev

6 years agoAdd missing libdl dependencies
Pavlin Radoslavov [Wed, 23 Aug 2017 22:04:39 +0000 (15:04 -0700)]
Add missing libdl dependencies

Bug: 62815515
Test: lunch full-eng; make checkbuild
Merged-In: Iad3cf98d7c9e659ee517caf352613334215ea397
Change-Id: Iad3cf98d7c9e659ee517caf352613334215ea397
(cherry picked from commit 63562198ec26233ab48b22ee0b436e731f52bba0)

6 years agoTry to encrypt /data/media/obb but ignore failures
Paul Crowley [Thu, 10 Aug 2017 22:24:52 +0000 (15:24 -0700)]
Try to encrypt /data/media/obb but ignore failures

Bug: 64566063
Test: We test whether it's encrypted by trying to move a file from
/data/unencrypted into it. Used this test to make sure directory was
encrypted before change. Left file in directory, rebooted with change,
tested that it was still unencrypted. Deleted all files in directory,
rebooted again, tested that unencrypted files could no longer be moved
into directory.

Change-Id: I50df4949fb495ca8996c8a54e238af56a71f5df9

6 years agorelease-request-9ff446ef-fe26-4f50-a0f0-c1d38619140f-for-git_oc-mr1-release-4257899...
android-build-team Robot [Wed, 9 Aug 2017 07:29:25 +0000 (07:29 +0000)]
release-request-9ff446ef-fe26-4f50-a0f0-c1d38619140f-for-git_oc-mr1-release-4257899 snap-temp-L58400000090817127

Change-Id: Iddaabb5170866199e4dc57cf5bf785a81a04400f

6 years agoEnsure pstore has data before running CtsKernelConfigTestCases. am: b7c25d7f0a
Erwin Jansen [Tue, 8 Aug 2017 22:28:20 +0000 (22:28 +0000)]
Ensure pstore has data before running CtsKernelConfigTestCases. am: b7c25d7f0a
am: 127cf17a80

Change-Id: Ia316dc906912920e2d204d97ff0a3d2ff09a698a

6 years agoEnsure pstore has data before running CtsKernelConfigTestCases.
Erwin Jansen [Tue, 8 Aug 2017 22:25:20 +0000 (22:25 +0000)]
Ensure pstore has data before running CtsKernelConfigTestCases.
am: b7c25d7f0a

Change-Id: Iaaf13e2e1d93fc92b8a41773f23fbc5072eef605

6 years agorelease-request-d642586e-3e25-49f4-8b4c-acad0e3f63d8-for-git_oc-mr1-release-4249777...
android-build-team Robot [Sun, 6 Aug 2017 07:29:06 +0000 (07:29 +0000)]
release-request-d642586e-3e25-49f4-8b4c-acad0e3f63d8-for-git_oc-mr1-release-4249777 snap-temp-L81500000089724408

Change-Id: Iea61f7ba90e9031674d911f14725f60d1836d7c1

6 years agoMerge "Mark the module as VNDK or VNDK-SP in Android.bp" into oc-mr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 08:21:41 +0000 (08:21 +0000)]
Merge "Mark the module as VNDK or VNDK-SP in Android.bp" into oc-mr1-dev

6 years agorelease-request-c95412f1-5f1e-4c57-a922-faa9b288e2d0-for-git_oc-mr1-release-4229613...
android-build-team Robot [Sun, 30 Jul 2017 07:32:42 +0000 (07:32 +0000)]
release-request-c95412f1-5f1e-4c57-a922-faa9b288e2d0-for-git_oc-mr1-release-4229613 snap-temp-L11600000087367977

Change-Id: I7a1c70513f0f96a98fc2bcf53b8329f30f71e84c

6 years agoext4_utils: enable uninit_bg feature for ext4 mke2fs
Jin Qian [Thu, 27 Jul 2017 18:33:12 +0000 (11:33 -0700)]
ext4_utils: enable uninit_bg feature for ext4 mke2fs

Some devices have very slow storage media. This feature can speed
up filesystem creation time noticeably.

Bug: 63809106
Bug: 64101366
Change-Id: Id4886822035808bcb279dbf6f81989fee9cc0ace

6 years agoMark the module as VNDK or VNDK-SP in Android.bp
Justin Yun [Mon, 24 Jul 2017 06:19:45 +0000 (15:19 +0900)]
Mark the module as VNDK or VNDK-SP in Android.bp

As a VNDK/VNDK-SP module, Android.bp must have 'vndk' tag as well
as 'vendor_available: true'.

For a VNDK module, the 'vndk' tag has 'enabled: true'.
It will be installed system/lib(64)/vndk as a vendor variant.

For a VNDK-SP module, the 'vndk' tag has
'support_system_process: true' as well as 'enabled: true'.
It will be installed system/lib(64)/vndk-sp as a vendor variant.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: I7a2eaf4894188d4d300fcc78380a2b05517c54f4

6 years agorelease-request-e64ca0c4-2b43-4758-b238-0b8c6fabc365-for-git_oc-mr1-release-4207446...
android-build-team Robot [Sun, 23 Jul 2017 07:29:22 +0000 (07:29 +0000)]
release-request-e64ca0c4-2b43-4758-b238-0b8c6fabc365-for-git_oc-mr1-release-4207446 snap-temp-L19600000085022555

Change-Id: I6d62e39c4aa0c851cac3a70cbd5a6a816f076ba7

6 years agoAdd swapPSS support to showmap
Mathieu Chartier [Fri, 21 Jul 2017 19:08:14 +0000 (12:08 -0700)]
Add swapPSS support to showmap

The swap column in showmap is sometimes misleading since it is total
swap and not proportional. Shared dirty RAM is often shared swap with
the zygote and other processes.

Added a swapPSS column to the showmap output that shows the swapPss
which is proportional swap usage (from smaps).

Test: looked at showmap for a device that is swapping
Bug: 36457259

(cherry picked from commit 737412d6d59bdf5caee3504426019b95b2cf1a83)

Change-Id: I8ffdbcea325016e0cbb967fc5c425ec0ac5dda59

6 years agoEnsure pstore has data before running CtsKernelConfigTestCases.
Erwin Jansen [Tue, 18 Jul 2017 21:22:42 +0000 (14:22 -0700)]
Ensure pstore has data before running CtsKernelConfigTestCases.

Upon first boot it is possible that a device has nothing in its pstore.
We now inject messages in the pstore and reboot before running the test.

Bug: b/37627779
Test:  run cts -m CtsKernelConfigTestCases
Change-Id: I2ac1c2ce331054b408cb79136e076f31061d5a9a

6 years agorelease-request-d8901a87-7dd0-4cc8-a44e-d04982e429da-for-git_oc-mr1-release-4198291...
android-build-team Robot [Thu, 20 Jul 2017 07:28:49 +0000 (07:28 +0000)]
release-request-d8901a87-7dd0-4cc8-a44e-d04982e429da-for-git_oc-mr1-release-4198291 snap-temp-L50900000084068812

Change-Id: I62060f02b66acaf983b1560f9ceed178f3827b64

6 years agoMerge "simpleperf: update simpleperf prebuilts to build 4194070." am: c35e698dfc...
Yabin Cui [Thu, 20 Jul 2017 01:17:35 +0000 (01:17 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 4194070." am: c35e698dfc am: 1e197ca08a am: 1ab60afafb
am: 626cce4a48

Change-Id: I0e44efc4b51fc1c49dd506c2e40e83c04028b862

6 years agoMerge "simpleperf: update simpleperf prebuilts to build 4194070." am: c35e698dfc...
Yabin Cui [Thu, 20 Jul 2017 01:15:04 +0000 (01:15 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 4194070." am: c35e698dfc am: 1e197ca08a
am: 1ab60afafb

Change-Id: I341771db99425876136d4786f87c54e72f062777

6 years agoMerge "simpleperf: update simpleperf prebuilts to build 4194070." am: c35e698dfc
Yabin Cui [Thu, 20 Jul 2017 01:12:03 +0000 (01:12 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 4194070." am: c35e698dfc
am: 1e197ca08a

Change-Id: If0fc6655bc2ff0fd86230e226f66868c744be9fd

6 years agoMerge "simpleperf: update simpleperf prebuilts to build 4194070."
Yabin Cui [Thu, 20 Jul 2017 01:09:33 +0000 (01:09 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 4194070."
am: c35e698dfc

Change-Id: I8b638b8c61e89bb4e69fd3595761216de816cd9b

6 years agoMerge "simpleperf: update simpleperf prebuilts to build 4194070."
Yabin Cui [Thu, 20 Jul 2017 00:58:44 +0000 (00:58 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 4194070."

6 years agosimpleperf: update simpleperf prebuilts to build 4194070.
Yabin Cui [Wed, 19 Jul 2017 17:11:45 +0000 (10:11 -0700)]
simpleperf: update simpleperf prebuilts to build 4194070.

Taken from branch aosp-master.

Test: None.

Change-Id: Ie060ccd602cec70a1bae1c6bbca85f0d045606ac

6 years agorelease-request-e04bb055-13fc-41a1-8a9f-7fb10894ec3d-for-git_oc-mr1-release-4189380...
android-build-team Robot [Tue, 18 Jul 2017 07:34:05 +0000 (07:34 +0000)]
release-request-e04bb055-13fc-41a1-8a9f-7fb10894ec3d-for-git_oc-mr1-release-4189380 snap-temp-L90600000083186678

Change-Id: I721f14bea25081e7a1a952d7288ec78796f89c44

6 years agoMerge "simpleperf: add test for dumping regs for tracepoint events." am: 87fcb8c6c1...
Yabin Cui [Tue, 18 Jul 2017 02:55:33 +0000 (02:55 +0000)]
Merge "simpleperf: add test for dumping regs for tracepoint events." am: 87fcb8c6c1 am: eb21435bf2 am: c212c554b4
am: 88d977f12a

Change-Id: I295c1ac66cd386673ccaccaa64a15117115b274e

6 years agoMerge "simpleperf: add test for dumping regs for tracepoint events." am: 87fcb8c6c1...
Yabin Cui [Tue, 18 Jul 2017 02:53:04 +0000 (02:53 +0000)]
Merge "simpleperf: add test for dumping regs for tracepoint events." am: 87fcb8c6c1 am: eb21435bf2
am: c212c554b4

Change-Id: Iaad72fbf83387bc933e93e50c9ae826b6819759c

6 years agoMerge "simpleperf: add test for dumping regs for tracepoint events." am: 87fcb8c6c1
Yabin Cui [Tue, 18 Jul 2017 02:50:34 +0000 (02:50 +0000)]
Merge "simpleperf: add test for dumping regs for tracepoint events." am: 87fcb8c6c1
am: eb21435bf2

Change-Id: Ib0e0fa4ff6b5e8451ca69fa6b27aed14229222ab

6 years agoMerge "simpleperf: add test for dumping regs for tracepoint events."
Yabin Cui [Tue, 18 Jul 2017 02:48:06 +0000 (02:48 +0000)]
Merge "simpleperf: add test for dumping regs for tracepoint events."
am: 87fcb8c6c1

Change-Id: If27da0ebd6cc1a25bb0f44b9ce8b80ed1ff5c60f

6 years agoMerge "simpleperf: add test for dumping regs for tracepoint events."
Treehugger Robot [Tue, 18 Jul 2017 02:44:41 +0000 (02:44 +0000)]
Merge "simpleperf: add test for dumping regs for tracepoint events."

6 years agosimpleperf: add test for dumping regs for tracepoint events.
Yabin Cui [Mon, 17 Jul 2017 21:36:37 +0000 (14:36 -0700)]
simpleperf: add test for dumping regs for tracepoint events.

If the test fails, probably a kernel patch is missing:
5b09a094f2 arm64: perf: Fix callchain parse error with kernel tracepoint events

To support the test, also enable recording tracepoint events in
app's context.

Bug: http://b/29520177
Test: run CtsSimpleperfTestCases64 on devices.

Change-Id: I085114113732366305e92f6a1e6c3b6efc6ff5ff

6 years agoMerge "Add event monitoring to Inferno." am: 945911cbae am: 878c04ed7d am: d9a9139b54
Fabien Sanglard [Mon, 17 Jul 2017 18:50:32 +0000 (18:50 +0000)]
Merge "Add event monitoring to Inferno." am: 945911cbae am: 878c04ed7d am: d9a9139b54
am: 7d8ac8767e

Change-Id: Ic3c8b7d97d43d677f921201fd65be849cc7fb5b5

6 years agoMerge "Add event monitoring to Inferno." am: 945911cbae am: 878c04ed7d
Fabien Sanglard [Mon, 17 Jul 2017 18:48:02 +0000 (18:48 +0000)]
Merge "Add event monitoring to Inferno." am: 945911cbae am: 878c04ed7d
am: d9a9139b54

Change-Id: I7667a49e426cd64070a5d9685453025888671fcc

6 years agoMerge "Add event monitoring to Inferno." am: 945911cbae
Fabien Sanglard [Mon, 17 Jul 2017 18:45:32 +0000 (18:45 +0000)]
Merge "Add event monitoring to Inferno." am: 945911cbae
am: 878c04ed7d

Change-Id: I382e276fbd8c045732c7c4cdde0ff478993484e8

6 years agoMerge "Add event monitoring to Inferno."
Fabien Sanglard [Mon, 17 Jul 2017 18:43:03 +0000 (18:43 +0000)]
Merge "Add event monitoring to Inferno."
am: 945911cbae

Change-Id: I93d6d92ef1fab873c9144d70b271b61c26694930

6 years agoMerge "Add event monitoring to Inferno."
Treehugger Robot [Mon, 17 Jul 2017 18:35:22 +0000 (18:35 +0000)]
Merge "Add event monitoring to Inferno."

6 years agoMerge "simpleperf: replace config file with cmdline options." am: e5ad887a62 am:...
Yabin Cui [Mon, 17 Jul 2017 18:27:29 +0000 (18:27 +0000)]
Merge "simpleperf: replace config file with cmdline options." am: e5ad887a62 am: 271a040687 am: ac882615b5
am: 1688f39397

Change-Id: I5c923e680e63db67e022a7ae447ba66fed9b6f63

6 years agoMerge "simpleperf: replace config file with cmdline options." am: e5ad887a62 am:...
Yabin Cui [Mon, 17 Jul 2017 18:25:32 +0000 (18:25 +0000)]
Merge "simpleperf: replace config file with cmdline options." am: e5ad887a62 am: 271a040687
am: ac882615b5

Change-Id: Ic24aecaf202de6e2854b253eb4c43285c2708a13

6 years agoMerge "simpleperf: replace config file with cmdline options." am: e5ad887a62
Yabin Cui [Mon, 17 Jul 2017 18:23:29 +0000 (18:23 +0000)]
Merge "simpleperf: replace config file with cmdline options." am: e5ad887a62
am: 271a040687

Change-Id: Ieb735fa3f8ecbcc8a037e114faecd94ad73e6748

6 years agoMerge "simpleperf: replace config file with cmdline options."
Yabin Cui [Mon, 17 Jul 2017 18:21:31 +0000 (18:21 +0000)]
Merge "simpleperf: replace config file with cmdline options."
am: e5ad887a62

Change-Id: I71c585b603dff3c762512f7b88209ed8d2bbedbe

6 years agoMerge "simpleperf: replace config file with cmdline options."
Yabin Cui [Mon, 17 Jul 2017 18:13:28 +0000 (18:13 +0000)]
Merge "simpleperf: replace config file with cmdline options."

6 years agorelease-request-05263112-375a-4b1f-a657-a14bb2a5c5a3-for-git_oc-mr1-release-4185249...
android-build-team Robot [Sun, 16 Jul 2017 07:36:41 +0000 (07:36 +0000)]
release-request-05263112-375a-4b1f-a657-a14bb2a5c5a3-for-git_oc-mr1-release-4185249 snap-temp-L63000000082739046

Change-Id: Ib5fed2f048aa91631b2a103bc57698b81162cdfa

6 years agoMerge "simpleperf: change the way running cts tests." am: 9bc17045b0 am: 36caf047e2...
Yabin Cui [Sat, 15 Jul 2017 05:38:56 +0000 (05:38 +0000)]
Merge "simpleperf: change the way running cts tests." am: 9bc17045b0 am: 36caf047e2 am: 788898254e
am: 64ca96d48a

Change-Id: Ib611616632d303f044a1aaba685185dca9e1d846

6 years agoMerge "simpleperf: change the way running cts tests." am: 9bc17045b0 am: 36caf047e2
Yabin Cui [Sat, 15 Jul 2017 05:34:25 +0000 (05:34 +0000)]
Merge "simpleperf: change the way running cts tests." am: 9bc17045b0 am: 36caf047e2
am: 788898254e

Change-Id: I71b7aba0868f1150c250d6b484844ea54f5d828f

6 years agoMerge "simpleperf: change the way running cts tests." am: 9bc17045b0
Yabin Cui [Sat, 15 Jul 2017 05:29:25 +0000 (05:29 +0000)]
Merge "simpleperf: change the way running cts tests." am: 9bc17045b0
am: 36caf047e2

Change-Id: I3ffbac68c35a641a263eb9047d14c96cb36ee196

6 years agoMerge "simpleperf: change the way running cts tests."
Yabin Cui [Sat, 15 Jul 2017 05:24:27 +0000 (05:24 +0000)]
Merge "simpleperf: change the way running cts tests."
am: 9bc17045b0

Change-Id: Ib026e6cf03cbde6a943ac14a1f085ddea83207cd

6 years agoMerge "simpleperf: change the way running cts tests."
Treehugger Robot [Sat, 15 Jul 2017 05:18:31 +0000 (05:18 +0000)]
Merge "simpleperf: change the way running cts tests."

6 years agosimpleperf: change the way running cts tests.
Yabin Cui [Fri, 14 Jul 2017 22:59:56 +0000 (15:59 -0700)]
simpleperf: change the way running cts tests.

Before this CL, CtsSimpleperfTestCases copies itself to the app's
directory, then run it using run-as.

With this CL, CtsSimpleperfTestCases keeps itself in /data/local/tmp,
but forces stat/record cmd to run with --app option. This gives
more freedom to tests:
1. They can stay in shell's context with --in-app option.
2. The stat/record cmds are started in the shell's context, so
they can collect information no available in app's context (like
data in /sys/kernel/debug/tracing/events).

This is a preparation to add tests for recording tracepoint events.
It also matches the way we want users to use simpleperf (with --app option).

Bug: http://b/29520177
Test: run CtsSimpleperfTestCases.

Change-Id: I1709adfb1ff7169df87560226c197e473fdf8516

6 years agosimpleperf: replace config file with cmdline options.
Yabin Cui [Thu, 13 Jul 2017 21:49:42 +0000 (14:49 -0700)]
simpleperf: replace config file with cmdline options.

1. For binary_cache_builder.py, annoate.py and pprof_proto_generator.py,
there are only a few options, use a config file seems overkill, so
replace them with cmdline options.

2. Add cmdline interface for app_profiler.py. It is to simplify usage,
and can be called from tests (will be added).

3. Simplify the way to find tools (including adb,readelf,addr2line),
try to find them in default install location of sdk and ndk. And output
error/warning msg if not found.

4. Raise exception in python are not always helpful for users to find
problems, because the error msg is hidden by exception stack dump. So
replace some log_fatal() with log_exit().

5. Change README.md accordingly.

Bug: http://b/32834638
Test: run scripts manually.

Change-Id: Ic60e496edbe748b801d35144da29f40c3db3e250

6 years agoMerge "simpleperf: support "--app" option in record/stat command." am: 9aa1dc2f30...
Yabin Cui [Fri, 14 Jul 2017 23:54:56 +0000 (23:54 +0000)]
Merge "simpleperf: support "--app" option in record/stat command." am: 9aa1dc2f30 am: 44139af1f4 am: 422cf022c7
am: 1d2e80145c

Change-Id: Ifff7f53bc093299984de59cf1ccc79f3d9278db3

6 years agoMerge "simpleperf: support "--app" option in record/stat command." am: 9aa1dc2f30...
Yabin Cui [Fri, 14 Jul 2017 23:51:19 +0000 (23:51 +0000)]
Merge "simpleperf: support "--app" option in record/stat command." am: 9aa1dc2f30 am: 44139af1f4
am: 422cf022c7

Change-Id: I14b37ee17f58af8e9f4612b2f6ae3c03f6c5da8b

6 years agoMerge "simpleperf: support "--app" option in record/stat command." am: 9aa1dc2f30
Yabin Cui [Fri, 14 Jul 2017 23:42:35 +0000 (23:42 +0000)]
Merge "simpleperf: support "--app" option in record/stat command." am: 9aa1dc2f30
am: 44139af1f4

Change-Id: I4f152fe72dc5ffea7995dddd85f115d21f72acb1

6 years agoMerge "simpleperf: support "--app" option in record/stat command."
Yabin Cui [Fri, 14 Jul 2017 23:38:33 +0000 (23:38 +0000)]
Merge "simpleperf: support "--app" option in record/stat command."
am: 9aa1dc2f30

Change-Id: I4ca9cac0a3400f59d8e66fdeb1b68af2a62e7f98

6 years agoMerge "simpleperf: support "--app" option in record/stat command."
Treehugger Robot [Fri, 14 Jul 2017 23:32:35 +0000 (23:32 +0000)]
Merge "simpleperf: support "--app" option in record/stat command."

6 years agoMerge changes from topic 'ext4_encryption_flag' am: 7ce805c97e am: 4e02dcd7d0 am...
Tom Cherry [Fri, 14 Jul 2017 23:22:45 +0000 (23:22 +0000)]
Merge changes from topic 'ext4_encryption_flag' am: 7ce805c97e am: 4e02dcd7d0 am: 6af1b87cbc
am: dd57ee8632

Change-Id: I27486ce41355cfa387d29ebb3f8a1f531d8101fd

6 years agoext4.h: add EXT4_FEATURE_INCOMPAT_ENCRYPT am: 1468fbabdd am: de07b52713 am: 1965c510e4
Eric Biggers [Fri, 14 Jul 2017 23:22:40 +0000 (23:22 +0000)]
ext4.h: add EXT4_FEATURE_INCOMPAT_ENCRYPT am: 1468fbabdd am: de07b52713 am: 1965c510e4
am: 9522550f29

Change-Id: I32b97cad44c623f0fc9b8a73e04f3eb198a4058b

6 years agoMerge changes from topic 'ext4_encryption_flag' am: 7ce805c97e am: 4e02dcd7d0
Tom Cherry [Fri, 14 Jul 2017 23:18:08 +0000 (23:18 +0000)]
Merge changes from topic 'ext4_encryption_flag' am: 7ce805c97e am: 4e02dcd7d0
am: 6af1b87cbc

Change-Id: I4eaa7306a01fc156ee133f379c609d95a96bb3a3

6 years agoext4.h: add EXT4_FEATURE_INCOMPAT_ENCRYPT am: 1468fbabdd am: de07b52713
Eric Biggers [Fri, 14 Jul 2017 23:18:05 +0000 (23:18 +0000)]
ext4.h: add EXT4_FEATURE_INCOMPAT_ENCRYPT am: 1468fbabdd am: de07b52713
am: 1965c510e4

Change-Id: Ie865e9b5b0ee0bdb71e947845d105e7edd0e927d

6 years agoMerge changes from topic 'ext4_encryption_flag' am: 7ce805c97e
Tom Cherry [Fri, 14 Jul 2017 23:14:15 +0000 (23:14 +0000)]
Merge changes from topic 'ext4_encryption_flag' am: 7ce805c97e
am: 4e02dcd7d0

Change-Id: I562edcdf7fb0c8b84edfaf400702ce17d528c817

6 years agoext4.h: add EXT4_FEATURE_INCOMPAT_ENCRYPT am: 1468fbabdd
Eric Biggers [Fri, 14 Jul 2017 23:14:11 +0000 (23:14 +0000)]
ext4.h: add EXT4_FEATURE_INCOMPAT_ENCRYPT am: 1468fbabdd
am: de07b52713

Change-Id: I963381be3204e283381d41a79f608561f7195d44

6 years agoMerge changes from topic 'ext4_encryption_flag'
Tom Cherry [Fri, 14 Jul 2017 23:12:05 +0000 (23:12 +0000)]
Merge changes from topic 'ext4_encryption_flag'
am: 7ce805c97e

Change-Id: I11917818efdc536b35832116b4bafc7ecbaa29c7

6 years agoext4.h: add EXT4_FEATURE_INCOMPAT_ENCRYPT
Eric Biggers [Fri, 14 Jul 2017 23:11:55 +0000 (23:11 +0000)]
ext4.h: add EXT4_FEATURE_INCOMPAT_ENCRYPT
am: 1468fbabdd

Change-Id: I898cae635e00f2a01893b3d23b7c77f14fff684e

6 years agoMerge changes from topic 'ext4_encryption_flag'
Tom Cherry [Fri, 14 Jul 2017 23:06:30 +0000 (23:06 +0000)]
Merge changes from topic 'ext4_encryption_flag'

* changes:
  ext4_sb.h: make feature flags in fs_info 32-bit
  ext4.h: add EXT4_FEATURE_INCOMPAT_ENCRYPT

6 years agosimpleperf: support "--app" option in record/stat command.
Yabin Cui [Wed, 12 Jul 2017 22:50:20 +0000 (15:50 -0700)]
simpleperf: support "--app" option in record/stat command.

By using --app [package_name] option, users don't need to
manually run run-as or look for the app's process.
It is also good for profiling app startup time.

For simpleperf, it now can start in the shell's context,
and be able to get tracing events information, which can
support profiling tracepoint events for apps. This is
useful for monitoring thread sleep time.

This CL is tested manually, but I will change the
way of running simpleperf cts test to test this.

Bug: http://b/34108866
Test: test manually.

Change-Id: I8db0390af8e49c56dc4860374153f753bbcf9b11

6 years agoMerge "Add support for Go."
Mohan Srinivasan [Thu, 13 Jul 2017 20:43:45 +0000 (20:43 +0000)]
Merge "Add support for Go."

6 years agoAdd event monitoring to Inferno.
Fabien Sanglard [Thu, 13 Jul 2017 17:56:24 +0000 (10:56 -0700)]
Add event monitoring to Inferno.

Change-Id: Ifd695d3b13b0da74c1e87e05c89ceee1101fa22a

6 years agoAdd support for Go.
Mohan Srinivasan [Wed, 12 Jul 2017 22:13:50 +0000 (15:13 -0700)]
Add support for Go.

Add support for Go devices.

Test: Start app-launcher on Go and verify that the data reported looks
sane.

Change-Id: I1bc0bd23e7d807444f0ac35d7c18c8206bb7c12e
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
6 years agoMerge "Add an option to explicitly specify blockdev."
Mohan Srinivasan [Thu, 13 Jul 2017 17:58:21 +0000 (17:58 +0000)]
Merge "Add an option to explicitly specify blockdev."

6 years agoMerge "Inferno: A framegrapher based on simpleperf" am: af30023228 am: d8f0a1eb93...
Fabien Sanglard [Thu, 13 Jul 2017 16:57:03 +0000 (16:57 +0000)]
Merge "Inferno: A framegrapher based on simpleperf" am: af30023228 am: d8f0a1eb93 am: f72ee84ba0
am: f48607ac87

Change-Id: I19d9b0a810ce8dea5142af158924a9c33a660544

6 years agoMerge "Inferno: A framegrapher based on simpleperf" am: af30023228 am: d8f0a1eb93
Fabien Sanglard [Thu, 13 Jul 2017 16:54:35 +0000 (16:54 +0000)]
Merge "Inferno: A framegrapher based on simpleperf" am: af30023228 am: d8f0a1eb93
am: f72ee84ba0

Change-Id: I7f3c76af95c049425985b6dd89d00c75dfe24c80

6 years agoMerge "Inferno: A framegrapher based on simpleperf" am: af30023228
Fabien Sanglard [Thu, 13 Jul 2017 16:52:33 +0000 (16:52 +0000)]
Merge "Inferno: A framegrapher based on simpleperf" am: af30023228
am: d8f0a1eb93

Change-Id: I595ef7ed445cd973d413ac8f712d4ff8b67fff14

6 years agoMerge "Inferno: A framegrapher based on simpleperf"
Fabien Sanglard [Thu, 13 Jul 2017 16:49:33 +0000 (16:49 +0000)]
Merge "Inferno: A framegrapher based on simpleperf"
am: af30023228

Change-Id: I9b8ca44ac7ffa79870fa40c7c52bfd60d1259413

6 years agoMerge "Inferno: A framegrapher based on simpleperf"
Fabien Sanglard [Thu, 13 Jul 2017 16:46:21 +0000 (16:46 +0000)]
Merge "Inferno: A framegrapher based on simpleperf"

6 years agorelease-request-d3de000d-8c5a-4c3c-b63e-e989421d7762-for-git_oc-mr1-release-4176727...
android-build-team Robot [Thu, 13 Jul 2017 07:31:06 +0000 (07:31 +0000)]
release-request-d3de000d-8c5a-4c3c-b63e-e989421d7762-for-git_oc-mr1-release-4176727 snap-temp-L91200000081901352

Change-Id: I31aa092a54003b77b99ab9d3507d1b5f4c3d8b7c

6 years agoMerge "os-release.d: set the default version to four numbers." am: 80e0678406 am...
Sen Jiang [Thu, 13 Jul 2017 05:57:25 +0000 (05:57 +0000)]
Merge "os-release.d: set the default version to four numbers." am: 80e0678406 am: 65f9088af1 am: 2653fea4c7
am: 684962ce49

Change-Id: Ie3b95683a63dcae706a2d7f2b2d208b764b58014

6 years agoMerge "os-release.d: set the default version to four numbers." am: 80e0678406 am...
Sen Jiang [Thu, 13 Jul 2017 05:54:54 +0000 (05:54 +0000)]
Merge "os-release.d: set the default version to four numbers." am: 80e0678406 am: 65f9088af1
am: 2653fea4c7

Change-Id: I9c30b760626671f38a604149834da2cc8e547b80

6 years agoMerge "os-release.d: set the default version to four numbers." am: 80e0678406
Sen Jiang [Thu, 13 Jul 2017 05:52:53 +0000 (05:52 +0000)]
Merge "os-release.d: set the default version to four numbers." am: 80e0678406
am: 65f9088af1

Change-Id: I44152b354f0b872ef5b0c54bf4ac13496742cfbc

6 years agoMerge "os-release.d: set the default version to four numbers."
Sen Jiang [Thu, 13 Jul 2017 05:50:57 +0000 (05:50 +0000)]
Merge "os-release.d: set the default version to four numbers."
am: 80e0678406

Change-Id: Id75fbf587b59623b8c4ced6f108f880724362210

6 years agoMerge "os-release.d: set the default version to four numbers."
Treehugger Robot [Thu, 13 Jul 2017 05:46:38 +0000 (05:46 +0000)]
Merge "os-release.d: set the default version to four numbers."

6 years agoMerge "simpleperf: add test for recording cpu-clock." am: 9dc8dd6de2 am: 4f5d2f4357...
Yabin Cui [Thu, 13 Jul 2017 01:40:09 +0000 (01:40 +0000)]
Merge "simpleperf: add test for recording cpu-clock." am: 9dc8dd6de2 am: 4f5d2f4357 am: 3e74919c11
am: fa47378af7

Change-Id: Ife392b80f83f15cce6cecfcbf94e60bad25dde63