OSDN Git Service

android-x86/system-extras.git
7 years agoMerge "Change char to uint8_t in ext4_encryption_policy"
Paul Lawrence [Mon, 7 Nov 2016 22:11:26 +0000 (22:11 +0000)]
Merge "Change char to uint8_t in ext4_encryption_policy"

7 years agoMerge "simpleperf: make file feature section used in more report commands." am: f94f3...
Yabin Cui [Mon, 7 Nov 2016 19:30:24 +0000 (19:30 +0000)]
Merge "simpleperf: make file feature section used in more report commands." am: f94f3d3d43 am: 82431c98b5 am: e650833325
am: 50eec702ab

Change-Id: I8476e68a8d7a646303b32f93b36eb2ef29a7bcaf

7 years agoMerge "simpleperf: make file feature section used in more report commands." am: f94f3...
Yabin Cui [Mon, 7 Nov 2016 19:25:24 +0000 (19:25 +0000)]
Merge "simpleperf: make file feature section used in more report commands." am: f94f3d3d43 am: 82431c98b5
am: e650833325

Change-Id: I74194a1003e8a7828e7aa84e5396d38b1ebd1d74

7 years agoMerge "simpleperf: make file feature section used in more report commands." am: f94f3...
Yabin Cui [Mon, 7 Nov 2016 19:20:24 +0000 (19:20 +0000)]
Merge "simpleperf: make file feature section used in more report commands." am: f94f3d3d43
am: 82431c98b5

Change-Id: I0b005527d7e9636ab5ebc897b9e2187ccca0ae61

7 years agoMerge "simpleperf: make file feature section used in more report commands."
Yabin Cui [Mon, 7 Nov 2016 19:14:51 +0000 (19:14 +0000)]
Merge "simpleperf: make file feature section used in more report commands."
am: f94f3d3d43

Change-Id: I9b9e1e9b3a36d0821fc1139f639d0498c9be9da1

7 years agoMerge "simpleperf: make file feature section used in more report commands."
Yabin Cui [Mon, 7 Nov 2016 19:05:55 +0000 (19:05 +0000)]
Merge "simpleperf: make file feature section used in more report commands."

7 years agoChange char to uint8_t in ext4_encryption_policy
Paul Lawrence [Mon, 7 Nov 2016 18:34:45 +0000 (10:34 -0800)]
Change char to uint8_t in ext4_encryption_policy

Test: Make sure compiles and boots

Bug: 29000669
Change-Id: I4bb28677034c1381999d06d58335572b15745de9

7 years agosimpleperf: make file feature section used in more report commands.
Yabin Cui [Fri, 4 Nov 2016 23:49:35 +0000 (16:49 -0700)]
simpleperf: make file feature section used in more report commands.

Bug: http://b/32340274
Test: run simpleperf_unit_test.
Change-Id: I0bed466c145fdbb2988308f56a031c06bad16352

7 years agoMerge "simpleperf: dump file feature section." am: a9afa0053e am: a258c2bd4f am:...
Yabin Cui [Fri, 4 Nov 2016 18:54:56 +0000 (18:54 +0000)]
Merge "simpleperf: dump file feature section." am: a9afa0053e am: a258c2bd4f am: 2ec1db7382
am: cc79380cbf

Change-Id: I231b1fe0c14f07daa3574e50a1b7a1af218d168a

7 years agoMerge "simpleperf: dump file feature section." am: a9afa0053e am: a258c2bd4f
Yabin Cui [Fri, 4 Nov 2016 18:50:33 +0000 (18:50 +0000)]
Merge "simpleperf: dump file feature section." am: a9afa0053e am: a258c2bd4f
am: 2ec1db7382

Change-Id: Ia740b0e2e6723a88357d1b1a9ddeb01194a0182d

7 years agoMerge "simpleperf: dump file feature section." am: a9afa0053e
Yabin Cui [Fri, 4 Nov 2016 18:47:03 +0000 (18:47 +0000)]
Merge "simpleperf: dump file feature section." am: a9afa0053e
am: a258c2bd4f

Change-Id: Id6d99c256cff3c1ee684fbea497ba0d090cbdcd8

7 years agoMerge "simpleperf: dump file feature section."
Yabin Cui [Fri, 4 Nov 2016 18:43:04 +0000 (18:43 +0000)]
Merge "simpleperf: dump file feature section."
am: a9afa0053e

Change-Id: I186607a5752b6799e82ceddacf14152924b1ee36

7 years agoMerge "simpleperf: dump file feature section."
Yabin Cui [Fri, 4 Nov 2016 18:37:00 +0000 (18:37 +0000)]
Merge "simpleperf: dump file feature section."

7 years agoMerge "simpleperf: remove external sort." am: d2fcab88ef am: f4e360dcf5 am: 7e9a51f272
Yabin Cui [Mon, 31 Oct 2016 18:04:19 +0000 (18:04 +0000)]
Merge "simpleperf: remove external sort." am: d2fcab88ef am: f4e360dcf5 am: 7e9a51f272
am: 8828751a53

Change-Id: I4f42db6ce840164064c4bb7976ce643e41d05434

7 years agoMerge "simpleperf: remove external sort." am: d2fcab88ef am: f4e360dcf5
Yabin Cui [Mon, 31 Oct 2016 17:57:32 +0000 (17:57 +0000)]
Merge "simpleperf: remove external sort." am: d2fcab88ef am: f4e360dcf5
am: 7e9a51f272

Change-Id: Ie7b19d6d65bba4418d360cace6bd6ccb95b058f2

7 years agoMerge "simpleperf: remove external sort." am: d2fcab88ef
Yabin Cui [Mon, 31 Oct 2016 17:51:31 +0000 (17:51 +0000)]
Merge "simpleperf: remove external sort." am: d2fcab88ef
am: f4e360dcf5

Change-Id: I89e1b722ce2db1f15793057e384f6bc6e82ecc54

7 years agoMerge "simpleperf: remove external sort."
Yabin Cui [Mon, 31 Oct 2016 17:45:57 +0000 (17:45 +0000)]
Merge "simpleperf: remove external sort."
am: d2fcab88ef

Change-Id: I4292eb7c5b9f9fb0eccd5445071685d4b3b56bc4

7 years agosimpleperf: dump file feature section.
Yabin Cui [Mon, 24 Oct 2016 20:38:38 +0000 (13:38 -0700)]
simpleperf: dump file feature section.

For `record --dump-symbols` option, change from dumping
DsoRecord and SymbolRecord to dumping file feature section.
It is to avoid reading symbols from elf files during recording,
which takes a lot of time. And we don't want to mix optional
data (the symbol tables) with necessary data (the profiling records).

Bug: http://b/32340274
Test: run simpleperf_unit_test.
Test: run simpleperf runtest.py.

Change-Id: I0a387de243afac93486fc885f223a58060ec07f4

7 years agoMerge "simpleperf: remove external sort."
Yabin Cui [Mon, 31 Oct 2016 17:33:58 +0000 (17:33 +0000)]
Merge "simpleperf: remove external sort."

7 years agoMerge "simpleperf: avoid errors/warnings caused by sepolicy." am: 2a16892192 am:...
Yabin Cui [Sat, 29 Oct 2016 02:34:15 +0000 (02:34 +0000)]
Merge "simpleperf: avoid errors/warnings caused by sepolicy." am: 2a16892192 am: 13a5a7021e am: ca02e33aeb
am: f7f82b0283

Change-Id: Ied1edc51aa84e7523cc36a69fa218b8131ee19a6

7 years agoMerge "simpleperf: avoid errors/warnings caused by sepolicy." am: 2a16892192 am:...
Yabin Cui [Sat, 29 Oct 2016 02:28:45 +0000 (02:28 +0000)]
Merge "simpleperf: avoid errors/warnings caused by sepolicy." am: 2a16892192 am: 13a5a7021e
am: ca02e33aeb

Change-Id: I54a236f4a4e07077f3f833c65cef423c65b7fb74

7 years agoMerge "simpleperf: avoid errors/warnings caused by sepolicy." am: 2a16892192
Yabin Cui [Sat, 29 Oct 2016 02:23:44 +0000 (02:23 +0000)]
Merge "simpleperf: avoid errors/warnings caused by sepolicy." am: 2a16892192
am: 13a5a7021e

Change-Id: Ib2d5a08df7e856cbc9b5d792b907ff518cb8d963

7 years agoMerge "simpleperf: avoid errors/warnings caused by sepolicy."
Yabin Cui [Sat, 29 Oct 2016 02:17:45 +0000 (02:17 +0000)]
Merge "simpleperf: avoid errors/warnings caused by sepolicy."
am: 2a16892192

Change-Id: Ia024783075a63762055e7ff07f3f811c03206d74

7 years agoMerge "simpleperf: avoid errors/warnings caused by sepolicy."
Yabin Cui [Sat, 29 Oct 2016 02:10:20 +0000 (02:10 +0000)]
Merge "simpleperf: avoid errors/warnings caused by sepolicy."

7 years agosimpleperf: remove external sort.
Yabin Cui [Sat, 29 Oct 2016 01:50:04 +0000 (18:50 -0700)]
simpleperf: remove external sort.

Also remove set low mark for dwarf callgraph recording.

Bug: http://b/32343227
Test: run simpleperf runtest.py.
Test: run simpleperf_unit_test.
Change-Id: I57c0146b0a52cc1bb940a54f685058fe00677992

7 years agosimpleperf: avoid errors/warnings caused by sepolicy.
Yabin Cui [Fri, 28 Oct 2016 20:27:41 +0000 (13:27 -0700)]
simpleperf: avoid errors/warnings caused by sepolicy.

If running in an app user id, sepolicy doesn't allow reading
many /proc and /sys files, like /proc/<pid> belonging to
other users, /sys/kernel/notes, /proc/sys/kernel/perf_event_paranoid,
/proc/sys/kernel/kptr_restrict.
With this patch, simpleperf doesn't read /proc/<pid> belonging to
other users, and doesn't report error/warning when failing to read
/proc/sys/* files.

Bug: http://b/32460013
Test: run `simpleperf record` in an app user id.
Test: run simpleperf_unit_test.
Test: run simpleperf runtest.py.
Change-Id: I6618fbd10a9112637c8e501ec76628c9ec4ccaa7

7 years agoMerge "Convert perfprofd to Android.bp" am: 52ebd8e5b2 am: 4473b498fd am: 9d25c46373
Colin Cross [Fri, 28 Oct 2016 20:24:44 +0000 (20:24 +0000)]
Merge "Convert perfprofd to Android.bp" am: 52ebd8e5b2 am: 4473b498fd am: 9d25c46373
am: dcdc395081

Change-Id: I3a0a294f32b3087c414c06c309035aee3ecf025f

7 years agoMerge "Convert perfprofd to Android.bp" am: 52ebd8e5b2 am: 4473b498fd
Colin Cross [Fri, 28 Oct 2016 20:20:14 +0000 (20:20 +0000)]
Merge "Convert perfprofd to Android.bp" am: 52ebd8e5b2 am: 4473b498fd
am: 9d25c46373

Change-Id: I798955694a4e9c45d7695d8525ca7136ecf7f0e8

7 years agoMerge "Convert perfprofd to Android.bp" am: 52ebd8e5b2
Colin Cross [Fri, 28 Oct 2016 20:15:14 +0000 (20:15 +0000)]
Merge "Convert perfprofd to Android.bp" am: 52ebd8e5b2
am: 4473b498fd

Change-Id: I02b09ac68781004ba93122308fbb1420211c6f1c

7 years agoMerge "Convert perfprofd to Android.bp"
Colin Cross [Fri, 28 Oct 2016 20:10:14 +0000 (20:10 +0000)]
Merge "Convert perfprofd to Android.bp"
am: 52ebd8e5b2

Change-Id: I38a94da626204f78487141badc3f8257669951e0

7 years agoMerge "Convert perfprofd to Android.bp"
Treehugger Robot [Fri, 28 Oct 2016 20:04:49 +0000 (20:04 +0000)]
Merge "Convert perfprofd to Android.bp"

7 years agoConvert perfprofd to Android.bp
Colin Cross [Wed, 26 Oct 2016 17:23:15 +0000 (10:23 -0700)]
Convert perfprofd to Android.bp

See build/soong/README.md for more information.

Converted as a test for .proto compilation support.

Bug: 32286026
Test: perfprofd_test
Change-Id: I1e0934aa5bf4649d598ec460128de6f02711597f

7 years agoMerge "simpleperf: Add UnixSocket." am: b1bb2ea2fd am: 1d47e5ac0e am: fa5b08577b
Yabin Cui [Thu, 27 Oct 2016 16:49:50 +0000 (16:49 +0000)]
Merge "simpleperf: Add UnixSocket." am: b1bb2ea2fd am: 1d47e5ac0e am: fa5b08577b
am: 6810d18d76

Change-Id: I04fa2d22266e0acd1843b716545efbd77a84d7d5

7 years agoMerge "simpleperf: merge records from different buffers in memory." am: f95e0a3b26...
Yabin Cui [Thu, 27 Oct 2016 16:49:39 +0000 (16:49 +0000)]
Merge "simpleperf: merge records from different buffers in memory." am: f95e0a3b26 am: 7f12240c5e am: c94a502c98
am: 4749cf2f3b

Change-Id: I64160377935c04a55f8891a65261573601bff174

7 years agoMerge "simpleperf: reduce default test log output." am: bd0935dc79 am: 5f94c4360e...
Yabin Cui [Thu, 27 Oct 2016 16:49:29 +0000 (16:49 +0000)]
Merge "simpleperf: reduce default test log output." am: bd0935dc79 am: 5f94c4360e am: dcc1434a41
am: ade7c0edf6

Change-Id: I28690c3e52d795a68c3653d842c72cdb87bb7aa8

7 years agoMerge "simpleperf: Add UnixSocket." am: b1bb2ea2fd am: 1d47e5ac0e
Yabin Cui [Thu, 27 Oct 2016 16:44:53 +0000 (16:44 +0000)]
Merge "simpleperf: Add UnixSocket." am: b1bb2ea2fd am: 1d47e5ac0e
am: fa5b08577b

Change-Id: Ic7a8229530fef63499939cfc2642320cf57bda2b

7 years agoMerge "simpleperf: merge records from different buffers in memory." am: f95e0a3b26...
Yabin Cui [Thu, 27 Oct 2016 16:44:41 +0000 (16:44 +0000)]
Merge "simpleperf: merge records from different buffers in memory." am: f95e0a3b26 am: 7f12240c5e
am: c94a502c98

Change-Id: I938371ce5d4655c92d2044a654e8da22521b37f6

7 years agoMerge "simpleperf: reduce default test log output." am: bd0935dc79 am: 5f94c4360e
Yabin Cui [Thu, 27 Oct 2016 16:44:29 +0000 (16:44 +0000)]
Merge "simpleperf: reduce default test log output." am: bd0935dc79 am: 5f94c4360e
am: dcc1434a41

Change-Id: I5ab77a6aeb5e96907604b975c627207940871f26

7 years agoMerge "simpleperf: Add UnixSocket." am: b1bb2ea2fd
Yabin Cui [Thu, 27 Oct 2016 16:40:20 +0000 (16:40 +0000)]
Merge "simpleperf: Add UnixSocket." am: b1bb2ea2fd
am: 1d47e5ac0e

Change-Id: I77b30fee54aad48c8af518ff586b4f381fb0e89a

7 years agoMerge "simpleperf: merge records from different buffers in memory." am: f95e0a3b26
Yabin Cui [Thu, 27 Oct 2016 16:40:09 +0000 (16:40 +0000)]
Merge "simpleperf: merge records from different buffers in memory." am: f95e0a3b26
am: 7f12240c5e

Change-Id: Ia9bc150305d8fe940925930d59699d071f7c09d4

7 years agoMerge "simpleperf: reduce default test log output." am: bd0935dc79
Yabin Cui [Thu, 27 Oct 2016 16:39:59 +0000 (16:39 +0000)]
Merge "simpleperf: reduce default test log output." am: bd0935dc79
am: 5f94c4360e

Change-Id: I00523a8f65c385541534de4d7177b8fef8e18a5c

7 years agoMerge "simpleperf: Add UnixSocket."
Yabin Cui [Thu, 27 Oct 2016 16:35:50 +0000 (16:35 +0000)]
Merge "simpleperf: Add UnixSocket."
am: b1bb2ea2fd

Change-Id: I65d94193941f439aaac0889e3cdcb44b84419a48

7 years agoMerge "simpleperf: merge records from different buffers in memory."
Yabin Cui [Thu, 27 Oct 2016 16:35:40 +0000 (16:35 +0000)]
Merge "simpleperf: merge records from different buffers in memory."
am: f95e0a3b26

Change-Id: I00e77520245fff966d7b0a358cb50a2a1871ebb5

7 years agoMerge "simpleperf: reduce default test log output."
Yabin Cui [Thu, 27 Oct 2016 16:35:28 +0000 (16:35 +0000)]
Merge "simpleperf: reduce default test log output."
am: bd0935dc79

Change-Id: I0a1da4d0d98e828f7923c9f79da832f89001d0b6

7 years agoMerge "simpleperf: Add UnixSocket."
Yabin Cui [Thu, 27 Oct 2016 16:26:41 +0000 (16:26 +0000)]
Merge "simpleperf: Add UnixSocket."

7 years agoMerge "simpleperf: merge records from different buffers in memory."
Yabin Cui [Thu, 27 Oct 2016 16:26:19 +0000 (16:26 +0000)]
Merge "simpleperf: merge records from different buffers in memory."

7 years agoMerge "simpleperf: reduce default test log output."
Yabin Cui [Thu, 27 Oct 2016 16:26:00 +0000 (16:26 +0000)]
Merge "simpleperf: reduce default test log output."

7 years agosimpleperf: merge records from different buffers in memory.
Yabin Cui [Tue, 25 Oct 2016 02:13:09 +0000 (19:13 -0700)]
simpleperf: merge records from different buffers in memory.

By reading records from all buffers at once, we can merge records
in memory instead of sorting them in perf.data. To make it clear,
this patch only contains the code to merge records in memory, and
I will remove old method later.

Bug: http://b/32343227
Test: run simpleperf_unit_test.
Test: run simpleperf_runtest.py.
Change-Id: Iea2da06c072243c2014f43c8aa6d96a23cfb9123

7 years agosimpleperf: reduce default test log output.
Yabin Cui [Wed, 26 Oct 2016 23:17:25 +0000 (16:17 -0700)]
simpleperf: reduce default test log output.

Bug: http://b/32442055
Test: run simpleperf_cpu_hotplug_test.
Change-Id: I179a83cec98c6a32bdc9ba8ad403c199a8009f80

7 years agoresolve merge conflicts of 303a851 to nyc-mr2-dev-plus-aosp
Tao Bao [Wed, 26 Oct 2016 23:11:40 +0000 (23:11 +0000)]
resolve merge conflicts of 303a851 to nyc-mr2-dev-plus-aosp
am: 4a029de94a

Change-Id: Ia016bf93c4b4ae58dd2d46994daaec003b6701ff

7 years agoresolve merge conflicts of 303a851 to nyc-mr2-dev-plus-aosp
Tao Bao [Wed, 26 Oct 2016 22:50:11 +0000 (15:50 -0700)]
resolve merge conflicts of 303a851 to nyc-mr2-dev-plus-aosp

Change-Id: I2c128766ccab4c21ef87b0b87c6b6a517e9280b2

7 years agobuild_verity_metadata: Support --signer_args argument. am: 1522691d1d am: c2e9c0f0fc...
Tao Bao [Wed, 26 Oct 2016 22:27:01 +0000 (22:27 +0000)]
build_verity_metadata: Support --signer_args argument. am: 1522691d1d am: c2e9c0f0fc am: c681cb32b3
am: b91b1cd229

Change-Id: I2fdccda3685d5c255dda29680aa1f9ea7629fd47

7 years agobuild_verity_metadata: Support --signer_args argument. am: 1522691d1d am: c2e9c0f0fc
Tao Bao [Wed, 26 Oct 2016 22:23:00 +0000 (22:23 +0000)]
build_verity_metadata: Support --signer_args argument. am: 1522691d1d am: c2e9c0f0fc
am: c681cb32b3

Change-Id: Ifdaf37a7a04172798ce3ab125c799c819f350de3

7 years agobuild_verity_metadata: Support --signer_args argument. am: 1522691d1d
Tao Bao [Wed, 26 Oct 2016 22:18:30 +0000 (22:18 +0000)]
build_verity_metadata: Support --signer_args argument. am: 1522691d1d
am: c2e9c0f0fc

Change-Id: Id0290ac657b6ebd1c6ec59f6ac5f44cd3806d5d7

7 years agobuild_verity_metadata: Support --signer_args argument.
Tao Bao [Wed, 26 Oct 2016 22:13:29 +0000 (22:13 +0000)]
build_verity_metadata: Support --signer_args argument.
am: 1522691d1d

Change-Id: I9827575704475f3781a214ab73a3b82b7bd00e38

7 years agoMerge "Convert verity tools to subprocess" am: 6a28545530 am: 78e22d339a am: dcdb27f81b
Tianjie Xu [Wed, 26 Oct 2016 20:55:32 +0000 (20:55 +0000)]
Merge "Convert verity tools to subprocess" am: 6a28545530 am: 78e22d339a am: dcdb27f81b
am: bf7e78b4c1

Change-Id: Iab01d4475abcb7a66dc1e6a7e5803a24797cf4d5

7 years agoMerge "Convert verity tools to subprocess" am: 6a28545530 am: 78e22d339a
Tianjie Xu [Wed, 26 Oct 2016 20:48:21 +0000 (20:48 +0000)]
Merge "Convert verity tools to subprocess" am: 6a28545530 am: 78e22d339a
am: dcdb27f81b

Change-Id: Ie5a01d286f5e992de853faecdddaec597525d940

7 years agoMerge "Convert verity tools to subprocess" am: 6a28545530
Tianjie Xu [Wed, 26 Oct 2016 20:44:20 +0000 (20:44 +0000)]
Merge "Convert verity tools to subprocess" am: 6a28545530
am: 78e22d339a

Change-Id: Ibbc05ce648c0650cd77af6bf6d77ac1b1908f658

7 years agoMerge "Convert verity tools to subprocess"
Tianjie Xu [Wed, 26 Oct 2016 20:40:21 +0000 (20:40 +0000)]
Merge "Convert verity tools to subprocess"
am: 6a28545530

Change-Id: I640228fc63e3bbe56d0d101a7cda5702266dc8f2

7 years agoMerge "Convert verity tools to subprocess"
Tianjie Xu [Wed, 26 Oct 2016 20:34:23 +0000 (20:34 +0000)]
Merge "Convert verity tools to subprocess"

7 years agosimpleperf: Add UnixSocket.
Yabin Cui [Mon, 24 Oct 2016 23:53:32 +0000 (16:53 -0700)]
simpleperf: Add UnixSocket.

It is used for communication between inplace-sampler-server and simpleperf.

Bug: http://b/30974760
Test: run simpleperf_unit_test.
Change-Id: I055763b73fd0aaa03fe008c185ca8b78ab5435f2

7 years agoMerge "Make simpleperf build with LLVM r275480" am: c27cccb8ef am: 5c5e17693f am...
Pirama Arumuga Nainar [Wed, 26 Oct 2016 18:22:08 +0000 (18:22 +0000)]
Merge "Make simpleperf build with LLVM r275480" am: c27cccb8ef am: 5c5e17693f am: 9b1b5fe95e
am: 0290a3d935

Change-Id: I481552ff9fc51476e6b4eabc5b4af646f4be543b

7 years agoConvert verity tools to subprocess
Tianjie Xu [Wed, 26 Oct 2016 01:11:24 +0000 (18:11 -0700)]
Convert verity tools to subprocess

Convert build_verity_metadata.py to subprocess instead of commands
module.

Bug: 31500725
Test: build_verity_metadata.py executes successfully
Change-Id: I9a0db78390d330710e62a710f8f957743aebd822

7 years agoMerge "Make simpleperf build with LLVM r275480" am: c27cccb8ef am: 5c5e17693f
Pirama Arumuga Nainar [Wed, 26 Oct 2016 18:09:51 +0000 (18:09 +0000)]
Merge "Make simpleperf build with LLVM r275480" am: c27cccb8ef am: 5c5e17693f
am: 9b1b5fe95e

Change-Id: Ie147fd78a66223cac739e5d8bb97f4c1e3151796

7 years agoMerge "Make simpleperf build with LLVM r275480" am: c27cccb8ef
Pirama Arumuga Nainar [Wed, 26 Oct 2016 17:57:51 +0000 (17:57 +0000)]
Merge "Make simpleperf build with LLVM r275480" am: c27cccb8ef
am: 5c5e17693f

Change-Id: Ife2ad29270cac3a8ec041b7c1e7908f74ed7c8a5

7 years agoMerge "Make simpleperf build with LLVM r275480"
Pirama Arumuga Nainar [Wed, 26 Oct 2016 17:45:47 +0000 (17:45 +0000)]
Merge "Make simpleperf build with LLVM r275480"
am: c27cccb8ef

Change-Id: Icd9afadf40fff33c7a70a5600c7130811b5a6046

7 years agoMerge "Support verifying the boot signature against the given pubkey." am: a422392dbd...
Tao Bao [Wed, 26 Oct 2016 17:41:01 +0000 (17:41 +0000)]
Merge "Support verifying the boot signature against the given pubkey." am: a422392dbd am: eec8371fa1 am: 838c8b7729
am: 9b267181f5

Change-Id: I3bb1ef045f5c6df03bfff5662cecd06795456692

7 years agoMerge "Support verifying the boot signature against the given pubkey." am: a422392dbd...
Tao Bao [Wed, 26 Oct 2016 17:36:30 +0000 (17:36 +0000)]
Merge "Support verifying the boot signature against the given pubkey." am: a422392dbd am: eec8371fa1
am: 838c8b7729

Change-Id: Ia6acea16a7544d6a63ed9a0135618953762588ed

7 years agoMerge "Make simpleperf build with LLVM r275480"
Pirama Arumuga Nainar [Wed, 26 Oct 2016 17:35:50 +0000 (17:35 +0000)]
Merge "Make simpleperf build with LLVM r275480"

7 years agoMerge "Support verifying the boot signature against the given pubkey." am: a422392dbd
Tao Bao [Wed, 26 Oct 2016 17:32:29 +0000 (17:32 +0000)]
Merge "Support verifying the boot signature against the given pubkey." am: a422392dbd
am: eec8371fa1

Change-Id: I68e0e2339425131c4f5149c5dca859a90224f76f

7 years agoMerge "Support verifying the boot signature against the given pubkey."
Tao Bao [Wed, 26 Oct 2016 17:28:32 +0000 (17:28 +0000)]
Merge "Support verifying the boot signature against the given pubkey."
am: a422392dbd

Change-Id: I3a13f72440eb35f7f3b43e64424100b88dfa1324

7 years agoMerge "Support verifying the boot signature against the given pubkey."
Treehugger Robot [Wed, 26 Oct 2016 17:17:36 +0000 (17:17 +0000)]
Merge "Support verifying the boot signature against the given pubkey."

7 years agoMake simpleperf build with LLVM r275480
Pirama Arumuga Nainar [Fri, 16 Sep 2016 23:53:25 +0000 (16:53 -0700)]
Make simpleperf build with LLVM r275480

Bug: http://b/31320715

Test: simpleperf_unit_test on host and target
Change-Id: I3b81884af6dc7371a91d1cd34b777e952e6c9d6b

7 years agobuild_verity_metadata: Support --signer_args argument.
Tao Bao [Mon, 17 Oct 2016 23:06:31 +0000 (16:06 -0700)]
build_verity_metadata: Support --signer_args argument.

Use argparse to parse input parameters for future extension.

Add 'build' and 'size' as two sub-commands.
- 'build_verity_metadata.py -s SIZE' becomes
  'build_verity_metadata.py size SIZE'.

- 'build_verity_metadata.py BLOCKS METADATA_IMAGE ...' becomes
  'build_verity_metadata.py build BLOCKS METADATA_IMAGE ...'.

The 'build' command now accepts an optional argument '--signer_args' to
specify signer specific arguments.

Bug: 31500665
Test: Building and signing work w/ and w/o --signer_args.

Change-Id: I3cfd2b584efad216b91d5fcd0314f4468ff7450f
(cherry picked from commit 39d1756abe66538a6cbdfc4c7b5377ce279e332c)

7 years agoMerge "simpleperf: use Dso::IsHit() to mark hit binaries." am: e7448f00cf am: d8cbb4d...
Yabin Cui [Tue, 25 Oct 2016 19:34:11 +0000 (19:34 +0000)]
Merge "simpleperf: use Dso::IsHit() to mark hit binaries." am: e7448f00cf am: d8cbb4dbfe am: fae3f6b6c8
am: 3c0411934d

Change-Id: I630020b0b3d5dc52bc2b9b30f2fcf0390da2478b

7 years agoMerge "simpleperf: use Dso::IsHit() to mark hit binaries." am: e7448f00cf am: d8cbb4dbfe
Yabin Cui [Tue, 25 Oct 2016 19:29:33 +0000 (19:29 +0000)]
Merge "simpleperf: use Dso::IsHit() to mark hit binaries." am: e7448f00cf am: d8cbb4dbfe
am: fae3f6b6c8

Change-Id: I568f2f18f092fe3282ee1be7bc00940ead43f25f

7 years agoMerge "simpleperf: use Dso::IsHit() to mark hit binaries." am: e7448f00cf
Yabin Cui [Tue, 25 Oct 2016 19:25:02 +0000 (19:25 +0000)]
Merge "simpleperf: use Dso::IsHit() to mark hit binaries." am: e7448f00cf
am: d8cbb4dbfe

Change-Id: Iaa908749aad9909c9cf138565ede09ff2a7571ac

7 years agoMerge "simpleperf: use Dso::IsHit() to mark hit binaries."
Yabin Cui [Tue, 25 Oct 2016 19:20:35 +0000 (19:20 +0000)]
Merge "simpleperf: use Dso::IsHit() to mark hit binaries."
am: e7448f00cf

Change-Id: I760b58b78598154262e49ee185ce54f5bade7646

7 years agoMerge "simpleperf: use Dso::IsHit() to mark hit binaries."
Yabin Cui [Tue, 25 Oct 2016 19:15:54 +0000 (19:15 +0000)]
Merge "simpleperf: use Dso::IsHit() to mark hit binaries."

7 years agosimpleperf: use Dso::IsHit() to mark hit binaries.
Yabin Cui [Mon, 24 Oct 2016 21:09:26 +0000 (14:09 -0700)]
simpleperf: use Dso::IsHit() to mark hit binaries.

Bug: http://b/32340274
Test: simpleperf_unit_test.
Change-Id: I074973cdc0420d28c7dfcaca80e477234bceec95

7 years agoMerge "Remove unused dependencies" am: 1a62169e96 am: 036879c96d am: 8d5fd46b60
Michael Schwartz [Tue, 25 Oct 2016 15:46:38 +0000 (15:46 +0000)]
Merge "Remove unused dependencies" am: 1a62169e96 am: 036879c96d am: 8d5fd46b60
am: 4505c86d6f

Change-Id: I22675a5c4f00c9029b0dbfd9d5bdb5bf146a381b

7 years agoMerge "Remove unused dependencies" am: 1a62169e96 am: 036879c96d
Michael Schwartz [Tue, 25 Oct 2016 15:43:08 +0000 (15:43 +0000)]
Merge "Remove unused dependencies" am: 1a62169e96 am: 036879c96d
am: 8d5fd46b60

Change-Id: Iea363f0a123f7879ae028b7f6ce76cecee68509b

7 years agoMerge "Remove unused dependencies" am: 1a62169e96
Michael Schwartz [Tue, 25 Oct 2016 15:39:38 +0000 (15:39 +0000)]
Merge "Remove unused dependencies" am: 1a62169e96
am: 036879c96d

Change-Id: Iaad4411996c82777b77825d0267ac9526d4e955e

7 years agoMerge "Remove unused dependencies"
Michael Schwartz [Tue, 25 Oct 2016 15:35:38 +0000 (15:35 +0000)]
Merge "Remove unused dependencies"
am: 1a62169e96

Change-Id: I5a6de85a7fb00ec8ecb9913dbc077046e3842bed

7 years agoMerge "Remove unused dependencies"
Michael Schwartz [Tue, 25 Oct 2016 15:31:40 +0000 (15:31 +0000)]
Merge "Remove unused dependencies"

7 years agoRemove unused dependencies
Michael Schwartz [Tue, 18 Oct 2016 17:36:50 +0000 (10:36 -0700)]
Remove unused dependencies

Bug: 32208916
Test: Builds on bullhead_treble-userdebug

Change-Id: I0933d2289a534c5260ad1826d88007ec7e4e5f43

7 years agoMerge "build_verity_metadata: Support --signer_args argument." am: 58117c6714 am...
Tao Bao [Mon, 24 Oct 2016 19:03:54 +0000 (19:03 +0000)]
Merge "build_verity_metadata: Support --signer_args argument." am: 58117c6714 am: 949aa8c79b am: 72a8037127
am: 610b600394

Change-Id: If4fad9daa633b58b51212db90199d9af3b9e9b47

7 years agoMerge "build_verity_metadata: Support --signer_args argument." am: 58117c6714 am...
Tao Bao [Mon, 24 Oct 2016 19:00:23 +0000 (19:00 +0000)]
Merge "build_verity_metadata: Support --signer_args argument." am: 58117c6714 am: 949aa8c79b
am: 72a8037127

Change-Id: I6f3331f05e5c84f2a54cb313531844266bc250ee

7 years agoMerge "build_verity_metadata: Support --signer_args argument." am: 58117c6714
Tao Bao [Mon, 24 Oct 2016 18:56:52 +0000 (18:56 +0000)]
Merge "build_verity_metadata: Support --signer_args argument." am: 58117c6714
am: 949aa8c79b

Change-Id: I5868a960f08bfb7b4c595d1aec53f1a508c26b2a

7 years agoMerge "build_verity_metadata: Support --signer_args argument."
Tao Bao [Mon, 24 Oct 2016 18:53:25 +0000 (18:53 +0000)]
Merge "build_verity_metadata: Support --signer_args argument."
am: 58117c6714

Change-Id: Ic4c05c49a59f757d8395dd0b611081b64dd7812e

7 years agoMerge "simpleperf: fix dumping build id." am: 6f5984af9e am: ce69042ed2 am: b7e69fb251
Yabin Cui [Mon, 24 Oct 2016 18:52:16 +0000 (18:52 +0000)]
Merge "simpleperf: fix dumping build id." am: 6f5984af9e am: ce69042ed2 am: b7e69fb251
am: bac40f8fd5

Change-Id: I37212ffbb0a984ec5b7874d2c6a12689f38ca14a

7 years agoMerge "build_verity_metadata: Support --signer_args argument."
Tao Bao [Mon, 24 Oct 2016 18:50:14 +0000 (18:50 +0000)]
Merge "build_verity_metadata: Support --signer_args argument."

7 years agoMerge "simpleperf: fix dumping build id." am: 6f5984af9e am: ce69042ed2
Yabin Cui [Mon, 24 Oct 2016 18:44:59 +0000 (18:44 +0000)]
Merge "simpleperf: fix dumping build id." am: 6f5984af9e am: ce69042ed2
am: b7e69fb251

Change-Id: I6edf3e87dcf56a0ba5f90276f7f7e5f38f157b9e

7 years agoMerge "simpleperf: fix dumping build id." am: 6f5984af9e
Yabin Cui [Mon, 24 Oct 2016 18:40:57 +0000 (18:40 +0000)]
Merge "simpleperf: fix dumping build id." am: 6f5984af9e
am: ce69042ed2

Change-Id: I9770d8c91e396512ce93de44ae584e5a7ff18fe7

7 years agoMerge "simpleperf: fix dumping build id."
Yabin Cui [Mon, 24 Oct 2016 18:34:19 +0000 (18:34 +0000)]
Merge "simpleperf: fix dumping build id."
am: 6f5984af9e

Change-Id: I65cac87bd8179a4f2f827d6fdb7b65059f91182d

7 years agoMerge "simpleperf: fix dumping build id."
Yabin Cui [Mon, 24 Oct 2016 18:25:12 +0000 (18:25 +0000)]
Merge "simpleperf: fix dumping build id."

7 years agoMerge "Also move vdex files from system_b."
Nicolas Geoffray [Mon, 24 Oct 2016 11:28:51 +0000 (11:28 +0000)]
Merge "Also move vdex files from system_b."

7 years agosimpleperf: fix dumping build id.
Yabin Cui [Sat, 22 Oct 2016 02:16:51 +0000 (19:16 -0700)]
simpleperf: fix dumping build id.

1. Dump build id for binaries hit by callchain ips.
2. Fix a memory used after free bug in ReadBuildIdFeature().

Bug: http://b/32340274
Test: simpleperf_unit_test.
Test: check output of `simpleperf dump` manually.
Change-Id: I0132e5ce0e06096413231325e9f1d215143eedd2

7 years agoAlso move vdex files from system_b.
Nicolas Geoffray [Thu, 20 Oct 2016 15:58:52 +0000 (16:58 +0100)]
Also move vdex files from system_b.

Both .odex and .vdex files are needed to avoid doing dexopt
at first boot.

bug:32224338
bug:29278988

Test: flash pixel device, check no dex2oat of prebuilts is done.

Change-Id: Iafaeae64efd4e044590ef23d813aa0e2642c1226

7 years agoMerge "simpleperf: support building sample record manually." am: 9ffbb8321e am: 2b770...
Yabin Cui [Thu, 20 Oct 2016 23:42:39 +0000 (23:42 +0000)]
Merge "simpleperf: support building sample record manually." am: 9ffbb8321e am: 2b7704df9b
am: 7781cf9817

Change-Id: I947688a2ce0cbb1d27cea0873e4c1f85ff146460