OSDN Git Service

android-x86/system-extras.git
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 "simpleperf: add interval to stat print"
TreeHugger Robot [Thu, 29 Sep 2016 04:48:08 +0000 (04:48 +0000)]
Merge "simpleperf: add interval to stat print"

7 years agosimpleperf: add interval to stat print
Wei Wang [Wed, 28 Sep 2016 21:42:02 +0000 (14:42 -0700)]
simpleperf: add interval to stat print

Add a stat interval printing

Bug: http://b/31806433
Test: simpleperf_unit_test --gtest_filter=stat_cmd.interval_option
Change-Id: Ia2881d990036cc099baccb8a2d8cd3828877a910

7 years agoMerge "Add missing liblog dependency" am: 1a35848b34 am: 598ae6f8cb am: b17544df7f
Dimitry Ivanov [Wed, 28 Sep 2016 19:10:53 +0000 (19:10 +0000)]
Merge "Add missing liblog dependency" am: 1a35848b34 am: 598ae6f8cb am: b17544df7f
am: ce2a99c7e6

Change-Id: I707c46e7c3de643c4de548bf5f0a85966192cd50

7 years agoMerge "Add missing liblog dependency" am: 1a35848b34 am: 598ae6f8cb
Dimitry Ivanov [Wed, 28 Sep 2016 19:07:40 +0000 (19:07 +0000)]
Merge "Add missing liblog dependency" am: 1a35848b34 am: 598ae6f8cb
am: b17544df7f

Change-Id: I2405d6f4ac7dd3936e22f989c8a245391f1859d4

7 years agoMerge "Add missing liblog dependency" am: 1a35848b34
Dimitry Ivanov [Wed, 28 Sep 2016 19:04:40 +0000 (19:04 +0000)]
Merge "Add missing liblog dependency" am: 1a35848b34
am: 598ae6f8cb

Change-Id: I5e820972ed8fbf76b71af0a32d543b1579094ad8

7 years agoMerge "Add missing liblog dependency"
Dimitry Ivanov [Wed, 28 Sep 2016 19:01:38 +0000 (19:01 +0000)]
Merge "Add missing liblog dependency"
am: 1a35848b34

Change-Id: I4801c57c6385588fd745bea34caccb7398009ccc

7 years agoMerge "Add missing liblog dependency"
Dimitry Ivanov [Wed, 28 Sep 2016 18:56:07 +0000 (18:56 +0000)]
Merge "Add missing liblog dependency"

7 years agoAdd missing liblog dependency
Dimitry Ivanov [Tue, 27 Sep 2016 16:22:50 +0000 (09:22 -0700)]
Add missing liblog dependency

Bug: http://b/31289077
Bug: http://b/27171986
Test: remove liblog from libcutils and recompile
Change-Id: Ibf5b6a978a424107ad1364e35c9bb856d8bde92f

7 years agoMerge "Stop coalescing kernel processes to the same name, other changes." am: 400e7c2...
Than McIntosh [Tue, 27 Sep 2016 02:36:59 +0000 (02:36 +0000)]
Merge "Stop coalescing kernel processes to the same name, other changes." am: 400e7c238a am: 9da97f38d2 am: 172c07165d
am: e879a0698e

Change-Id: Ib8085cf4bf1df2d739e7eb286564f268ae5182ad

7 years agoMerge "Stop coalescing kernel processes to the same name, other changes." am: 400e7c2...
Than McIntosh [Tue, 27 Sep 2016 02:33:20 +0000 (02:33 +0000)]
Merge "Stop coalescing kernel processes to the same name, other changes." am: 400e7c238a am: 9da97f38d2
am: 172c07165d

Change-Id: I1c256f3594419af850a73e378f5a75e7d3fdaae8

7 years agoMerge "Stop coalescing kernel processes to the same name, other changes." am: 400e7c238a
Than McIntosh [Tue, 27 Sep 2016 02:30:15 +0000 (02:30 +0000)]
Merge "Stop coalescing kernel processes to the same name, other changes." am: 400e7c238a
am: 9da97f38d2

Change-Id: I15582edb6822edada30b75c3a14b521f53b05b07

7 years agoMerge "Stop coalescing kernel processes to the same name, other changes."
Than McIntosh [Tue, 27 Sep 2016 02:27:45 +0000 (02:27 +0000)]
Merge "Stop coalescing kernel processes to the same name, other changes."
am: 400e7c238a

Change-Id: Ie55b0d948f11615d386e5a35e72eeb08f1e34798

7 years agoMerge "Stop coalescing kernel processes to the same name, other changes."
Than McIntosh [Tue, 27 Sep 2016 02:18:56 +0000 (02:18 +0000)]
Merge "Stop coalescing kernel processes to the same name, other changes."

7 years agoStop coalescing kernel processes to the same name, other changes.
Alexey Alexandrov [Sun, 25 Sep 2016 00:05:28 +0000 (17:05 -0700)]
Stop coalescing kernel processes to the same name, other changes.

* Do not coalesce kernel processes to the same name as knowing the
  breakdown of kernel cycles by the name of kernel or user process is
  useful.
* Make the perfprofd tests run well in 64-bit mode.
* Add debugging "-x PATH" flag to perfprofd which can be used to convert
  the given perf data file to the encoded proto format and immediately
  exit.

Test: 32-bit and 64-bit perfprofd_test on the device
Change-Id: Iec35190db995243eed253045605f8807bc0bddee

7 years agoMerge "Add missing include." am: ee34d0cbe3 am: bf9ccfcdc1 am: 7d9d605492
Dan Albert [Thu, 22 Sep 2016 09:26:31 +0000 (09:26 +0000)]
Merge "Add missing include." am: ee34d0cbe3 am: bf9ccfcdc1 am: 7d9d605492
am: 2867611690

Change-Id: I21d50f896411a1047c91f7262918cd2c58c68925

7 years agoMerge "Add missing include." am: ee34d0cbe3 am: bf9ccfcdc1
Dan Albert [Thu, 22 Sep 2016 09:15:46 +0000 (09:15 +0000)]
Merge "Add missing include." am: ee34d0cbe3 am: bf9ccfcdc1
am: 7d9d605492

Change-Id: I5c2f90eb804a50fe52d149619f3f61bc4ba71b89

7 years agoMerge "Add missing include." am: ee34d0cbe3
Dan Albert [Wed, 21 Sep 2016 23:42:07 +0000 (23:42 +0000)]
Merge "Add missing include." am: ee34d0cbe3
am: bf9ccfcdc1

Change-Id: I16429aab6ce4c9de30ddfde46d997a2b16e9d290

7 years agoMerge "Add missing include."
Dan Albert [Wed, 21 Sep 2016 23:22:01 +0000 (23:22 +0000)]
Merge "Add missing include."
am: ee34d0cbe3

Change-Id: I38a65973877df0bb84804e72b4ca15dfd0265d30

7 years agoMerge "Add missing include."
Treehugger Robot [Wed, 21 Sep 2016 22:46:04 +0000 (22:46 +0000)]
Merge "Add missing include."

7 years agoAdd missing include.
Dan Albert [Wed, 21 Sep 2016 21:06:39 +0000 (14:06 -0700)]
Add missing include.

Test: mm
Bug: None
Change-Id: Iffdcdc12aa95b090e26afbbacb22d91e4fdd52ea

7 years agoMerge "avb: move to external/avb." am: 8cb66d9004 am: 55b441275c am: e783976bd6
David Zeuthen [Fri, 16 Sep 2016 23:06:25 +0000 (23:06 +0000)]
Merge "avb: move to external/avb." am: 8cb66d9004 am: 55b441275c am: e783976bd6
am: f79a80e5a2

Change-Id: Ia033c963b99c726c652c824564ad75f4fa954dbb

7 years agoMerge "avb: move to external/avb." am: 8cb66d9004 am: 55b441275c
David Zeuthen [Fri, 16 Sep 2016 22:43:04 +0000 (22:43 +0000)]
Merge "avb: move to external/avb." am: 8cb66d9004 am: 55b441275c
am: e783976bd6

Change-Id: I7b2cea13436c9a25650b51c3c12db4fcc3e7252f

7 years agoMerge "avb: move to external/avb." am: 8cb66d9004
David Zeuthen [Fri, 16 Sep 2016 22:40:34 +0000 (22:40 +0000)]
Merge "avb: move to external/avb." am: 8cb66d9004
am: 55b441275c

Change-Id: Id8108b6774258526ec68ae38e0e8ad471e85cbf1

7 years agoMerge "avb: move to external/avb."
David Zeuthen [Fri, 16 Sep 2016 22:38:04 +0000 (22:38 +0000)]
Merge "avb: move to external/avb."
am: 8cb66d9004

Change-Id: I0bbb35ecf92cef29108284eb86657ecdb3b2382c

7 years agoMerge "avb: move to external/avb."
David Zeuthen [Fri, 16 Sep 2016 22:35:50 +0000 (22:35 +0000)]
Merge "avb: move to external/avb."

7 years agoMerge "simpleperf_cpu_hotplug_test: don't fail when cpu hotplug operation fails."
TreeHugger Robot [Fri, 16 Sep 2016 22:23:47 +0000 (22:23 +0000)]
Merge "simpleperf_cpu_hotplug_test: don't fail when cpu hotplug operation fails."

7 years agoMerge "simpleperf: calculate perf clock based on system clock." am: 0b49810b7c am...
Yabin Cui [Fri, 16 Sep 2016 21:43:15 +0000 (21:43 +0000)]
Merge "simpleperf: calculate perf clock based on system clock." am: 0b49810b7c am: 85b29cc7a6 am: bef18fd744
am: 3ba8352d68

Change-Id: I3da4d2262b7d47bc4da4c27e725c834beb0ec5d7

7 years agoMerge "simpleperf: calculate perf clock based on system clock." am: 0b49810b7c am...
Yabin Cui [Fri, 16 Sep 2016 21:40:44 +0000 (21:40 +0000)]
Merge "simpleperf: calculate perf clock based on system clock." am: 0b49810b7c am: 85b29cc7a6
am: bef18fd744

Change-Id: I96c73ac9505a6dae58d6c9e9c62d450e5fbc1726

7 years agoMerge "simpleperf: calculate perf clock based on system clock." am: 0b49810b7c
Yabin Cui [Fri, 16 Sep 2016 21:38:12 +0000 (21:38 +0000)]
Merge "simpleperf: calculate perf clock based on system clock." am: 0b49810b7c
am: 85b29cc7a6

Change-Id: Ib6dc526d476bc8122514102a326a8d469497eec1

7 years agoMerge "simpleperf: calculate perf clock based on system clock."
Yabin Cui [Fri, 16 Sep 2016 21:36:14 +0000 (21:36 +0000)]
Merge "simpleperf: calculate perf clock based on system clock."
am: 0b49810b7c

Change-Id: I4c2b7ab221dae6e47bfde72931ed758a84b2da3a

7 years agoMerge "simpleperf: calculate perf clock based on system clock."
Treehugger Robot [Fri, 16 Sep 2016 21:27:39 +0000 (21:27 +0000)]
Merge "simpleperf: calculate perf clock based on system clock."

7 years agoavb: move to external/avb.
David Zeuthen [Fri, 16 Sep 2016 20:21:13 +0000 (16:21 -0400)]
avb: move to external/avb.

This code is now in external/avb so remove it here.

BUG=31508897
TEST=Build succeeds.

Change-Id: I5d934918885e979a4615745890a05f75732ba027

7 years agosimpleperf_cpu_hotplug_test: don't fail when cpu hotplug operation fails.
Yabin Cui [Fri, 16 Sep 2016 19:31:47 +0000 (12:31 -0700)]
simpleperf_cpu_hotplug_test: don't fail when cpu hotplug operation fails.

On some devices, cpu hotplug can fail like:
failed to write 1 to /sys/devices/system/cpu/cpu4/online: Operation not permitted\n"

By avoiding these flaky failures, the tests are more stable.

Bug: http://b/31115055
Test: run simpleperf_cpu_hotplug_test.
Change-Id: Ib60c1852bee95bf4a443ba45de7def450cd30e08

7 years agosimpleperf: calculate perf clock based on system clock.
Yabin Cui [Thu, 15 Sep 2016 17:43:20 +0000 (10:43 -0700)]
simpleperf: calculate perf clock based on system clock.

The timestamps of perf event records are not generated
by MONOTONIC system clock. However, we can calculate
perf clock based on MONOTONIC system clock.
See http://www.gossamer-threads.com/lists/linux/kernel/1970811

Bug: http://b/30975131
Test: run `simpleperf record -a --log verbose ls` and check the result.
Change-Id: I78ef28b501aa45a4696c05ec76f6d04363082c5d

7 years agoMerge "libpagemap: add static library for pagemap" am: 7c811a34e5 am: 722d2366c8...
Dimitry Ivanov [Thu, 15 Sep 2016 23:59:49 +0000 (23:59 +0000)]
Merge "libpagemap: add static library for pagemap" am: 7c811a34e5 am: 722d2366c8 am: e0b3ea7e88
am: 291bb3292f

Change-Id: Ie896fae79ab0acd093c3bb75c6360917477a66ca

7 years agoMerge "libpagemap: add static library for pagemap" am: 7c811a34e5 am: 722d2366c8
Dimitry Ivanov [Thu, 15 Sep 2016 23:53:57 +0000 (23:53 +0000)]
Merge "libpagemap: add static library for pagemap" am: 7c811a34e5 am: 722d2366c8
am: e0b3ea7e88

Change-Id: Id42bb24043920d778c43a92fb6976a85e4a63214

7 years agoMerge "libpagemap: add static library for pagemap" am: 7c811a34e5
Dimitry Ivanov [Thu, 15 Sep 2016 23:51:27 +0000 (23:51 +0000)]
Merge "libpagemap: add static library for pagemap" am: 7c811a34e5
am: 722d2366c8

Change-Id: I704608075b659787d73df7efda785a107110a567

7 years agoMerge "libpagemap: add static library for pagemap"
Dimitry Ivanov [Thu, 15 Sep 2016 23:48:38 +0000 (23:48 +0000)]
Merge "libpagemap: add static library for pagemap"
am: 7c811a34e5

Change-Id: Ie7f4f463b439c6fabefb1fcc800d9a22947d65f9

7 years agoMerge "libpagemap: add static library for pagemap"
Treehugger Robot [Thu, 15 Sep 2016 23:37:06 +0000 (23:37 +0000)]
Merge "libpagemap: add static library for pagemap"

7 years agolibpagemap: add static library for pagemap
Dimitry Ivanov [Thu, 15 Sep 2016 22:01:59 +0000 (15:01 -0700)]
libpagemap: add static library for pagemap

Bionic unit/cts tests need use static version of libpagemap
to avoid depending on internal android library.

Test: mm && run pagemap_static_test
Bug: http://b/22182538
Change-Id: Ic8b4e74565f77a71540e8cb2c7f9dc67f8d5e10c

7 years agoMerge "Fix incorrect loop condition"
Mohamad Ayyash [Thu, 8 Sep 2016 19:03:17 +0000 (19:03 +0000)]
Merge "Fix incorrect loop condition"

7 years agoANRdaemon: fix a bug in handling dump request when trace is running. am: b403779c94
Zhengyin Qian [Thu, 8 Sep 2016 01:26:26 +0000 (01:26 +0000)]
ANRdaemon: fix a bug in handling dump request when trace is running. am: b403779c94
am: 81f3edcdf1

Change-Id: I6e530a534db44578d83b95b14586d1e04098c541

7 years agoANRdaemon: fix a bug in handling dump request when trace is running.
Zhengyin Qian [Thu, 8 Sep 2016 01:23:56 +0000 (01:23 +0000)]
ANRdaemon: fix a bug in handling dump request when trace is running.
am: b403779c94

Change-Id: Icc5dfd9103191213921b4544f2bfa7e3d187652d

7 years agoANRdaemon: fix a bug in handling dump request when trace is running.
Zhengyin Qian [Wed, 7 Sep 2016 22:57:23 +0000 (15:57 -0700)]
ANRdaemon: fix a bug in handling dump request when trace is running.

Change-Id: I16e2be8b90841eef251c83eda9f71c8e70f519ad

7 years agoFix incorrect loop condition
Mohamad Ayyash [Wed, 7 Sep 2016 18:07:55 +0000 (11:07 -0700)]
Fix incorrect loop condition

Change-Id: I76e07299eda9b7217594f94996e8d8d6fd1f679b
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
7 years agoMerge "BUG: Reclaim chunk blocks when freeing block allocations"
Mohamad Ayyash [Tue, 6 Sep 2016 18:55:40 +0000 (18:55 +0000)]
Merge "BUG: Reclaim chunk blocks when freeing block allocations"

7 years agoMerge "avb: Add support for sparse image files." am: 812d0a9a51 am: be52375e27 am...
David Zeuthen [Tue, 6 Sep 2016 18:42:05 +0000 (18:42 +0000)]
Merge "avb: Add support for sparse image files." am: 812d0a9a51 am: be52375e27 am: 5ed19cbdb4
am: 1851a71ff3

Change-Id: I18203fefb7e65eacaa943cc31d2eb6105fe448b1

7 years agoMerge "avb: Add support for sparse image files." am: 812d0a9a51 am: be52375e27
David Zeuthen [Tue, 6 Sep 2016 18:28:54 +0000 (18:28 +0000)]
Merge "avb: Add support for sparse image files." am: 812d0a9a51 am: be52375e27
am: 5ed19cbdb4

Change-Id: Ic2e4b702719b38b6000c248f9c0afc4dc879ab22

7 years agoMerge "avb: Add support for sparse image files." am: 812d0a9a51
David Zeuthen [Tue, 6 Sep 2016 18:07:30 +0000 (18:07 +0000)]
Merge "avb: Add support for sparse image files." am: 812d0a9a51
am: be52375e27

Change-Id: I0f39fe095a1e8f6b7e4293845d0e99577cf57933

7 years agoMerge "avb: Add support for sparse image files."
David Zeuthen [Tue, 6 Sep 2016 18:04:02 +0000 (18:04 +0000)]
Merge "avb: Add support for sparse image files."
am: 812d0a9a51

Change-Id: I0da44501434c8593afce528a59b61b92a8b9fa9d

7 years agoMerge "avb: Add support for sparse image files."
David Zeuthen [Tue, 6 Sep 2016 17:53:48 +0000 (17:53 +0000)]
Merge "avb: Add support for sparse image files."

7 years agoMerge "Use android::base::GetExecutablePath in simpleperf." am: 3eee005507 am: 7633b9...
Elliott Hughes [Sat, 3 Sep 2016 03:22:06 +0000 (03:22 +0000)]
Merge "Use android::base::GetExecutablePath in simpleperf." am: 3eee005507 am: 7633b9ee01 am: cb12c4f0d4
am: b1c428c4c8

Change-Id: I2bd7deeeb81bafde4e8088cb510f7d2069fe2481

7 years agoMerge "Use android::base::GetExecutablePath in simpleperf." am: 3eee005507 am: 7633b9ee01
Elliott Hughes [Sat, 3 Sep 2016 03:19:05 +0000 (03:19 +0000)]
Merge "Use android::base::GetExecutablePath in simpleperf." am: 3eee005507 am: 7633b9ee01
am: cb12c4f0d4

Change-Id: I9eca56c93fc315b7db0f6cdc77a1f32707a5bb73

7 years agoMerge "Use android::base::GetExecutablePath in simpleperf." am: 3eee005507
Elliott Hughes [Sat, 3 Sep 2016 03:16:35 +0000 (03:16 +0000)]
Merge "Use android::base::GetExecutablePath in simpleperf." am: 3eee005507
am: 7633b9ee01

Change-Id: I6901c8268bd4c752400efc6a94e25bd3e9767350

7 years agoMerge "Use android::base::GetExecutablePath in simpleperf."
Elliott Hughes [Sat, 3 Sep 2016 03:14:08 +0000 (03:14 +0000)]
Merge "Use android::base::GetExecutablePath in simpleperf."
am: 3eee005507

Change-Id: I22691e3f07655fc11ea02836099619f6e14f8a7a

7 years agoMerge "Use android::base::GetExecutablePath in simpleperf."
Treehugger Robot [Sat, 3 Sep 2016 03:06:05 +0000 (03:06 +0000)]
Merge "Use android::base::GetExecutablePath in simpleperf."

7 years agoUse android::base::GetExecutablePath in simpleperf.
Elliott Hughes [Fri, 2 Sep 2016 20:26:14 +0000 (13:26 -0700)]
Use android::base::GetExecutablePath in simpleperf.

Bug: http://b/30988271
Change-Id: Ide5f1696834cfa1081e86131e24499bd15131cd6

7 years agoMerge "fec: add --padding" am: d77d48271a am: fd5615187c am: d82f21fb26
Sami Tolvanen [Fri, 2 Sep 2016 18:28:31 +0000 (18:28 +0000)]
Merge "fec: add --padding" am: d77d48271a am: fd5615187c am: d82f21fb26
am: f4f4606355

Change-Id: Ib7ece05e85ace6124183f4266073ae138d04d484

7 years agoMerge "libfec: allow fec_header to be located anywhere" am: c5d58971b7 am: afdacc7e57...
Sami Tolvanen [Fri, 2 Sep 2016 18:28:30 +0000 (18:28 +0000)]
Merge "libfec: allow fec_header to be located anywhere" am: c5d58971b7 am: afdacc7e57 am: 31f50ef70a
am: cccd950434

Change-Id: I15fe43a99e29b7255c7ca10632f843497a59c1ab

7 years agoMerge "fec: add --padding" am: d77d48271a am: fd5615187c
Sami Tolvanen [Fri, 2 Sep 2016 18:24:46 +0000 (18:24 +0000)]
Merge "fec: add --padding" am: d77d48271a am: fd5615187c
am: d82f21fb26

Change-Id: I4e29fec6e8fdf7e6da47ca1cecd2ff6383f0237f

7 years agoMerge "libfec: allow fec_header to be located anywhere" am: c5d58971b7 am: afdacc7e57
Sami Tolvanen [Fri, 2 Sep 2016 18:24:45 +0000 (18:24 +0000)]
Merge "libfec: allow fec_header to be located anywhere" am: c5d58971b7 am: afdacc7e57
am: 31f50ef70a

Change-Id: Iff09d9513bf86a247ff66f24dada05915abb6c23

7 years agoMerge "fec: add --padding" am: d77d48271a
Sami Tolvanen [Fri, 2 Sep 2016 18:21:44 +0000 (18:21 +0000)]
Merge "fec: add --padding" am: d77d48271a
am: fd5615187c

Change-Id: I4d8eb3eab0fb4ee9a3fd3d98d9914a5aeae37099

7 years agoMerge "libfec: allow fec_header to be located anywhere" am: c5d58971b7
Sami Tolvanen [Fri, 2 Sep 2016 18:21:43 +0000 (18:21 +0000)]
Merge "libfec: allow fec_header to be located anywhere" am: c5d58971b7
am: afdacc7e57

Change-Id: I1c6c9311a5775772dde94c15b2d72b1c737d78bb

7 years agoMerge "fec: add --padding"
Sami Tolvanen [Fri, 2 Sep 2016 18:18:34 +0000 (18:18 +0000)]
Merge "fec: add --padding"
am: d77d48271a

Change-Id: I91b412aeda0ca388e1a60e354d84984d143e38d4

7 years agoMerge "libfec: allow fec_header to be located anywhere"
Sami Tolvanen [Fri, 2 Sep 2016 18:18:29 +0000 (18:18 +0000)]
Merge "libfec: allow fec_header to be located anywhere"
am: c5d58971b7

Change-Id: I7baa7ef4e801e0b7569edb231d90e019477906ae

7 years agoMerge "fec: add --padding"
Treehugger Robot [Fri, 2 Sep 2016 18:13:32 +0000 (18:13 +0000)]
Merge "fec: add --padding"

7 years agoMerge "libfec: allow fec_header to be located anywhere"
Treehugger Robot [Fri, 2 Sep 2016 18:13:32 +0000 (18:13 +0000)]
Merge "libfec: allow fec_header to be located anywhere"

7 years agoMerge "simpleperf: handle monitored processes correctly when a cpu is up." am: 25bbfd...
Yabin Cui [Fri, 2 Sep 2016 18:09:38 +0000 (18:09 +0000)]
Merge "simpleperf: handle monitored processes correctly when a cpu is up." am: 25bbfdede1 am: 1edf3e586d am: 81ee16b741
am: b171e04f63

Change-Id: Ifeebafa988bd48733b220f62588b2190b9220b12

7 years agoMerge "simpleperf: handle monitored processes correctly when a cpu is up." am: 25bbfd...
Yabin Cui [Fri, 2 Sep 2016 17:48:00 +0000 (17:48 +0000)]
Merge "simpleperf: handle monitored processes correctly when a cpu is up." am: 25bbfdede1 am: 1edf3e586d
am: 81ee16b741

Change-Id: Iebff1281feb6d0ea1f215f02e197a6cc6ae884e8

7 years agoMerge "simpleperf: handle monitored processes correctly when a cpu is up." am: 25bbfdede1
Yabin Cui [Fri, 2 Sep 2016 17:34:06 +0000 (17:34 +0000)]
Merge "simpleperf: handle monitored processes correctly when a cpu is up." am: 25bbfdede1
am: 1edf3e586d

Change-Id: I2fcbc03bb1170dfba625574a7db214aa1d5aff53

7 years agoMerge "simpleperf: handle monitored processes correctly when a cpu is up."
Yabin Cui [Fri, 2 Sep 2016 17:27:07 +0000 (17:27 +0000)]
Merge "simpleperf: handle monitored processes correctly when a cpu is up."
am: 25bbfdede1

Change-Id: I28e427cd0d3f8a631cfc3f119dc7c42740a2a883

7 years agoMerge "simpleperf: handle monitored processes correctly when a cpu is up."
Yabin Cui [Fri, 2 Sep 2016 17:18:15 +0000 (17:18 +0000)]
Merge "simpleperf: handle monitored processes correctly when a cpu is up."

7 years agoavb: Add support for sparse image files.
David Zeuthen [Mon, 22 Aug 2016 19:20:43 +0000 (15:20 -0400)]
avb: Add support for sparse image files.

By default the build system uses sparse images for system.img so support
this in avbtool. Part of this code is derived from simg_dump.py in
system/core/libsparse.

BUG=31263798
TEST=New unit tests and unit tests pass.

Change-Id: Iace73c994102a51c59e82ce208ee8438155c50e1

7 years agoBUG: Reclaim chunk blocks when freeing block allocations
Mohamad Ayyash [Thu, 1 Sep 2016 22:05:48 +0000 (15:05 -0700)]
BUG: Reclaim chunk blocks when freeing block allocations

Otherwise we can end up with extra block sized holes between some files

Change-Id: Ib008734c4db9d0c232886d45ee96ef9320c46ed7
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
7 years agoMerge changes Ic9258141,If4b32546 am: 643af28f1d am: 700840cf42 am: 5fc58f52a2
Sami Tolvanen [Thu, 1 Sep 2016 23:05:47 +0000 (23:05 +0000)]
Merge changes Ic9258141,If4b32546 am: 643af28f1d am: 700840cf42 am: 5fc58f52a2
am: ec7d3d2dce

Change-Id: Ie0f737e1aaae046860230f98624e801f7e64882a

7 years agoMerge changes Ic9258141,If4b32546 am: 643af28f1d am: 700840cf42
Sami Tolvanen [Thu, 1 Sep 2016 23:02:36 +0000 (23:02 +0000)]
Merge changes Ic9258141,If4b32546 am: 643af28f1d am: 700840cf42
am: 5fc58f52a2

Change-Id: If28d755f641d5f1005654fa8e59955446933911d

7 years agoMerge changes Ic9258141,If4b32546 am: 643af28f1d
Sami Tolvanen [Thu, 1 Sep 2016 22:59:51 +0000 (22:59 +0000)]
Merge changes Ic9258141,If4b32546 am: 643af28f1d
am: 700840cf42

Change-Id: I9dbcd9e7df0895d442f498737faf6ee5154b9067

7 years agoMerge changes Ic9258141,If4b32546
Sami Tolvanen [Thu, 1 Sep 2016 22:56:23 +0000 (22:56 +0000)]
Merge changes Ic9258141,If4b32546
am: 643af28f1d

Change-Id: Id8222d4f40996c578d8da03c1e25aaa2c61a2fa9

7 years agolibfec: allow fec_header to be located anywhere
Sami Tolvanen [Thu, 1 Sep 2016 22:51:12 +0000 (15:51 -0700)]
libfec: allow fec_header to be located anywhere

Don't require fec_header to be immediately after ECC data.

Bug: 28865197
Change-Id: Ie8faeeb07c35e2593553f7678762aae7f14c2ff7

7 years agoMerge changes Ic9258141,If4b32546
Treehugger Robot [Thu, 1 Sep 2016 22:47:01 +0000 (22:47 +0000)]
Merge changes Ic9258141,If4b32546

* changes:
  fec: remove unneeded target executable
  fec: remove unused mmap code

7 years agofec: add --padding
Sami Tolvanen [Thu, 1 Sep 2016 21:54:09 +0000 (14:54 -0700)]
fec: add --padding

Add an option to insert padding between ECC data and fec_header to
make it easier to position the header at the end of the partition.

Bug: 28865197
Change-Id: I8c11401df56d15362fe3eb3c2a6a91ea82b02a83

7 years agofec: remove unneeded target executable
Sami Tolvanen [Thu, 1 Sep 2016 20:43:51 +0000 (13:43 -0700)]
fec: remove unneeded target executable

Change-Id: Ic925814191b8ac952b584a994cf455f871a8ee0c

7 years agofec: remove unused mmap code
Sami Tolvanen [Thu, 1 Sep 2016 20:35:17 +0000 (13:35 -0700)]
fec: remove unused mmap code

Change-Id: If4b32546c6678afaaebffbcf1fbeee17a1879561

7 years agoMerge "simpleperf: add python report interface on linux." am: 2cb0a666a2 am: d05f2841...
Yabin Cui [Wed, 31 Aug 2016 20:13:03 +0000 (20:13 +0000)]
Merge "simpleperf: add python report interface on linux." am: 2cb0a666a2 am: d05f2841af am: ed59da040d
am: 55f2174927

Change-Id: I5f978d057bfb8b39c22a4ea6cd322c61a77a63ae

7 years agoMerge "simpleperf: add python report interface on linux." am: 2cb0a666a2 am: d05f2841af
Yabin Cui [Wed, 31 Aug 2016 19:30:46 +0000 (19:30 +0000)]
Merge "simpleperf: add python report interface on linux." am: 2cb0a666a2 am: d05f2841af
am: ed59da040d

Change-Id: Ib115d926cd45ef211d05122247519f49d924892a

7 years agoMerge "simpleperf: add python report interface on linux." am: 2cb0a666a2
Yabin Cui [Wed, 31 Aug 2016 19:27:44 +0000 (19:27 +0000)]
Merge "simpleperf: add python report interface on linux." am: 2cb0a666a2
am: d05f2841af

Change-Id: I6c7c682c96e8ad70de914c4c241430a72b2f7986

7 years agoMerge "simpleperf: add python report interface on linux."
Yabin Cui [Wed, 31 Aug 2016 19:24:45 +0000 (19:24 +0000)]
Merge "simpleperf: add python report interface on linux."
am: 2cb0a666a2

Change-Id: I36b955ab33c05eda69a081daab8f0208cd81c63a

7 years agoMerge "simpleperf: add python report interface on linux."
Yabin Cui [Wed, 31 Aug 2016 19:14:52 +0000 (19:14 +0000)]
Merge "simpleperf: add python report interface on linux."

7 years agoMerge "simpleperf: fix two errors." am: 9baf7c33bb am: fc62dc7f69 am: ddd70a190f
Yabin Cui [Wed, 31 Aug 2016 01:43:49 +0000 (01:43 +0000)]
Merge "simpleperf: fix two errors." am: 9baf7c33bb am: fc62dc7f69 am: ddd70a190f
am: 0b15b130c2

Change-Id: I40205d0cd36c8a3a0b253589434075b4bbbf6c11

7 years agoMerge "Test: Basic bootloader tests via fastboot" am: cbbc907a4d am: 9478bf8b40 am...
Daniel Rosenberg [Wed, 31 Aug 2016 01:43:48 +0000 (01:43 +0000)]
Merge "Test: Basic bootloader tests via fastboot" am: cbbc907a4d am: 9478bf8b40 am: e5aa18acf1
am: 03759b0b03

Change-Id: I223123c2cd69c787f919e6d9c006701100d5a71e

7 years agoMerge commit 'cb8b5af' into nyc-dev-plus-aosp am: 3587c22e55
Mitchell Wills [Wed, 31 Aug 2016 01:43:48 +0000 (01:43 +0000)]
Merge commit 'cb8b5af' into nyc-dev-plus-aosp am: 3587c22e55
am: 4c900f9988

Change-Id: Iedad009e2a2b77cfe90011cab58e3ff198706a07

7 years agoMerge "simpleperf: support hotplug events in record cmd." am: 728c8de11d am: 77a7b76f...
Yabin Cui [Wed, 31 Aug 2016 01:43:47 +0000 (01:43 +0000)]
Merge "simpleperf: support hotplug events in record cmd." am: 728c8de11d am: 77a7b76fea am: 071e0d9db2
am: 66b36517d2

Change-Id: I05bf391a8c29c58a8d67bd8e74594dd5cc97a6c0

7 years agoMerge "simpleperf: fix two errors." am: 9baf7c33bb am: fc62dc7f69
Yabin Cui [Wed, 31 Aug 2016 01:34:30 +0000 (01:34 +0000)]
Merge "simpleperf: fix two errors." am: 9baf7c33bb am: fc62dc7f69
am: ddd70a190f

Change-Id: I7822043a7795a78e8003f123bd32f61c975d3fdb

7 years agoMerge "simpleperf: fix two errors." am: 9baf7c33bb
Yabin Cui [Wed, 31 Aug 2016 01:32:00 +0000 (01:32 +0000)]
Merge "simpleperf: fix two errors." am: 9baf7c33bb
am: fc62dc7f69

Change-Id: I8a2a40312ff480580b417207236ce07021b0d02f

7 years agoMerge "simpleperf: fix two errors."
Yabin Cui [Wed, 31 Aug 2016 01:29:02 +0000 (01:29 +0000)]
Merge "simpleperf: fix two errors."
am: 9baf7c33bb

Change-Id: Iaaef78effbbbacbdb6f7d764f998f1681289b0da

7 years agoMerge "simpleperf: fix two errors."
Yabin Cui [Wed, 31 Aug 2016 01:23:33 +0000 (01:23 +0000)]
Merge "simpleperf: fix two errors."

7 years agoMerge "Replace libziparchive-host with libziparchive" am: b5a1a4a772 am: e882b6c845...
Colin Cross [Wed, 31 Aug 2016 01:02:22 +0000 (01:02 +0000)]
Merge "Replace libziparchive-host with libziparchive" am: b5a1a4a772 am: e882b6c845 am: aceb1decfd
am: fe81873c15

Change-Id: I89af1b145ff6ede6b09b39c892e8203f7ed4432a

7 years agosimpleperf: add python report interface on linux.
Yabin Cui [Fri, 26 Aug 2016 18:35:28 +0000 (11:35 -0700)]
simpleperf: add python report interface on linux.

1. Build libsimpleperf_report.so on host, which exports functions
   to access samples.
2. Add simpleperf_report_lib.py to wrap libsimpleperf_report.so.
3. Write report_sample.py to test simpleperf_report_lib.py. The
   output format of report_sample.py matches the need of building
   FlameGraph.

Bug: http://b/31069528
Test: run report_sample.py on perf.data.
Test: run simpleperf_unit_test.

Change-Id: I4949f8ea506f12101a9c4fb4c896957c96676853

7 years agoMerge "Test: Basic bootloader tests via fastboot" am: cbbc907a4d am: 9478bf8b40
Daniel Rosenberg [Tue, 30 Aug 2016 20:54:13 +0000 (20:54 +0000)]
Merge "Test: Basic bootloader tests via fastboot" am: cbbc907a4d am: 9478bf8b40
am: e5aa18acf1

Change-Id: I45c4fdfd13a549e98fd934346f4b51bad69679b2