OSDN Git Service

android-x86/system-extras.git
7 years agoMerge "simpleperf: use file records in protobuf output."
Yabin Cui [Fri, 11 Nov 2016 01:21:46 +0000 (01:21 +0000)]
Merge "simpleperf: use file records in protobuf output."
am: 2a309ae76b

Change-Id: I2be21e68611ff552f9ecc7c3e8fa09a7ea783f85

7 years agoMerge "simpleperf: use file records in protobuf output."
Yabin Cui [Fri, 11 Nov 2016 01:14:26 +0000 (01:14 +0000)]
Merge "simpleperf: use file records in protobuf output."

7 years agosimpleperf: use file records in protobuf output.
Yabin Cui [Wed, 19 Oct 2016 22:06:29 +0000 (15:06 -0700)]
simpleperf: use file records in protobuf output.

Dump file name and symbol name for each CallChainEntry
takes too much space. So instead we store file_id and
symbol_id for each CallChainEntry, and store file
records separately.

In CallChainEntry, replace ip with vaddr_in_file, because
vaddr_in_file is more useful in finding instructions in
elf file.

Bug: http://b/32210800
Test: simpleperf_unit_test.
Change-Id: I85542db21acbaa4d81b3c3aa7f9215f2d23c4878

7 years agoMerge "Rename libfec_host to libfec."
Alex Deymo [Wed, 9 Nov 2016 19:14:14 +0000 (19:14 +0000)]
Merge "Rename libfec_host to libfec."
am: 51aa3fdeff

Change-Id: I46a420d99bc274de117ed038d965113d2422492e

7 years agoMerge "Rename libfec_host to libfec."
Alex Deymo [Wed, 9 Nov 2016 19:02:16 +0000 (19:02 +0000)]
Merge "Rename libfec_host to libfec."

7 years agoRename libfec_host to libfec.
Alex Deymo [Wed, 9 Nov 2016 03:13:52 +0000 (19:13 -0800)]
Rename libfec_host to libfec.

Host libraries don't need to have a different name from the device target.

Bug: None
Test: `make dist`
Change-Id: Ib7709a327ac2fdbdfb131e40f578217633e1f996

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 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."
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."
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."
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"
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."
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 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 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"
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 "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."
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 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"
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."
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 "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."
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 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 agoMerge "simpleperf: support building sample record manually."
Yabin Cui [Thu, 20 Oct 2016 23:28:24 +0000 (23:28 +0000)]
Merge "simpleperf: support building sample record manually."
am: 9ffbb8321e

Change-Id: I481bced683d416e18edeb029ec9799ff17cfc508

7 years agoMerge "simpleperf: support building sample record manually."
Yabin Cui [Thu, 20 Oct 2016 23:18:53 +0000 (23:18 +0000)]
Merge "simpleperf: support building sample record manually."

7 years agoMerge "libfec: correct verity table only if it's invalid"
Sami Tolvanen [Thu, 20 Oct 2016 18:20:29 +0000 (18:20 +0000)]
Merge "libfec: correct verity table only if it's invalid"
am: 3e8eb43762

Change-Id: I1d7716265ec80373fea1e6ed3127f526e8de0545

7 years agoMerge "libfec: correct verity table only if it's invalid"
Treehugger Robot [Thu, 20 Oct 2016 18:16:52 +0000 (18:16 +0000)]
Merge "libfec: correct verity table only if it's invalid"

7 years agosimpleperf: support building sample record manually.
Yabin Cui [Wed, 19 Oct 2016 18:28:48 +0000 (11:28 -0700)]
simpleperf: support building sample record manually.

And other small changes:
add time when building comm record.
move some Move*BinaryFormat to utils.h.
Handle wrong symbol whoes address can be ULLONG_MAX.

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

7 years agoMerge "simpleperf: add functions to IOEventLoop."
Yabin Cui [Thu, 20 Oct 2016 17:23:31 +0000 (17:23 +0000)]
Merge "simpleperf: add functions to IOEventLoop."
am: ed2e8624ef

Change-Id: I156f0396dd6b7c80a1bcc6e22101149a32df6f0d

7 years agoMerge "Simpleperf: add --max-stack and --percent-limit options for report cmd."
Yabin Cui [Thu, 20 Oct 2016 17:22:59 +0000 (17:22 +0000)]
Merge "Simpleperf: add --max-stack and --percent-limit options for report cmd."
am: 4b76b29dc1

Change-Id: I08c43de0ae179f2c274165c60f8302ed5d3d92e6

7 years agoMerge "simpleperf: add functions to IOEventLoop."
Yabin Cui [Thu, 20 Oct 2016 17:18:51 +0000 (17:18 +0000)]
Merge "simpleperf: add functions to IOEventLoop."

7 years agoMerge "Simpleperf: add --max-stack and --percent-limit options for report cmd."
Yabin Cui [Thu, 20 Oct 2016 17:18:35 +0000 (17:18 +0000)]
Merge "Simpleperf: add --max-stack and --percent-limit options for report cmd."

7 years agolibfec: correct verity table only if it's invalid
Sami Tolvanen [Wed, 19 Oct 2016 22:58:13 +0000 (15:58 -0700)]
libfec: correct verity table only if it's invalid

To increase reliability in the case where part of the partition is
corrupt and error correction might fail, attempt to use raw verity
table before the corrected one.

Bug: 32288104
Test: tested on angler
Change-Id: I201fdc6162c87b1808979486df5707d683a6d20c

7 years agoSimpleperf: add --max-stack and --percent-limit options for report cmd.
Yabin Cui [Thu, 29 Sep 2016 22:59:33 +0000 (15:59 -0700)]
Simpleperf: add --max-stack and --percent-limit options for report cmd.

Bug: http://b/24905115
Test: run simpleperf-unit-test.

Change-Id: I177f618f923f90069c0380063f0c3f93427dedd7

7 years agoSupport verifying the boot signature against the given pubkey.
Tao Bao [Wed, 19 Oct 2016 21:59:31 +0000 (14:59 -0700)]
Support verifying the boot signature against the given pubkey.

verify_boot_signature currently verifies the signature in the boot image
(against the certificate embedded in the image).

This CL supports additionally verifying the signature against the given
OEM pubkey (a fixed, tamper-protected key available to the bootloader).

Usage: verify_boot_signature <path-to-boot-image>
       verify_boot_signature <path-to-boot-image> <pubkey>

- Locally built boot image is signed with the default key.
$ openssl x509 -pubkey -noout -in build/target/product/security/verity.x509.pem > pubkey.pem
$ verify_boot_signature $OUT/boot.img pubkey.pem; echo $?
Signature is VALID
0

- Signed boot image should be verified with the OEM pubkey.
$ verify_boot_signature boot.img bullhead_pub.pem; echo $?
Signature is VALID
0

- Locally built boot image can be verified with its embedded certificate
  but not with the OEM pubkey. This will lead to the YELLOW boot state.
$ verify_boot_signature $OUT/boot.img; echo $?
Signature is VALID
0

$ verify_boot_signature $OUT/boot.img bullhead_pub.pem; echo $?
<...>
1

Bug: 32173582
Test: See above.

Change-Id: I11043eb796ccd128885e7412e65981cbd0183fb2

7 years agosimpleperf: add functions to IOEventLoop.
Yabin Cui [Wed, 19 Oct 2016 18:04:56 +0000 (11:04 -0700)]
simpleperf: add functions to IOEventLoop.

Support Write Event, and add functions to disable/enable Events.

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

7 years agoMerge "simpleperf: copy document from ndk-master."
Yabin Cui [Tue, 18 Oct 2016 21:33:33 +0000 (21:33 +0000)]
Merge "simpleperf: copy document from ndk-master."
am: b003c9c9eb

Change-Id: Ie9617ecebb92f2d4dcbbb107373faa581ce79f23

7 years agoMerge "simpleperf: copy document from ndk-master."
Treehugger Robot [Tue, 18 Oct 2016 21:13:06 +0000 (21:13 +0000)]
Merge "simpleperf: copy document from ndk-master."

7 years agosimpleperf: copy document from ndk-master.
Yabin Cui [Tue, 18 Oct 2016 19:26:26 +0000 (12:26 -0700)]
simpleperf: copy document from ndk-master.

Test: None, markdown only
Bug: None
Change-Id: I4d0ba07127f84119524df5d214c4731a7c9f06eb

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

7 years agoMerge changes from topic 'ext4_utils_header' am: 4ab6af6787 am: 83561b8869
Tao Bao [Mon, 10 Oct 2016 22:35:12 +0000 (22:35 +0000)]
Merge changes from topic 'ext4_utils_header' am: 4ab6af6787 am: 83561b8869
am: c4f589729b

Change-Id: I0ac92bf5bccb4aac7fa07d75edb0df37a73c6a0e

7 years agoMerge changes from topic 'ext4_utils_header' am: 4ab6af6787
Tao Bao [Mon, 10 Oct 2016 22:30:22 +0000 (22:30 +0000)]
Merge changes from topic 'ext4_utils_header' am: 4ab6af6787
am: 83561b8869

Change-Id: Ibbe821c05d09318d79c27327000313e012d9d3a2

7 years agolibfec: Update the header path for ext4_utils. am: 7f46e03817 am: 32dc554ecc
Tao Bao [Mon, 10 Oct 2016 22:14:52 +0000 (22:14 +0000)]
libfec: Update the header path for ext4_utils. am: 7f46e03817 am: 32dc554ecc
am: 2e8448f08b

Change-Id: I2bdc7e32aa3f4a158ef53f923b02ee46c98a1580

7 years agoext4_utils: Export headers for libext4_utils* libs. am: 018ef1be61 am: 46dcc11638
Tao Bao [Mon, 10 Oct 2016 22:14:50 +0000 (22:14 +0000)]
ext4_utils: Export headers for libext4_utils* libs. am: 018ef1be61 am: 46dcc11638
am: c8a81642cb

Change-Id: I4b7e2a8ba9f53ffbc47a93493f3ef2b9cb2247a4

7 years agolibfec: Update the header path for ext4_utils. am: 7f46e03817
Tao Bao [Mon, 10 Oct 2016 21:46:12 +0000 (21:46 +0000)]
libfec: Update the header path for ext4_utils. am: 7f46e03817
am: 32dc554ecc

Change-Id: I16f6f4c801d5ac1780feb5f38a8e61c7638c6936

7 years agoext4_utils: Export headers for libext4_utils* libs. am: 018ef1be61
Tao Bao [Mon, 10 Oct 2016 21:46:06 +0000 (21:46 +0000)]
ext4_utils: Export headers for libext4_utils* libs. am: 018ef1be61
am: 46dcc11638

Change-Id: Iefd0e6e102672d27ffb39f1b6905c93a0cc6e8d7

7 years agoMerge changes from topic 'ext4_utils_header'
Tao Bao [Mon, 10 Oct 2016 21:36:27 +0000 (21:36 +0000)]
Merge changes from topic 'ext4_utils_header'
am: 4ab6af6787

Change-Id: I76c462b9694e54240cf60ef4c05f124efec91ca1

7 years agolibfec: Update the header path for ext4_utils.
Tao Bao [Mon, 10 Oct 2016 21:14:53 +0000 (21:14 +0000)]
libfec: Update the header path for ext4_utils.
am: 7f46e03817

Change-Id: I47ccece0df9e7755e1a0ca3b6c5192d19cd143d6

7 years agoext4_utils: Export headers for libext4_utils* libs.
Tao Bao [Mon, 10 Oct 2016 21:14:50 +0000 (21:14 +0000)]
ext4_utils: Export headers for libext4_utils* libs.
am: 018ef1be61

Change-Id: I2169527bc16227bfeb9fc1c8a4f8ea2801aded38

7 years agoMerge changes from topic 'ext4_utils_header'
Tao Bao [Mon, 10 Oct 2016 20:07:32 +0000 (20:07 +0000)]
Merge changes from topic 'ext4_utils_header'

* changes:
  libfec: Update the header path for ext4_utils.
  ext4_utils: Export headers for libext4_utils* libs.

7 years agolibfec: Update the header path for ext4_utils.
Tao Bao [Thu, 6 Oct 2016 06:11:36 +0000 (23:11 -0700)]
libfec: Update the header path for ext4_utils.

Test: mmma system/extras/libfec

Change-Id: I28b71419019c3bb0873b159e178cdfcfb5d89922

7 years agoext4_utils: Export headers for libext4_utils* libs.
Tao Bao [Wed, 5 Oct 2016 19:44:18 +0000 (12:44 -0700)]
ext4_utils: Export headers for libext4_utils* libs.

So we can do "#include <ext4_utils/make_ext4fs.h>" without adding
"LOCAL_C_INCLUDES += system/extras/ext4_utils".

Also clean up the #include lines in system/extras/ext4_utils/.

Test: `m checkbuild` works.

Change-Id: I3c8b07c9b6f5996160e0cb6d9d069579b1609f60

7 years agoMerge "Rely on the platform -std default." am: 329e73bda6 am: 6b24b5786d
Elliott Hughes [Sun, 9 Oct 2016 00:15:14 +0000 (00:15 +0000)]
Merge "Rely on the platform -std default." am: 329e73bda6 am: 6b24b5786d
am: 6655268162

Change-Id: I706151b0a0d0fede0ec6b681c9a15f6ffe60a5c8

7 years agoMerge "Rely on the platform -std default." am: 329e73bda6
Elliott Hughes [Sun, 9 Oct 2016 00:10:14 +0000 (00:10 +0000)]
Merge "Rely on the platform -std default." am: 329e73bda6
am: 6b24b5786d

Change-Id: Ic3862d558e257d65fb765aeb01fbe2795df22d18

7 years agoMerge "Rely on the platform -std default."
Elliott Hughes [Sun, 9 Oct 2016 00:05:12 +0000 (00:05 +0000)]
Merge "Rely on the platform -std default."
am: 329e73bda6

Change-Id: Ib75b6aeb6a9633e327d4533f25c68fc99323fb6d

7 years agoMerge "Rely on the platform -std default."
Treehugger Robot [Sun, 9 Oct 2016 00:00:53 +0000 (00:00 +0000)]
Merge "Rely on the platform -std default."

7 years agoRely on the platform -std default.
Elliott Hughes [Fri, 7 Oct 2016 22:19:02 +0000 (15:19 -0700)]
Rely on the platform -std default.

Bug: http://b/32019064
Test: builds
Change-Id: I301b223df84ffdea7c93b5c735c859abcc5bb220

7 years agoMerge "Fix ext4_util logging" am: c9ff61e5f4 am: 581b45e474
Wei Wang [Fri, 7 Oct 2016 03:24:13 +0000 (03:24 +0000)]
Merge "Fix ext4_util logging" am: c9ff61e5f4 am: 581b45e474
am: 0b6bdf1674

Change-Id: I56ac5f64230dac0b104032fadb9930ecc3c913f4

7 years agoMerge "Fix ext4_util logging" am: c9ff61e5f4
Wei Wang [Fri, 7 Oct 2016 03:20:43 +0000 (03:20 +0000)]
Merge "Fix ext4_util logging" am: c9ff61e5f4
am: 581b45e474

Change-Id: I64f9b87d955aceb1cacdd29dfc01c13a6658cf3c

7 years agoMerge "Fix ext4_util logging"
Wei Wang [Fri, 7 Oct 2016 03:17:16 +0000 (03:17 +0000)]
Merge "Fix ext4_util logging"
am: c9ff61e5f4

Change-Id: Id12b9e614d8bf12ccd5154816b0d3ec284d3ed2a

7 years agoMerge "Fix ext4_util logging"
Treehugger Robot [Fri, 7 Oct 2016 03:08:51 +0000 (03:08 +0000)]
Merge "Fix ext4_util logging"

7 years agoFix ext4_util logging
Wei Wang [Thu, 6 Oct 2016 22:57:59 +0000 (15:57 -0700)]
Fix ext4_util logging

Init moved to base logging and current implementation will messed up the
init process logging

Bug: 31965943
Test: take the log after CL
Change-Id: I8823aa17d9dce082360261537d87ac15389d6ad8

7 years agoMerge "simpleperf: add perf counter into trace" am: a697736734 am: 8ec09a14ca
Wei Wang [Thu, 6 Oct 2016 19:43:25 +0000 (19:43 +0000)]
Merge "simpleperf: add perf counter into trace" am: a697736734 am: 8ec09a14ca
am: 4abb209ba0

Change-Id: I0a75682409ef24a898e77aecb5e9adab1da5405f

7 years agosimpleperf: add perf counter into trace am: cf69e4190b am: 6e26adf23f
Wei Wang [Thu, 6 Oct 2016 19:43:14 +0000 (19:43 +0000)]
simpleperf: add perf counter into trace am: cf69e4190b am: 6e26adf23f
am: 56e5cac50b

Change-Id: Iecd4179f6304aaffff47e04f6c25c038a9f11040

7 years agoMerge "simpleperf: add perf counter into trace" am: a697736734
Wei Wang [Thu, 6 Oct 2016 19:40:24 +0000 (19:40 +0000)]
Merge "simpleperf: add perf counter into trace" am: a697736734
am: 8ec09a14ca

Change-Id: I4d48c0af6580e48192ee455fc44286b64620a3f6

7 years agosimpleperf: add perf counter into trace am: cf69e4190b
Wei Wang [Thu, 6 Oct 2016 19:40:14 +0000 (19:40 +0000)]
simpleperf: add perf counter into trace am: cf69e4190b
am: 6e26adf23f

Change-Id: I6cde025d0fecc80de059818280a9fa6f350089e5

7 years agoMerge "simpleperf: add perf counter into trace"
Wei Wang [Thu, 6 Oct 2016 19:37:15 +0000 (19:37 +0000)]
Merge "simpleperf: add perf counter into trace"
am: a697736734

Change-Id: I317b14d9d3ffc648b6c2ba74f97cd332a4a59240

7 years agosimpleperf: add perf counter into trace
Wei Wang [Thu, 6 Oct 2016 19:37:14 +0000 (19:37 +0000)]
simpleperf: add perf counter into trace
am: cf69e4190b

Change-Id: Ie577beb249c440766689deaf418329f42a3fae7e

7 years agoMerge "simpleperf: add perf counter into trace"
Treehugger Robot [Thu, 6 Oct 2016 19:32:37 +0000 (19:32 +0000)]
Merge "simpleperf: add perf counter into trace"

7 years agosimpleperf: add perf counter into trace
Wei Wang [Thu, 29 Sep 2016 23:34:15 +0000 (16:34 -0700)]
simpleperf: add perf counter into trace

Bug: http://b/31840600
Test: captured systrace with simpleperf stat
Change-Id: I14447d048ea8d059a377c6f0d7cfc10041a98693

7 years agoMerge "Test for _WIN32 in system/extras instead of USE_MINGW." am: 1607d18122 am...
Elliott Hughes [Wed, 5 Oct 2016 21:07:50 +0000 (21:07 +0000)]
Merge "Test for _WIN32 in system/extras instead of USE_MINGW." am: 1607d18122 am: bc6d8081ce
am: bbbb529acf

Change-Id: Ic1fb45f99c4ee2a313520e538ffe94fc088438b6

7 years agoMerge "Test for _WIN32 in system/extras instead of USE_MINGW." am: 1607d18122
Elliott Hughes [Wed, 5 Oct 2016 21:04:50 +0000 (21:04 +0000)]
Merge "Test for _WIN32 in system/extras instead of USE_MINGW." am: 1607d18122
am: bc6d8081ce

Change-Id: Ic96642cefbb6433ff07ec9ba37b611b24dc90616

7 years agoMerge "Test for _WIN32 in system/extras instead of USE_MINGW."
Elliott Hughes [Wed, 5 Oct 2016 21:01:51 +0000 (21:01 +0000)]
Merge "Test for _WIN32 in system/extras instead of USE_MINGW."
am: 1607d18122

Change-Id: I44a4dacd7f130e86e86ac0fb1fe260e5f67bbfd2

7 years agoMerge "Test for _WIN32 in system/extras instead of USE_MINGW."
Treehugger Robot [Wed, 5 Oct 2016 20:56:57 +0000 (20:56 +0000)]
Merge "Test for _WIN32 in system/extras instead of USE_MINGW."