OSDN Git Service

android-x86/system-extras.git
7 years agoMerge "bootctrl HAL uses "default" service name"
Chris Phoenix [Mon, 23 Jan 2017 20:27:49 +0000 (20:27 +0000)]
Merge "bootctrl HAL uses "default" service name"

7 years agoMerge "Android.mk flags to install ioshark only on userdebug builds."
Mohan Srinivasan [Mon, 23 Jan 2017 19:43:57 +0000 (19:43 +0000)]
Merge "Android.mk flags to install ioshark only on userdebug builds."

7 years agoMerge "simpleperf: profile non-debuggable apps on rooted devices." am: d69dc72924...
Yabin Cui [Mon, 23 Jan 2017 18:35:18 +0000 (18:35 +0000)]
Merge "simpleperf: profile non-debuggable apps on rooted devices." am: d69dc72924 am: 64114ddf2e am: b4af4c3634
am: 668c718a58

Change-Id: I51a45d5588a5d512c0df6ba80cffa15372edc986

7 years agoMerge "simpleperf: profile non-debuggable apps on rooted devices." am: d69dc72924...
Yabin Cui [Mon, 23 Jan 2017 18:31:42 +0000 (18:31 +0000)]
Merge "simpleperf: profile non-debuggable apps on rooted devices." am: d69dc72924 am: 64114ddf2e
am: b4af4c3634

Change-Id: Ie220f297ba75b4df2b35fda25959bfada19628a1

7 years agoMerge "simpleperf: profile non-debuggable apps on rooted devices." am: d69dc72924
Yabin Cui [Mon, 23 Jan 2017 18:27:24 +0000 (18:27 +0000)]
Merge "simpleperf: profile non-debuggable apps on rooted devices." am: d69dc72924
am: 64114ddf2e

Change-Id: I9b0e320c594b27e593f8335eb413f6e996191c61

7 years agoMerge "simpleperf: profile non-debuggable apps on rooted devices."
Yabin Cui [Mon, 23 Jan 2017 18:23:20 +0000 (18:23 +0000)]
Merge "simpleperf: profile non-debuggable apps on rooted devices."
am: d69dc72924

Change-Id: Ib0017026f5327a4369efd3283a15d3b9fc2b8ed7

7 years agoMerge "simpleperf: profile non-debuggable apps on rooted devices."
Yabin Cui [Mon, 23 Jan 2017 18:19:14 +0000 (18:19 +0000)]
Merge "simpleperf: profile non-debuggable apps on rooted devices."

7 years agoAndroid.mk flags to install ioshark only on userdebug builds.
Mohan Srinivasan [Mon, 23 Jan 2017 00:07:45 +0000 (16:07 -0800)]
Android.mk flags to install ioshark only on userdebug builds.

Android.mk flags to build and install ioshark only on userdebug
builds, where it is installed in xbin/.

Test: Build user and userdebug, and make sure that (a) ioshark
only gets built on userdebug builds and installed under xbin/.

Change-Id: Ia2a367d9e33884cc46f65761b283d8b1eb9f280a
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
7 years agobootctrl HAL uses "default" service name
Chris Phoenix [Fri, 20 Jan 2017 19:37:15 +0000 (11:37 -0800)]
bootctrl HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds; verify HAL still works

Bug: 33844934

Change-Id: Idc2c5ba09f2486ff9cc9815d72a7e5a0af323b22

7 years agoMerge "Set stripe_width and stride params in make_ext4fs" am: 03785cf69e am: c7f8230a...
Connor O'Brien [Sat, 21 Jan 2017 00:43:57 +0000 (00:43 +0000)]
Merge "Set stripe_width and stride params in make_ext4fs" am: 03785cf69e am: c7f8230a7c am: d3c96f8749
am: d4d291a2d9

Change-Id: Iaa819e8e3d0782bfc20b2221e8c42ab1088bf676

7 years agoMerge "Set stripe_width and stride params in make_ext4fs" am: 03785cf69e am: c7f8230a7c
Connor O'Brien [Sat, 21 Jan 2017 00:23:02 +0000 (00:23 +0000)]
Merge "Set stripe_width and stride params in make_ext4fs" am: 03785cf69e am: c7f8230a7c
am: d3c96f8749

Change-Id: I6b8e07aae32bb9517a5b772c6cef1e0c34f6ac93

7 years agoMerge "Set stripe_width and stride params in make_ext4fs" am: 03785cf69e
Connor O'Brien [Sat, 21 Jan 2017 00:19:32 +0000 (00:19 +0000)]
Merge "Set stripe_width and stride params in make_ext4fs" am: 03785cf69e
am: c7f8230a7c

Change-Id: I9a8998bfba37b356ad44f12bee3822c4ef71627c

7 years agoMerge "Set stripe_width and stride params in make_ext4fs"
Connor O'Brien [Sat, 21 Jan 2017 00:15:32 +0000 (00:15 +0000)]
Merge "Set stripe_width and stride params in make_ext4fs"
am: 03785cf69e

Change-Id: I0c7ea59f5ac6d4b5d0cddc62939903380e674581

7 years agosimpleperf: profile non-debuggable apps on rooted devices.
Yabin Cui [Sat, 21 Jan 2017 00:14:32 +0000 (16:14 -0800)]
simpleperf: profile non-debuggable apps on rooted devices.

run-as requires apps to be debuggable. But on rooted devices,
we can profile non-debuggable apps by running as root.

Bug: http://b/32834638
Test: run app_profiler.py.
Change-Id: I7cc44893fd4a67593b4f1791fb7fb4a70fd273e9

7 years agoMerge "Set stripe_width and stride params in make_ext4fs"
Connor O'Brien [Sat, 21 Jan 2017 00:06:04 +0000 (00:06 +0000)]
Merge "Set stripe_width and stride params in make_ext4fs"

7 years agoSet stripe_width and stride params in make_ext4fs
Connor O'Brien [Fri, 20 Jan 2017 19:50:32 +0000 (11:50 -0800)]
Set stripe_width and stride params in make_ext4fs

If available, make_ext4fs will use flash erase & logical block
sizes to tune stride and stripe_width.

Test: Build userdata w/ make_ext4fs, flash, check stride & stripe values
Bug: 33243520
Change-Id: I54f95d822cc1ccc0ebb5edec023560cd9e30e259
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoioshark: A Repeatable Application Workload Storage Benchmark.
Mohan Srinivasan [Fri, 20 Jan 2017 00:40:52 +0000 (16:40 -0800)]
ioshark: A Repeatable Application Workload Storage Benchmark.

ioshark is a repeatable application workload based storage benchmark.
ioshark takes as input strace files, compiles them into bytecodes that
you can then feed into the benchmark. This allows us to collect straces
for a chosen application workload (by stracing zygote/zygote64), and use
these to do A-B comparisons of storage features (anything including the
filesystem and below, including new hardware).

Test: Extra tests for ioshark aren't needed, ioshark reports detailed
stats at the end of the run, which tells us whether the ioshark run
was successful or not. In addition, we can strace ioshark_bench as it
runs to make sure it is launching IOs as we would expect it to.

Change-Id: I51fa9879dc11b526385eb7827ca2b4186662a463
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
7 years agoMerge "Revert "ioshark: A Repeatable Application Workload Based Storage Benchmark...
Mohan Srinivasan [Thu, 19 Jan 2017 21:30:37 +0000 (21:30 +0000)]
Merge "Revert "ioshark:  A Repeatable Application Workload Based Storage Benchmark." (Broke the MacOS build - will commit after I test that this builds for MacOS)."

7 years agoRevert "ioshark: A Repeatable Application Workload Based Storage Benchmark." (Broke...
Mohan Srinivasan [Thu, 19 Jan 2017 21:27:36 +0000 (21:27 +0000)]
Revert "ioshark:  A Repeatable Application Workload Based Storage Benchmark." (Broke the MacOS build - will commit after I test that this builds for MacOS).

This reverts commit a5dc6d6fcab8dfe719c437e8a9111ba962df1c15.

Change-Id: I53bc71eeb1bc3ad7706baae589cef8a80ef94c35

7 years agoMerge "ioshark: A Repeatable Application Workload Based Storage Benchmark."
Mohan Srinivasan [Thu, 19 Jan 2017 20:20:08 +0000 (20:20 +0000)]
Merge "ioshark:  A Repeatable Application Workload Based Storage Benchmark."

7 years agoMerge "ext4_utils: add logging in forked command" am: 7f56eee60c am: b63433aa8c am...
Wei Wang [Wed, 18 Jan 2017 22:55:58 +0000 (22:55 +0000)]
Merge "ext4_utils: add logging in forked command" am: 7f56eee60c am: b63433aa8c am: 6bc0e5338b
am: d860da299d

Change-Id: I2930e4938a196242875863e4a42aa68f1106e437

7 years agoMerge "ext4_utils: add logging in forked command" am: 7f56eee60c am: b63433aa8c
Wei Wang [Wed, 18 Jan 2017 21:57:47 +0000 (21:57 +0000)]
Merge "ext4_utils: add logging in forked command" am: 7f56eee60c am: b63433aa8c
am: 6bc0e5338b

Change-Id: Idad96ff4c819a4d2f677fa81839106c775b85df9

7 years agoMerge "ext4_utils: add logging in forked command" am: 7f56eee60c
Wei Wang [Wed, 18 Jan 2017 21:55:18 +0000 (21:55 +0000)]
Merge "ext4_utils: add logging in forked command" am: 7f56eee60c
am: b63433aa8c

Change-Id: I4480fffff229139ffe2ce351a39705c5e6886584

7 years agoMerge "ext4_utils: add logging in forked command"
Wei Wang [Wed, 18 Jan 2017 21:53:17 +0000 (21:53 +0000)]
Merge "ext4_utils: add logging in forked command"
am: 7f56eee60c

Change-Id: I68d58fdde4c2399359331624b3fcca9b9e922ff4

7 years agoMerge "ext4_utils: add logging in forked command"
Treehugger Robot [Wed, 18 Jan 2017 21:51:03 +0000 (21:51 +0000)]
Merge "ext4_utils: add logging in forked command"

7 years agoext4_utils: add logging in forked command
Wei Wang [Thu, 12 Jan 2017 21:44:11 +0000 (13:44 -0800)]
ext4_utils: add logging in forked command

Bug: 33786699
Test: manual

(cherry picked from commit 8040206d8c2ff8ffcb219fb2da426d8f00887c1f)

Change-Id: If922ebbfed7c7ba2fa296de5f3c46909970cfbb5

7 years agoioshark: A Repeatable Application Workload Based Storage Benchmark.
Mohan Srinivasan [Tue, 17 Jan 2017 20:13:07 +0000 (12:13 -0800)]
ioshark:  A Repeatable Application Workload Based Storage Benchmark.

ioshark is a repeatable application storage workload benchmark. ioshark
takes as input strace files, compiles them into bytecodes that you can
then feed into the benchmark. This allows us to collect straces for a
chosen application workload (by stracing zygote/zygote64), and use
these to do A-B comparisons of storage features (anything including the
filesystem and below, including new hardware).

Test: Extra tests for ioshark aren't needed, ioshark reports detailed
stats at the end of the run, which tells us whether the ioshark run
was successful or not. In addition, we can strace ioshark_bench as it
runs to make sure it is launching IOs as we would expect it to.

Change-Id: I70674ff8daac229b9f8e5d37780f15c7a31a7ca0
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
7 years agoMerge "ext4_utils: add logging in forked command"
TreeHugger Robot [Wed, 18 Jan 2017 19:59:38 +0000 (19:59 +0000)]
Merge "ext4_utils: add logging in forked command"

7 years agoMerge "Pass stripe_width and stride parameters to mke2fs" am: 34e2918a90 am: 5cfb2c72...
Connor O'Brien [Tue, 17 Jan 2017 20:22:09 +0000 (20:22 +0000)]
Merge "Pass stripe_width and stride parameters to mke2fs" am: 34e2918a90 am: 5cfb2c72f7 am: f238ec3789
am: 62346c7a0c  -s ours

Change-Id: Ib89708bda32808b37a97f37cfa13677b2621da0b

7 years agoMerge "Pass stripe_width and stride parameters to mke2fs" am: 34e2918a90 am: 5cfb2c72f7
Connor O'Brien [Tue, 17 Jan 2017 20:19:06 +0000 (20:19 +0000)]
Merge "Pass stripe_width and stride parameters to mke2fs" am: 34e2918a90 am: 5cfb2c72f7
am: f238ec3789

Change-Id: I605a43f96339222c34821fec7e50410babfe3f58

7 years agoMerge "Pass stripe_width and stride parameters to mke2fs" am: 34e2918a90
Connor O'Brien [Tue, 17 Jan 2017 20:16:39 +0000 (20:16 +0000)]
Merge "Pass stripe_width and stride parameters to mke2fs" am: 34e2918a90
am: 5cfb2c72f7

Change-Id: Ie58b73f8fc435563aadc8162788d8a5739dc9040

7 years agoMerge "Pass stripe_width and stride parameters to mke2fs"
Connor O'Brien [Tue, 17 Jan 2017 20:13:36 +0000 (20:13 +0000)]
Merge "Pass stripe_width and stride parameters to mke2fs"
am: 34e2918a90

Change-Id: Ie6457466b4d02a0269e451883eb9f4d9316a616d

7 years agoMerge "Pass stripe_width and stride parameters to mke2fs"
Connor O'Brien [Tue, 17 Jan 2017 20:07:10 +0000 (20:07 +0000)]
Merge "Pass stripe_width and stride parameters to mke2fs"

7 years agoMerge "simpleperf: Update document for scripts." am: 7aa9dd25ee am: 57fe7cecc3 am...
Yabin Cui [Fri, 13 Jan 2017 22:38:21 +0000 (22:38 +0000)]
Merge "simpleperf: Update document for scripts." am: 7aa9dd25ee am: 57fe7cecc3 am: 514b1fb3a4
am: aad2a81ce0

Change-Id: Ic24dbf3c79ba16bc09872c20fc6ceea2548b3610

7 years agoMerge "simpleperf: Update document for scripts." am: 7aa9dd25ee am: 57fe7cecc3
Yabin Cui [Fri, 13 Jan 2017 22:34:14 +0000 (22:34 +0000)]
Merge "simpleperf: Update document for scripts." am: 7aa9dd25ee am: 57fe7cecc3
am: 514b1fb3a4

Change-Id: Iae7258e1fc54b48274bc8747984f575a1e7fe290

7 years agoMerge "simpleperf: Update document for scripts." am: 7aa9dd25ee
Yabin Cui [Fri, 13 Jan 2017 22:31:05 +0000 (22:31 +0000)]
Merge "simpleperf: Update document for scripts." am: 7aa9dd25ee
am: 57fe7cecc3

Change-Id: Id5f6fed769036e4de9d800b095f651e6dec8a7b4

7 years agoMerge "simpleperf: Update document for scripts."
Yabin Cui [Fri, 13 Jan 2017 22:28:37 +0000 (22:28 +0000)]
Merge "simpleperf: Update document for scripts."
am: 7aa9dd25ee

Change-Id: Ib468ca00c3c386fed50a63a205e769cc87cded4c

7 years agoMerge "simpleperf: Update document for scripts."
Yabin Cui [Fri, 13 Jan 2017 22:24:42 +0000 (22:24 +0000)]
Merge "simpleperf: Update document for scripts."

7 years agoMerge "Pass stripe_width and stride parameters to mke2fs"
Connor O'Brien [Fri, 13 Jan 2017 22:03:34 +0000 (22:03 +0000)]
Merge "Pass stripe_width and stride parameters to mke2fs"

7 years agoPass stripe_width and stride parameters to mke2fs
Connor O'Brien [Fri, 6 Jan 2017 00:53:58 +0000 (16:53 -0800)]
Pass stripe_width and stride parameters to mke2fs

If available, use flash erase & logical block sizes to tune stride
and stripe parameters to mke2fs.

Test: Built & flashed userdata; checked stride & stripe values
Bug: 33243520
Merged-In: I07319a0bc3d3418b1f4e74e61b10e02dc78fb4db
Change-Id: I07319a0bc3d3418b1f4e74e61b10e02dc78fb4db
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoMerge "simpleperf: fix dumpping kernel symbols." am: fb7b130078 am: 16b0b3d73a am...
Yabin Cui [Fri, 13 Jan 2017 18:44:19 +0000 (18:44 +0000)]
Merge "simpleperf: fix dumpping kernel symbols." am: fb7b130078 am: 16b0b3d73a am: 81140f6108
am: bd62f82012

Change-Id: I736404bb23c475367405480de07427c181fe26ac

7 years agoMerge "simpleperf: fix dumpping kernel symbols." am: fb7b130078 am: 16b0b3d73a
Yabin Cui [Fri, 13 Jan 2017 18:42:19 +0000 (18:42 +0000)]
Merge "simpleperf: fix dumpping kernel symbols." am: fb7b130078 am: 16b0b3d73a
am: 81140f6108

Change-Id: Ie3913662a2c97eedb66be4ce759fbac282ea72aa

7 years agosimpleperf: Update document for scripts.
Yabin Cui [Fri, 13 Jan 2017 01:18:13 +0000 (17:18 -0800)]
simpleperf: Update document for scripts.

And fix an error in utils.py.

Bug: http://b/32834638
Test: none.
Change-Id: I94e3599213e886517ca6e38412dbe0bb7f36d87c

7 years agoMerge "simpleperf: fix dumpping kernel symbols." am: fb7b130078
Yabin Cui [Fri, 13 Jan 2017 18:36:20 +0000 (18:36 +0000)]
Merge "simpleperf: fix dumpping kernel symbols." am: fb7b130078
am: 16b0b3d73a

Change-Id: Ifab1c202acf041843ea2a0efb26273b2bffdbb2e

7 years agoMerge "simpleperf: fix dumpping kernel symbols."
Yabin Cui [Fri, 13 Jan 2017 18:34:19 +0000 (18:34 +0000)]
Merge "simpleperf: fix dumpping kernel symbols."
am: fb7b130078

Change-Id: I48ab4498d4e69ae6fdd17b49ee3f7b40f6d572d2

7 years agoMerge "simpleperf: fix dumpping kernel symbols."
Yabin Cui [Fri, 13 Jan 2017 18:29:28 +0000 (18:29 +0000)]
Merge "simpleperf: fix dumpping kernel symbols."

7 years agoMerge "liblog: use log/log.h when referencing ALOG macros" am: 0567b8e72f am: cd1d9f0...
Mark Salyzyn [Fri, 13 Jan 2017 15:50:05 +0000 (15:50 +0000)]
Merge "liblog: use log/log.h when referencing ALOG macros" am: 0567b8e72f am: cd1d9f0ffe am: 6cd6f07f89
am: 191e143084

Change-Id: I1db56004b2aae9ec1670d261b6248055bff1ca91

7 years agoMerge "liblog: use log/log.h when referencing ALOG macros" am: 0567b8e72f am: cd1d9f0ffe
Mark Salyzyn [Fri, 13 Jan 2017 15:44:52 +0000 (15:44 +0000)]
Merge "liblog: use log/log.h when referencing ALOG macros" am: 0567b8e72f am: cd1d9f0ffe
am: 6cd6f07f89

Change-Id: Icd3faf81cff5b2a31fdc50d2a8b3715650691371

7 years agoMerge "liblog: use log/log.h when referencing ALOG macros" am: 0567b8e72f
Mark Salyzyn [Fri, 13 Jan 2017 15:35:35 +0000 (15:35 +0000)]
Merge "liblog: use log/log.h when referencing ALOG macros" am: 0567b8e72f
am: cd1d9f0ffe

Change-Id: Id1e8f429b8ee3dec6b1104c039130ec981d8561c

7 years agoMerge "liblog: use log/log.h when referencing ALOG macros"
Mark Salyzyn [Fri, 13 Jan 2017 15:31:35 +0000 (15:31 +0000)]
Merge "liblog: use log/log.h when referencing ALOG macros"
am: 0567b8e72f

Change-Id: I44beafcc2e09c52dca89420a610e9e328512a71a

7 years agoMerge "liblog: use log/log.h when referencing ALOG macros"
Mark Salyzyn [Fri, 13 Jan 2017 15:27:17 +0000 (15:27 +0000)]
Merge "liblog: use log/log.h when referencing ALOG macros"

7 years agoliblog: use log/log.h when referencing ALOG macros
Mark Salyzyn [Fri, 13 Jan 2017 15:25:20 +0000 (07:25 -0800)]
liblog: use log/log.h when referencing ALOG macros

Test: compile
Bug: 34250038
Change-Id: Iab9dfc45253143cd06cbcb21cb7ea48feec1edd2

7 years agosimpleperf: fix dumpping kernel symbols.
Yabin Cui [Fri, 13 Jan 2017 02:07:27 +0000 (18:07 -0800)]
simpleperf: fix dumpping kernel symbols.

Fix the bug that `simpleperf record --dump-symbols` doesn't dump
kernel symbols.

Test: run simpleperf_unit_test.
Change-Id: I55a2b7c5cd40395b61b062064834779a6a44a29e

7 years agoMerge changes from topic 'host_suffix_cleanup' am: 28eb980da9 am: e745604fb8 am:...
Alex Deymo [Thu, 12 Jan 2017 22:50:06 +0000 (22:50 +0000)]
Merge changes from topic 'host_suffix_cleanup' am: 28eb980da9 am: e745604fb8 am: a5c32df454
am: edc1ed785f

Change-Id: I41054b56bb06d581afb13b7a610b29b9089d01a4

7 years agoExport libsquashfs_utils include path in the library. am: f0b1f9f23f am: fa183f41b3...
Alex Deymo [Thu, 12 Jan 2017 22:46:08 +0000 (22:46 +0000)]
Export libsquashfs_utils include path in the library. am: f0b1f9f23f am: fa183f41b3 am: 1a93de5fc7
am: dc90a95f37

Change-Id: Ie2cf97150d035dd4634258dc61f1b4502e0521c0

7 years agoRemove "_host" suffix from libsquashfs_utils. am: 992dab285f am: e145c1e8f2 am: 33a7d...
Alex Deymo [Thu, 12 Jan 2017 22:46:05 +0000 (22:46 +0000)]
Remove "_host" suffix from libsquashfs_utils. am: 992dab285f am: e145c1e8f2 am: 33a7d87ff6
am: 3128e23334

Change-Id: Ib78e009f26c0b82c82ecf559817888036306e7ad

7 years agoRemove "_host" and "_static" suffix from libsparse. am: f417a8d230 am: b00a038d73...
Alex Deymo [Thu, 12 Jan 2017 22:46:02 +0000 (22:46 +0000)]
Remove "_host" and "_static" suffix from libsparse. am: f417a8d230 am: b00a038d73 am: 9100c4af81
am: b7bd0cf20b

Change-Id: I0b73e9117061291a95f1ae1225ace733b326682c

7 years agoRemove "_static" and "_host" suffix from libext4_utils definitions. am: b611070c14...
Alex Deymo [Thu, 12 Jan 2017 22:45:58 +0000 (22:45 +0000)]
Remove "_static" and "_host" suffix from libext4_utils definitions. am: b611070c14 am: 60978bf884 am: ad602c57c0
am: aad43c9c5e

Change-Id: I158a5c3b388361d5fdaed237000343caf7a2edb0

7 years agoRemove "_host" suffix from libfec_rs. am: ae12268ee1 am: bbb970be06 am: 2eb3cc146e
Alex Deymo [Thu, 12 Jan 2017 22:45:55 +0000 (22:45 +0000)]
Remove "_host" suffix from libfec_rs. am: ae12268ee1 am: bbb970be06 am: 2eb3cc146e
am: 533b435769

Change-Id: I7598ef4640d2b6748f6220327a15498c74da1d93

7 years agoext4_utils: add logging in forked command
Wei Wang [Thu, 12 Jan 2017 21:44:11 +0000 (13:44 -0800)]
ext4_utils: add logging in forked command

Bug: 33786699
Test: manual
Change-Id: I21ddba8485efa24ea9dfd7a578afb740eceb9c2f

7 years agoMerge changes from topic 'host_suffix_cleanup' am: 28eb980da9 am: e745604fb8
Alex Deymo [Thu, 12 Jan 2017 21:41:21 +0000 (21:41 +0000)]
Merge changes from topic 'host_suffix_cleanup' am: 28eb980da9 am: e745604fb8
am: a5c32df454

Change-Id: I21cb2a39503b42ae781c29a1eb2d5249b9e684a4

7 years agoExport libsquashfs_utils include path in the library. am: f0b1f9f23f am: fa183f41b3
Alex Deymo [Thu, 12 Jan 2017 21:38:07 +0000 (21:38 +0000)]
Export libsquashfs_utils include path in the library. am: f0b1f9f23f am: fa183f41b3
am: 1a93de5fc7

Change-Id: I67ea090d841721398f4e979a22222338faff706a

7 years agoRemove "_host" suffix from libsquashfs_utils. am: 992dab285f am: e145c1e8f2
Alex Deymo [Thu, 12 Jan 2017 21:38:05 +0000 (21:38 +0000)]
Remove "_host" suffix from libsquashfs_utils. am: 992dab285f am: e145c1e8f2
am: 33a7d87ff6

Change-Id: I5ebc7b51b9e25290c18c13e0059d2adeb359a8e1

7 years agoRemove "_host" and "_static" suffix from libsparse. am: f417a8d230 am: b00a038d73
Alex Deymo [Thu, 12 Jan 2017 21:38:03 +0000 (21:38 +0000)]
Remove "_host" and "_static" suffix from libsparse. am: f417a8d230 am: b00a038d73
am: 9100c4af81

Change-Id: Ia11fee16fd713f2a56f30a195d4e2f0e83f80f8a

7 years agoRemove "_static" and "_host" suffix from libext4_utils definitions. am: b611070c14...
Alex Deymo [Thu, 12 Jan 2017 21:38:00 +0000 (21:38 +0000)]
Remove "_static" and "_host" suffix from libext4_utils definitions. am: b611070c14 am: 60978bf884
am: ad602c57c0

Change-Id: Ie703aace98c7830d66ba6355b78e27805ea04572

7 years agoRemove "_host" suffix from libfec_rs. am: ae12268ee1 am: bbb970be06
Alex Deymo [Thu, 12 Jan 2017 21:37:57 +0000 (21:37 +0000)]
Remove "_host" suffix from libfec_rs. am: ae12268ee1 am: bbb970be06
am: 2eb3cc146e

Change-Id: Iae2da8ec47eb015e29b4c7c556de69879387b069

7 years agoMerge changes from topic 'host_suffix_cleanup' am: 28eb980da9
Alex Deymo [Thu, 12 Jan 2017 21:36:20 +0000 (21:36 +0000)]
Merge changes from topic 'host_suffix_cleanup' am: 28eb980da9
am: e745604fb8

Change-Id: I91671796b7f3619c428f0084ced5d9a2b96cbcc3

7 years agoMerge changes from topic 'host_suffix_cleanup'
Alex Deymo [Thu, 12 Jan 2017 21:34:06 +0000 (21:34 +0000)]
Merge changes from topic 'host_suffix_cleanup'
am: 28eb980da9

Change-Id: Ieadca3585e5f7ad93063651121a40753081d9448

7 years agoExport libsquashfs_utils include path in the library. am: f0b1f9f23f
Alex Deymo [Thu, 12 Jan 2017 21:33:07 +0000 (21:33 +0000)]
Export libsquashfs_utils include path in the library. am: f0b1f9f23f
am: fa183f41b3

Change-Id: I5ed76cb861dd04631801575d8b73b81358c12ce8

7 years agoRemove "_host" suffix from libsquashfs_utils. am: 992dab285f
Alex Deymo [Thu, 12 Jan 2017 21:33:05 +0000 (21:33 +0000)]
Remove "_host" suffix from libsquashfs_utils. am: 992dab285f
am: e145c1e8f2

Change-Id: I57bb3e11653ade4a6fca7d2bf47ae126f88de1c7

7 years agoRemove "_host" and "_static" suffix from libsparse. am: f417a8d230
Alex Deymo [Thu, 12 Jan 2017 21:33:02 +0000 (21:33 +0000)]
Remove "_host" and "_static" suffix from libsparse. am: f417a8d230
am: b00a038d73

Change-Id: Ia83e006e94f5b44f45be3f4bc7b3244a6d10e5a0

7 years agoRemove "_static" and "_host" suffix from libext4_utils definitions. am: b611070c14
Alex Deymo [Thu, 12 Jan 2017 21:33:00 +0000 (21:33 +0000)]
Remove "_static" and "_host" suffix from libext4_utils definitions. am: b611070c14
am: 60978bf884

Change-Id: I13e3547ad633ee736c5e0e33e94257c442a47e65

7 years agoRemove "_host" suffix from libfec_rs. am: ae12268ee1
Alex Deymo [Thu, 12 Jan 2017 21:32:57 +0000 (21:32 +0000)]
Remove "_host" suffix from libfec_rs. am: ae12268ee1
am: bbb970be06

Change-Id: I47361aa98f4f23624c93176051879f3beebf5dc4

7 years agoExport libsquashfs_utils include path in the library.
Alex Deymo [Thu, 12 Jan 2017 21:28:02 +0000 (21:28 +0000)]
Export libsquashfs_utils include path in the library.
am: f0b1f9f23f

Change-Id: Ia93dfa2b3d83a87068ecb8f83331811af746ef36

7 years agoRemove "_host" suffix from libsquashfs_utils.
Alex Deymo [Thu, 12 Jan 2017 21:28:00 +0000 (21:28 +0000)]
Remove "_host" suffix from libsquashfs_utils.
am: 992dab285f

Change-Id: I34712bf9c6ccc52380e35b7cba9ecde60bf87bbb

7 years agoRemove "_host" and "_static" suffix from libsparse.
Alex Deymo [Thu, 12 Jan 2017 21:27:58 +0000 (21:27 +0000)]
Remove "_host" and "_static" suffix from libsparse.
am: f417a8d230

Change-Id: Idf5d65658da5776eddea4a59ff3f441576bb2e83

7 years agoRemove "_static" and "_host" suffix from libext4_utils definitions.
Alex Deymo [Thu, 12 Jan 2017 21:27:57 +0000 (21:27 +0000)]
Remove "_static" and "_host" suffix from libext4_utils definitions.
am: b611070c14

Change-Id: Ia11b07484b2f9ce5123480c66a7f7bd479c0915b

7 years agoRemove "_host" suffix from libfec_rs.
Alex Deymo [Thu, 12 Jan 2017 21:27:55 +0000 (21:27 +0000)]
Remove "_host" suffix from libfec_rs.
am: ae12268ee1

Change-Id: I837b363a922cc0642a6bdd77114b1e2ed1b6eb8b

7 years agoMerge changes from topic 'host_suffix_cleanup'
Alex Deymo [Thu, 12 Jan 2017 21:23:09 +0000 (21:23 +0000)]
Merge changes from topic 'host_suffix_cleanup'

* changes:
  Export libsquashfs_utils include path in the library.
  Remove "_host" suffix from libsquashfs_utils.
  Remove "_host" and "_static" suffix from libsparse.
  Remove "_static" and "_host" suffix from libext4_utils definitions.
  Remove "_host" suffix from libfec_rs.

7 years agoExport libsquashfs_utils include path in the library.
Alex Deymo [Wed, 11 Jan 2017 23:14:51 +0000 (15:14 -0800)]
Export libsquashfs_utils include path in the library.

When using the libsquashfs_utils we need to include its only header, so
exposing the include path for this library avoids repeating the path
when using it. This patch also removes the include path from the only
call site (libfec).

Bug: None.
Change-Id: I82380b89652f758e4f33a0dc90650b04223c0940

7 years agoRemove "_host" suffix from libsquashfs_utils.
Alex Deymo [Wed, 11 Jan 2017 23:07:36 +0000 (15:07 -0800)]
Remove "_host" suffix from libsquashfs_utils.

Bug: 34220783

Change-Id: I9a140ed7bafdb8342dbdc2c7143a765acb86ecb9

7 years agoRemove "_host" and "_static" suffix from libsparse.
Alex Deymo [Wed, 11 Jan 2017 22:37:14 +0000 (14:37 -0800)]
Remove "_host" and "_static" suffix from libsparse.

Bug: 34220783
Change-Id: I33b2ecafaebe46a45c176d5debe821ec1ecaa25b

7 years agoMerge "liblog: use log/log.h when utilizing ALOG macros" am: 1c10b4ec13 am: ab92bfe4d...
Mark Salyzyn [Thu, 12 Jan 2017 01:14:13 +0000 (01:14 +0000)]
Merge "liblog: use log/log.h when utilizing ALOG macros" am: 1c10b4ec13 am: ab92bfe4dd am: 0d13de9fd7
am: d09cc8a6c1

Change-Id: I241844f655a1681b4af9ae5e78ca35f23161aebd

7 years agoMerge "liblog: use log/log.h when utilizing ALOG macros" am: 1c10b4ec13 am: ab92bfe4dd
Mark Salyzyn [Thu, 12 Jan 2017 01:07:54 +0000 (01:07 +0000)]
Merge "liblog: use log/log.h when utilizing ALOG macros" am: 1c10b4ec13 am: ab92bfe4dd
am: 0d13de9fd7

Change-Id: Id08cda97a8e8b613758d97257512432efcff3f24

7 years agoMerge "liblog: use log/log.h when utilizing ALOG macros" am: 1c10b4ec13
Mark Salyzyn [Thu, 12 Jan 2017 01:00:32 +0000 (01:00 +0000)]
Merge "liblog: use log/log.h when utilizing ALOG macros" am: 1c10b4ec13
am: ab92bfe4dd

Change-Id: I20f3b1798f10a24ef6aaf2ee0b6f8b547c9d50b8

7 years agoMerge "liblog: use log/log.h when utilizing ALOG macros"
Mark Salyzyn [Thu, 12 Jan 2017 00:54:24 +0000 (00:54 +0000)]
Merge "liblog: use log/log.h when utilizing ALOG macros"
am: 1c10b4ec13

Change-Id: Iade249345c27b99cfefdf0552270916302f34ea0

7 years agoMerge "liblog: use log/log.h when utilizing ALOG macros"
Treehugger Robot [Thu, 12 Jan 2017 00:44:06 +0000 (00:44 +0000)]
Merge "liblog: use log/log.h when utilizing ALOG macros"

7 years agoliblog: use log/log.h when utilizing ALOG macros
Mark Salyzyn [Tue, 10 Jan 2017 21:32:49 +0000 (13:32 -0800)]
liblog: use log/log.h when utilizing ALOG macros

Test: compile
Bug: 30465923
Change-Id: I0c8178ef32006e0ec5f3dde7446b5396cf98df77

7 years agoRemove "_static" and "_host" suffix from libext4_utils definitions.
Alex Deymo [Wed, 11 Jan 2017 22:03:51 +0000 (14:03 -0800)]
Remove "_static" and "_host" suffix from libext4_utils definitions.

Bug: 34220783
Change-Id: Ia8da0c96a0384826afd8b089101468ac388d0ca2

7 years agoRemove "_host" suffix from libfec_rs.
Alex Deymo [Wed, 11 Jan 2017 19:30:44 +0000 (11:30 -0800)]
Remove "_host" suffix from libfec_rs.

libfec_rs_host is now renamed to libfec_rs.

Bug: 34220783
Change-Id: I70dd794cbf2ed2f118849371379e424159b312a4

7 years agoPass stripe_width and stride parameters to mke2fs
Connor O'Brien [Fri, 6 Jan 2017 00:53:58 +0000 (16:53 -0800)]
Pass stripe_width and stride parameters to mke2fs

If available, use flash erase & logical block sizes to tune stride
and stripe parameters to mke2fs.

Test: Built & flashed userdata; checked stride & stripe values
Bug: 33243520
Change-Id: I07319a0bc3d3418b1f4e74e61b10e02dc78fb4db
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoMerge "ext4_utils: disable sparse io for e2fsdroid if image is not sparse"
TreeHugger Robot [Mon, 9 Jan 2017 20:16:41 +0000 (20:16 +0000)]
Merge "ext4_utils: disable sparse io for e2fsdroid  if image is not sparse"

7 years agoMerge "simpleperf: fix synchronization when reading mapped buffer." am: a587ece964...
Yabin Cui [Sat, 7 Jan 2017 19:41:36 +0000 (19:41 +0000)]
Merge "simpleperf: fix synchronization when reading mapped buffer." am: a587ece964 am: 04910bdaab am: adc709ba79
am: 94d6dfee04

Change-Id: I7f11d4274115a7b0675cc82a1fb812ab265f6b1f

7 years agoMerge "simpleperf: fix synchronization when reading mapped buffer." am: a587ece964...
Yabin Cui [Sat, 7 Jan 2017 19:37:07 +0000 (19:37 +0000)]
Merge "simpleperf: fix synchronization when reading mapped buffer." am: a587ece964 am: 04910bdaab
am: adc709ba79

Change-Id: I145d1cdf160d5875a34796b9a6ea165dfee82baa

7 years agoMerge "simpleperf: fix synchronization when reading mapped buffer." am: a587ece964
Yabin Cui [Sat, 7 Jan 2017 19:32:37 +0000 (19:32 +0000)]
Merge "simpleperf: fix synchronization when reading mapped buffer." am: a587ece964
am: 04910bdaab

Change-Id: I5418e8a0579eb188d1af9fab7b478fd3361e678b

7 years agoMerge "simpleperf: fix synchronization when reading mapped buffer."
Yabin Cui [Sat, 7 Jan 2017 19:28:06 +0000 (19:28 +0000)]
Merge "simpleperf: fix synchronization when reading mapped buffer."
am: a587ece964

Change-Id: I6f8bca1b8145294adbfad5321a832aa3febf2bb0

7 years agoMerge "simpleperf: fix synchronization when reading mapped buffer."
Yabin Cui [Sat, 7 Jan 2017 19:23:04 +0000 (19:23 +0000)]
Merge "simpleperf: fix synchronization when reading mapped buffer."

7 years agoext4_utils: disable sparse io for e2fsdroid if image is not sparse
Jin Qian [Sat, 7 Jan 2017 00:39:38 +0000 (16:39 -0800)]
ext4_utils: disable sparse io for e2fsdroid  if image is not sparse

Change-Id: I05fda0b9895e0c68730220057de7b7abe1c79930

7 years agoMerge "simpleperf: fix annotate.py." am: 9e6a8022f9 am: 4f519c445a am: a34d6bfd00
Yabin Cui [Fri, 6 Jan 2017 23:17:25 +0000 (23:17 +0000)]
Merge "simpleperf: fix annotate.py." am: 9e6a8022f9 am: 4f519c445a am: a34d6bfd00
am: 7fe1afc8a7

Change-Id: Ia28053891fd6fa6a3c658488df51d09318f309d9

7 years agosimpleperf: fix synchronization when reading mapped buffer.
Yabin Cui [Fri, 6 Jan 2017 23:01:42 +0000 (15:01 -0800)]
simpleperf: fix synchronization when reading mapped buffer.

Fixed according to http://lxr.free-electrons.com/source/kernel/events/ring_buffer.c#L61.

Test: run simpleperf_unit_test.

Change-Id: I44486b1630c92de57fb575b502b2d7c798e46e4b