OSDN Git Service

android-x86/system-extras.git
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

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

Change-Id: I87d4bc0b802b435908f68b7e6a391e90f5ee335c

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

Change-Id: I5af42f6a7b8536a31eda27cd9609fffc60829555

7 years agoMerge "simpleperf: fix annotate.py."
Yabin Cui [Fri, 6 Jan 2017 23:05:24 +0000 (23:05 +0000)]
Merge "simpleperf: fix annotate.py."
am: 9e6a8022f9

Change-Id: I84a8cec3fa66c348aa6f3fc15541ce56dd66f260

7 years agoMerge "simpleperf: fix annotate.py."
Yabin Cui [Fri, 6 Jan 2017 23:00:35 +0000 (23:00 +0000)]
Merge "simpleperf: fix annotate.py."

7 years agosimpleperf: fix annotate.py.
Yabin Cui [Fri, 6 Jan 2017 20:47:31 +0000 (12:47 -0800)]
simpleperf: fix annotate.py.

Bug: http://b/32834638
Test: run annotate.py.
Change-Id: I18d6985387a68482a589d812109692ee2c30197c

7 years agoMerge "simpleperf: add scripts to sdk build." am: a29ece7f55 am: e1172ef700 am: a00a4...
Yabin Cui [Fri, 6 Jan 2017 19:48:49 +0000 (19:48 +0000)]
Merge "simpleperf: add scripts to sdk build." am: a29ece7f55 am: e1172ef700 am: a00a44e0a5
am: 024e39df10

Change-Id: I3b099e87767221e53eec9520b7a2a060a6cb909d

7 years agoMerge "simpleperf: add scripts to sdk build." am: a29ece7f55 am: e1172ef700
Yabin Cui [Fri, 6 Jan 2017 19:44:50 +0000 (19:44 +0000)]
Merge "simpleperf: add scripts to sdk build." am: a29ece7f55 am: e1172ef700
am: a00a44e0a5

Change-Id: I10cb7607ce11c5da5d74bca057ba1889b4bad369

7 years agoMerge "simpleperf: add scripts to sdk build." am: a29ece7f55
Yabin Cui [Fri, 6 Jan 2017 19:41:18 +0000 (19:41 +0000)]
Merge "simpleperf: add scripts to sdk build." am: a29ece7f55
am: e1172ef700

Change-Id: I67fb33497f72bdf3087e2a9f7bd52840f50468b1

7 years agoMerge "simpleperf: add scripts to sdk build."
Yabin Cui [Fri, 6 Jan 2017 19:37:20 +0000 (19:37 +0000)]
Merge "simpleperf: add scripts to sdk build."
am: a29ece7f55

Change-Id: I44993017ae96a2f122e4edc95e7aea7a89bb572e

7 years agoMerge "simpleperf: add scripts to sdk build."
Yabin Cui [Fri, 6 Jan 2017 19:31:53 +0000 (19:31 +0000)]
Merge "simpleperf: add scripts to sdk build."

7 years agomake_ext4fs: add option to specify the number of inodes [DO NOT MERGE] am: 7842cd2b14
Patrick Tjin [Fri, 6 Jan 2017 18:35:24 +0000 (18:35 +0000)]
make_ext4fs: add option to specify the number of inodes [DO NOT MERGE] am: 7842cd2b14
am: 79004434a2  -s ours

Change-Id: I7f969644859f87529fc83f8d67cf09e6cf476e48

7 years agomake_ext4fs: add option to specify the number of inodes [DO NOT MERGE]
Patrick Tjin [Fri, 6 Jan 2017 18:31:50 +0000 (18:31 +0000)]
make_ext4fs: add option to specify the number of inodes [DO NOT MERGE]
am: 7842cd2b14

Change-Id: I73d33dcfcea39dddddb3cb8b4ba1c1b1c3faf032

7 years agosimpleperf: add scripts to sdk build.
Yabin Cui [Fri, 6 Jan 2017 01:58:19 +0000 (17:58 -0800)]
simpleperf: add scripts to sdk build.

Bug: http://b/32834638
Test: make sdk.
Change-Id: Iffc2649dc131c73758db8727912c83c078d92071

7 years agoMerge "simpleperf: update scripts to use binaries in bin/." am: 615135e145 am: 604660...
Yabin Cui [Fri, 6 Jan 2017 01:58:55 +0000 (01:58 +0000)]
Merge "simpleperf: update scripts to use binaries in bin/." am: 615135e145 am: 6046606f3e am: 9088b88c7a
am: e847a2453f

Change-Id: Ib402e26b7af729c8db1ac84d9040c79f306f3a8d

7 years agoMerge "simpleperf: update scripts to use binaries in bin/." am: 615135e145 am: 6046606f3e
Yabin Cui [Fri, 6 Jan 2017 01:51:58 +0000 (01:51 +0000)]
Merge "simpleperf: update scripts to use binaries in bin/." am: 615135e145 am: 6046606f3e
am: 9088b88c7a

Change-Id: I29b4204832a565c4b17d26929a696ec8f7fd1b5d

7 years agoMerge "simpleperf: update scripts to use binaries in bin/." am: 615135e145
Yabin Cui [Fri, 6 Jan 2017 01:47:49 +0000 (01:47 +0000)]
Merge "simpleperf: update scripts to use binaries in bin/." am: 615135e145
am: 6046606f3e

Change-Id: I3fcd94dd7f4b4c4511463b8e6aba407e1c4c2359

7 years agoMerge "simpleperf: update scripts to use binaries in bin/."
Yabin Cui [Fri, 6 Jan 2017 01:42:48 +0000 (01:42 +0000)]
Merge "simpleperf: update scripts to use binaries in bin/."
am: 615135e145

Change-Id: I8337ba5125698c34a36d37f5455fa06acdf3c957

7 years agoMerge "simpleperf: update scripts to use binaries in bin/."
Yabin Cui [Fri, 6 Jan 2017 01:30:53 +0000 (01:30 +0000)]
Merge "simpleperf: update scripts to use binaries in bin/."

7 years agosimpleperf: update scripts to use binaries in bin/.
Yabin Cui [Thu, 5 Jan 2017 23:44:08 +0000 (15:44 -0800)]
simpleperf: update scripts to use binaries in bin/.

Bug: http://b/32834638
Test: run python scripts like report_sample.py.
Change-Id: Ia37e7b34babe7ba3df88b38ec6e6bc15241f50d8

7 years agoMerge "simpleperf: update simpleperf prebuilts to build 3614643." am: c5775f1239...
Yabin Cui [Thu, 5 Jan 2017 23:16:47 +0000 (23:16 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 3614643." am: c5775f1239 am: 8df3424b96 am: 4ab5f41bfa
am: 6c8ae66544

Change-Id: Ic65b867170ce7dfe77075ddc02e3f2ed085a9e07

7 years agoMerge "simpleperf: update simpleperf prebuilts to build 3614643." am: c5775f1239...
Yabin Cui [Thu, 5 Jan 2017 23:13:16 +0000 (23:13 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 3614643." am: c5775f1239 am: 8df3424b96
am: 4ab5f41bfa

Change-Id: Ib41afa4ed13c1068628f6c7242b1574e27443cbe

7 years agoMerge "simpleperf: update simpleperf prebuilts to build 3614643." am: c5775f1239
Yabin Cui [Thu, 5 Jan 2017 23:09:46 +0000 (23:09 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 3614643." am: c5775f1239
am: 8df3424b96

Change-Id: Ie00b60a60f01c73bb8fc280607c1bf0c189da5ec

7 years agoMerge "simpleperf: update simpleperf prebuilts to build 3614643."
Yabin Cui [Thu, 5 Jan 2017 23:05:45 +0000 (23:05 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 3614643."
am: c5775f1239

Change-Id: I913b359c341b5d9b06f6f79b94f8f4980d97f542

7 years agoMerge "simpleperf: update simpleperf prebuilts to build 3614643."
Yabin Cui [Thu, 5 Jan 2017 22:58:33 +0000 (22:58 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 3614643."

7 years agosimpleperf: update simpleperf prebuilts to build 3614643.
Yabin Cui [Thu, 5 Jan 2017 20:01:26 +0000 (12:01 -0800)]
simpleperf: update simpleperf prebuilts to build 3614643.

Taken from branch aosp-master.

Bug: http://b/32834638
Test: None.

Change-Id: I6d456a932f8ab679da4c34f4113dc7414fe29d62

7 years agomake_ext4fs: add option to specify the number of inodes [DO NOT MERGE]
Patrick Tjin [Thu, 20 Oct 2016 17:55:11 +0000 (10:55 -0700)]
make_ext4fs: add option to specify the number of inodes [DO NOT MERGE]

Add option to specify the number of inodes to create when
making the filesystem.  Read-only partitions don't have
a need for extra inodes, a lot of space is wasted by these
inodes.

Bug: 32246383
Bug: 33252070
Bug: 33428604
Test: make vendor partition with new options
Change-Id: I7063972ec4f4e617d28d2e029ad6a9f8e94add73
(cherry picked from commit 15c434682ac78262d2dad9730805eab52b748cdf)

7 years agoMerge "libfec: add large file which larger than 4G operation support" am: 240aba7e8f...
wangjiangshao [Thu, 5 Jan 2017 18:41:56 +0000 (18:41 +0000)]
Merge "libfec: add large file which larger than 4G operation support" am: 240aba7e8f am: 0dda84826c am: 4b3f1bcf99
am: 73ddc0132a

Change-Id: Ib1fb68bf42a34fe9667e440257859e87468489cc

7 years agoMerge "libfec: add large file which larger than 4G operation support" am: 240aba7e8f...
wangjiangshao [Thu, 5 Jan 2017 18:38:22 +0000 (18:38 +0000)]
Merge "libfec: add large file which larger than 4G operation support" am: 240aba7e8f am: 0dda84826c
am: 4b3f1bcf99

Change-Id: I25444486be051346d366714010a3c25afafe60f9

7 years agoMerge "boot control: remove getInterfaceVersion" am: 9aaf345f02 am: ac2940eb41 am...
Steven Moreland [Thu, 5 Jan 2017 18:37:57 +0000 (18:37 +0000)]
Merge "boot control: remove getInterfaceVersion" am: 9aaf345f02 am: ac2940eb41 am: 794554ade8
am: f63de5e4a6

Change-Id: I370a3131208764bacd52def386cd3e4af065eabb

7 years agoMerge "libfec: add large file which larger than 4G operation support" am: 240aba7e8f
wangjiangshao [Thu, 5 Jan 2017 18:35:23 +0000 (18:35 +0000)]
Merge "libfec: add large file which larger than 4G operation support" am: 240aba7e8f
am: 0dda84826c

Change-Id: I9adf2c558fd04c9fec3a4e90f7f2794bd309593a

7 years agoMerge "boot control: remove getInterfaceVersion" am: 9aaf345f02 am: ac2940eb41
Steven Moreland [Thu, 5 Jan 2017 18:34:56 +0000 (18:34 +0000)]
Merge "boot control: remove getInterfaceVersion" am: 9aaf345f02 am: ac2940eb41
am: 794554ade8

Change-Id: Ie79205e71963e249d5b339c2f0326b07a6820eaf

7 years agoMerge "libfec: add large file which larger than 4G operation support"
wangjiangshao [Thu, 5 Jan 2017 18:32:22 +0000 (18:32 +0000)]
Merge "libfec: add large file which larger than 4G operation support"
am: 240aba7e8f

Change-Id: I2561343c51ecf1e76200a19fc17ac30d3999c0a8

7 years agoMerge "boot control: remove getInterfaceVersion" am: 9aaf345f02
Steven Moreland [Thu, 5 Jan 2017 18:31:56 +0000 (18:31 +0000)]
Merge "boot control: remove getInterfaceVersion" am: 9aaf345f02
am: ac2940eb41

Change-Id: I493de1d3250187005b4e00d34557f20dee04767f

7 years agoMerge "boot control: remove getInterfaceVersion"
Steven Moreland [Thu, 5 Jan 2017 18:28:26 +0000 (18:28 +0000)]
Merge "boot control: remove getInterfaceVersion"
am: 9aaf345f02

Change-Id: I3f45fdfe70796dddab997656b73da7b4ffaab7c4

7 years agoMerge "libfec: add large file which larger than 4G operation support"
Treehugger Robot [Thu, 5 Jan 2017 18:28:05 +0000 (18:28 +0000)]
Merge "libfec: add large file which larger than 4G operation support"

7 years agoMerge "boot control: remove getInterfaceVersion"
Steven Moreland [Thu, 5 Jan 2017 18:24:11 +0000 (18:24 +0000)]
Merge "boot control: remove getInterfaceVersion"

7 years agolibfec: add large file which larger than 4G operation support
wangjiangshao [Fri, 30 Dec 2016 14:57:42 +0000 (22:57 +0800)]
libfec: add large file which larger than 4G operation support

Add _LARGEFILE64_SOURCE to handle large files such as larger than 4G,
fix fec_open cannot open file larger than 4G

Bug: https://code.google.com/p/android/issues/detail?id=231508
Test: tested on Android N devices

Change-Id: I8df81a039cb987f6bde36384bf69e8ab119fd515
Signed-off-by: wangjiangshao <wangjiangshao@xiaomi.com>
7 years agoMerge "Revert "Revert "simpleperf: add binaries in sdk build.""" am: 01efd2baca am...
Yabin Cui [Wed, 4 Jan 2017 23:29:39 +0000 (23:29 +0000)]
Merge "Revert "Revert "simpleperf: add binaries in sdk build.""" am: 01efd2baca am: 01355680e6 am: d6276a4df1
am: 80603303b6

Change-Id: Ib5784a8d1243db67c86a982a493b8035b730f76d

7 years agoMerge "Revert "Revert "simpleperf: add binaries in sdk build.""" am: 01efd2baca am...
Yabin Cui [Wed, 4 Jan 2017 23:24:35 +0000 (23:24 +0000)]
Merge "Revert "Revert "simpleperf: add binaries in sdk build.""" am: 01efd2baca am: 01355680e6
am: d6276a4df1

Change-Id: I56808b55932fb5da0194c0ec4155b9a78c9e0f43