OSDN Git Service

android-x86/system-extras.git
8 years agosimpleperf: fix mac build.
Yabin Cui [Mon, 7 Mar 2016 21:33:01 +0000 (21:33 +0000)]
simpleperf: fix mac build.
am: 08663eb56b

* commit '08663eb56b17e5ce1a9b0030d5a965306de0e3ae':
  simpleperf: fix mac build.

8 years agosimpleperf: port cmd_report_test to nonlinux.
Yabin Cui [Mon, 7 Mar 2016 21:32:51 +0000 (21:32 +0000)]
simpleperf: port cmd_report_test to nonlinux.
am: 025745a017  -s ours

* commit '025745a017b893797c1532da704edd0a2854cb14':
  simpleperf: port cmd_report_test to nonlinux.

8 years agosimpleperf: fix build by removing off64_t.
Yabin Cui [Mon, 7 Mar 2016 21:21:17 +0000 (21:21 +0000)]
simpleperf: fix build by removing off64_t.
am: cc9bc34039

* commit 'cc9bc34039544d2dcca7168958a80828bac8d089':
  simpleperf: fix build by removing off64_t.

8 years agosimpleperf: report symbols of native libraries in apk file.
Yabin Cui [Mon, 7 Mar 2016 21:21:09 +0000 (21:21 +0000)]
simpleperf: report symbols of native libraries in apk file.
am: 7288501a66  -s ours

* commit '7288501a660ce2616539e8a963185d2f3c679729':
  simpleperf: report symbols of native libraries in apk file.

8 years agosimpleperf: accept different perf_attr sizes.
Yabin Cui [Mon, 7 Mar 2016 21:17:25 +0000 (21:17 +0000)]
simpleperf: accept different perf_attr sizes.
am: 9a1f829db0

* commit '9a1f829db03dc9ad9701b4ddae1267d3140e84f4':
  simpleperf: accept different perf_attr sizes.

8 years agosimpleperf: port read_apk and read_apk/read_elf tests to nonlinux.
Yabin Cui [Mon, 7 Mar 2016 21:17:15 +0000 (21:17 +0000)]
simpleperf: port read_apk and read_apk/read_elf tests to nonlinux.
am: 0bd2a5cef3  -s ours

* commit '0bd2a5cef3cf787552c55f643631b6ba77637711':
  simpleperf: port read_apk and read_apk/read_elf tests to nonlinux.

8 years agosimpleperf: fix mac build.
Yabin Cui [Thu, 25 Feb 2016 19:02:30 +0000 (11:02 -0800)]
simpleperf: fix mac build.

I forgot that mac doesn't support whole static library. Change to static library
to avoid hiting the same problem in the future.

Bug: 26962895
Change-Id: Ia8e26c2e1cf7621391e00e100b22b7ed451dfa32
(cherry picked from commit ff7465c896ab90c162cbcf2b141c4cdd79bf437f)

8 years agosimpleperf: port cmd_report_test to nonlinux.
Yabin Cui [Wed, 24 Feb 2016 05:41:03 +0000 (21:41 -0800)]
simpleperf: port cmd_report_test to nonlinux.

And fix one build_id bug introduced by previous patch.

Bug: 26962895

Change-Id: Ibb8bd6ec77ee862bb01c26342d3b3024468e75b2
(cherry picked from commit 6e51bef9aa101307523946df301ca90215d0ee82)

8 years agosimpleperf: fix build by removing off64_t.
Yabin Cui [Thu, 18 Feb 2016 20:11:40 +0000 (12:11 -0800)]
simpleperf: fix build by removing off64_t.

Bug: 26962895
Change-Id: I211bacc22c2f6b6b24c639365c706e93d66ce4ac
(cherry picked from commit 41e32ca272f474d35a84a6e7c7f0a28c3160abc3)

8 years agosimpleperf: report symbols of native libraries in apk file.
Yabin Cui [Mon, 15 Feb 2016 03:18:02 +0000 (19:18 -0800)]
simpleperf: report symbols of native libraries in apk file.

Changes included:
1. provide interface in read_apk.h to read build id and symbols.
2. report symbols of native libraries in apk file.
3. refactor code in read_elf.cpp and read_apk.cpp.
4. add verbose log.
5. add -o report_file_name option for report command.
6. add corresponding unit tests.

Bug: 26962895
Change-Id: I0d5398996e0c29dba4a6f5226692b758ca096bbd
(cherry picked from commit b1a885b014540a2f7798b5a35ea0f0ec150d93ee)

8 years agosimpleperf: accept different perf_attr sizes.
Yabin Cui [Tue, 16 Feb 2016 20:15:31 +0000 (12:15 -0800)]
simpleperf: accept different perf_attr sizes.

The size of perf_attr can be increased as new features are added. And
we can accept different perf_attr sizes in perf.data, and ignore
unknown features.

Bug: 26962895

Change-Id: Ia42617f92acb3ab6ae56eb91aa0d7b73efc0b8af
(cherry picked from commit dd2ae2878b7e5ac1754da55a08cbcdacadf53d78)

8 years agosimpleperf: port read_apk and read_apk/read_elf tests to nonlinux.
Yabin Cui [Sat, 6 Feb 2016 01:32:08 +0000 (17:32 -0800)]
simpleperf: port read_apk and read_apk/read_elf tests to nonlinux.

Also make following small changes:
1. Manage testdata files like libziparchive.
2. Replace StringToPid() with android::base::ParseInt().
3. Add tests in read_elf_test.

Bug: 26962895

Change-Id: I6603e9f3cea3a013e2618ea003790d102739f843
(cherry picked from commit 569f64afd3db2b43003978765b833669f99477d2)

8 years agoMerge "Fix static analyzer warnings." am: 5667da92fd
Chih-Hung Hsieh [Fri, 4 Mar 2016 19:58:38 +0000 (19:58 +0000)]
Merge "Fix static analyzer warnings." am: 5667da92fd
am: be20231f03

* commit 'be20231f033abe912cde88c3d6e8ef41d33cdff6':
  Fix static analyzer warnings.

8 years agoMerge "Fix static analyzer warnings."
Chih-Hung Hsieh [Fri, 4 Mar 2016 19:56:37 +0000 (19:56 +0000)]
Merge "Fix static analyzer warnings."
am: 5667da92fd

* commit '5667da92fd874c30eff40eae488ae6e05dba9d31':
  Fix static analyzer warnings.

8 years agoMerge "Fix static analyzer warnings."
Chih-hung Hsieh [Fri, 4 Mar 2016 19:38:44 +0000 (19:38 +0000)]
Merge "Fix static analyzer warnings."

8 years agoFix static analyzer warnings.
Chih-Hung Hsieh [Fri, 4 Mar 2016 18:14:32 +0000 (10:14 -0800)]
Fix static analyzer warnings.

* Add missing free.
* Remove unused local variable.

BUG: 27120398
Change-Id: I84d32fcee5615a428bd1de6673a6f15036736998

8 years agoMerge "postinst: Update postinstall_example documentation." am: 9be329ae32
Alex Deymo [Fri, 4 Mar 2016 05:47:24 +0000 (05:47 +0000)]
Merge "postinst: Update postinstall_example documentation." am: 9be329ae32
am: 11711d63fa

* commit '11711d63fa195ada77ec9f95b498136d5b64f464':
  postinst: Update postinstall_example documentation.

8 years agoMerge "postinst: Update postinstall_example documentation."
Alex Deymo [Fri, 4 Mar 2016 05:45:33 +0000 (05:45 +0000)]
Merge "postinst: Update postinstall_example documentation."
am: 9be329ae32

* commit '9be329ae3292cd3c90057bb8b945ac55ff35b2ca':
  postinst: Update postinstall_example documentation.

8 years agoMerge "postinst: Update postinstall_example documentation."
Alex Deymo [Fri, 4 Mar 2016 05:39:49 +0000 (05:39 +0000)]
Merge "postinst: Update postinstall_example documentation."

8 years agoMerge "Cleanup uses of sprintf so we can deprecate it." am: 33f2127b43
George Burgess IV [Thu, 3 Mar 2016 22:03:17 +0000 (22:03 +0000)]
Merge "Cleanup uses of sprintf so we can deprecate it." am: 33f2127b43
am: 4604c8e464

* commit '4604c8e4648cc0298f96a40ab5e51a6a22e792d4':
  Cleanup uses of sprintf so we can deprecate it.

8 years agoMerge "Cleanup uses of sprintf so we can deprecate it."
George Burgess IV [Thu, 3 Mar 2016 21:53:17 +0000 (21:53 +0000)]
Merge "Cleanup uses of sprintf so we can deprecate it."
am: 33f2127b43

* commit '33f2127b43c3f0a5bd4496822222810f22e1489d':
  Cleanup uses of sprintf so we can deprecate it.

8 years agoMerge "Cleanup uses of sprintf so we can deprecate it."
George Burgess IV [Thu, 3 Mar 2016 21:44:56 +0000 (21:44 +0000)]
Merge "Cleanup uses of sprintf so we can deprecate it."

8 years agoMerge "simpleperf: support building cts test." am: acf5a605e8
Yabin Cui [Thu, 3 Mar 2016 19:42:46 +0000 (19:42 +0000)]
Merge "simpleperf: support building cts test." am: acf5a605e8
am: 50c29925a3

* commit '50c29925a3a59aa6cfbaa9868dcb091d75ef87a1':
  simpleperf: support building cts test.

8 years agoMerge "simpleperf: support building cts test."
Yabin Cui [Thu, 3 Mar 2016 19:08:53 +0000 (19:08 +0000)]
Merge "simpleperf: support building cts test."
am: acf5a605e8

* commit 'acf5a605e8e97f6beab23a2b270a02c3565c12cd':
  simpleperf: support building cts test.

8 years agoMerge "simpleperf: support building cts test."
Yabin Cui [Thu, 3 Mar 2016 18:59:38 +0000 (18:59 +0000)]
Merge "simpleperf: support building cts test."

8 years agosimpleperf: support building cts test.
Yabin Cui [Wed, 2 Mar 2016 21:56:28 +0000 (13:56 -0800)]
simpleperf: support building cts test.

1. build cts test libraries.
2. change tests to use tmpfile instead of perf.data.
3. support extracting testdata from cts test file.

Bug: 27387280
Change-Id: I7c5db77f3157d586d0c9beb446b247626e7cce36

8 years agopostinst: Update postinstall_example documentation.
Alex Deymo [Thu, 3 Mar 2016 02:02:17 +0000 (18:02 -0800)]
postinst: Update postinstall_example documentation.

We don't need the /postinst symlink anymore, instead we should provide
the path to the executable in the config. An example of how to setup
that is now included in the documentation of postinstall_example.

Bug: 27177071
TEST=Deployed this script as postinstall on edison-eng.

Change-Id: I2f7bd50174db42a57d25277883b0ec795ca17144

8 years agoCleanup uses of sprintf so we can deprecate it.
George Burgess IV [Wed, 2 Mar 2016 22:15:49 +0000 (14:15 -0800)]
Cleanup uses of sprintf so we can deprecate it.

Change-Id: I3ed15a7c261adf01c310bb58ff7ce836ea400bba

8 years agoMerge "simpleperf: fix analyzer warning." am: 5cfed7b49b
Yabin Cui [Wed, 2 Mar 2016 19:10:14 +0000 (19:10 +0000)]
Merge "simpleperf: fix analyzer warning." am: 5cfed7b49b
am: fab91a6086

* commit 'fab91a60861bbb8ba69971e4a899143fe5ef46af':
  simpleperf: fix analyzer warning.

8 years agoMerge "simpleperf: fix analyzer warning."
Yabin Cui [Wed, 2 Mar 2016 18:59:04 +0000 (18:59 +0000)]
Merge "simpleperf: fix analyzer warning."
am: 5cfed7b49b

* commit '5cfed7b49b1ae706265d4181b1d4f0dbb79491f5':
  simpleperf: fix analyzer warning.

8 years agoMerge "simpleperf: fix analyzer warning."
Yabin Cui [Wed, 2 Mar 2016 18:47:52 +0000 (18:47 +0000)]
Merge "simpleperf: fix analyzer warning."

8 years agoMerge "Delete net_test from system/extras now that it\'s in kernel/tests." am: 3669b3f331
Lorenzo Colitti [Wed, 2 Mar 2016 08:24:45 +0000 (08:24 +0000)]
Merge "Delete net_test from system/extras now that it\'s in kernel/tests." am: 3669b3f331
am: fb9148766a

* commit 'fb9148766a14d932c993dfc4cdb6a1dd46a82e83':
  Delete net_test from system/extras now that it's in kernel/tests.

8 years agoMerge "Delete net_test from system/extras now that it\'s in kernel/tests."
Lorenzo Colitti [Wed, 2 Mar 2016 08:15:41 +0000 (08:15 +0000)]
Merge "Delete net_test from system/extras now that it\'s in kernel/tests."
am: 3669b3f331

* commit '3669b3f331485fec4a304177b8a80a25efd1f7d8':
  Delete net_test from system/extras now that it's in kernel/tests.

8 years agoMerge "Delete net_test from system/extras now that it's in kernel/tests."
Lorenzo Colitti [Wed, 2 Mar 2016 08:04:01 +0000 (08:04 +0000)]
Merge "Delete net_test from system/extras now that it's in kernel/tests."

8 years agosimpleperf: fix analyzer warning.
Yabin Cui [Tue, 1 Mar 2016 22:05:25 +0000 (14:05 -0800)]
simpleperf: fix analyzer warning.

Bug: 27432175
Change-Id: If0e8bc724cf659508726215d515d3df30cbebe6b

8 years agoFix pagemap_test#maps.
Elliott Hughes [Wed, 2 Mar 2016 02:25:03 +0000 (02:25 +0000)]
Fix pagemap_test#maps.
am: f018ba35fa

* commit 'f018ba35fad06c3cf389a89e97d16d1b98251d63':
  Fix pagemap_test#maps.

8 years agoMerge "Fix one static analyzer warning." am: 63728630cb
Chih-Hung Hsieh [Tue, 1 Mar 2016 22:34:37 +0000 (22:34 +0000)]
Merge "Fix one static analyzer warning." am: 63728630cb
am: e7afd3a049

* commit 'e7afd3a049a0fedcd1ced6cc85939480196e38da':
  Fix one static analyzer warning.

8 years agoMerge "Fix one static analyzer warning."
Chih-Hung Hsieh [Tue, 1 Mar 2016 22:29:22 +0000 (22:29 +0000)]
Merge "Fix one static analyzer warning."
am: 63728630cb

* commit '63728630cb507e1b797eafb6b22cc0720684b87c':
  Fix one static analyzer warning.

8 years agoMerge "Fix one static analyzer warning."
Chih-hung Hsieh [Tue, 1 Mar 2016 22:22:28 +0000 (22:22 +0000)]
Merge "Fix one static analyzer warning."

8 years agoFix one static analyzer warning.
Chih-Hung Hsieh [Tue, 1 Mar 2016 21:42:49 +0000 (13:42 -0800)]
Fix one static analyzer warning.

Result of 'realloc' is converted to a pointer of type 'struct
mapping_info *', which is incompatible with sizeof operand type 'struct
mapping *'

BUG: 27121003
Change-Id: Ib05b884ba577751a382b7a5dbbfea8cca2e0f23f

8 years agoFix pagemap_test#maps.
Elliott Hughes [Tue, 1 Mar 2016 16:02:37 +0000 (08:02 -0800)]
Fix pagemap_test#maps.

We don't necessarily have a brk-based heap.

Bug: http://b/27425642

(cherry picked from commit b2084a55a9e499b8c26b751956078282e12b0609)

Change-Id: Ia5c96fb26a8011c62037f3a3c4cbf44e3b936507

8 years agoMerge "Fix pagemap_test#maps." am: 5dc5241d77
Elliott Hughes [Tue, 1 Mar 2016 20:09:12 +0000 (20:09 +0000)]
Merge "Fix pagemap_test#maps." am: 5dc5241d77
am: 02235d5d8d

* commit '02235d5d8d8f20559803ac30ed367cb968cfa207':
  Fix pagemap_test#maps.

8 years agoMerge "Fix pagemap_test#maps."
Elliott Hughes [Tue, 1 Mar 2016 20:07:42 +0000 (20:07 +0000)]
Merge "Fix pagemap_test#maps."
am: 5dc5241d77

* commit '5dc5241d7785569a6a4b65df475ac9451cdfe531':
  Fix pagemap_test#maps.

8 years agoMerge "Fix pagemap_test#maps."
Elliott Hughes [Tue, 1 Mar 2016 20:06:55 +0000 (20:06 +0000)]
Merge "Fix pagemap_test#maps."

8 years agoMerge "Fix typo in \'help report\' output." am: 4e6f660ab0
Than McIntosh [Tue, 1 Mar 2016 19:46:36 +0000 (19:46 +0000)]
Merge "Fix typo in \'help report\' output." am: 4e6f660ab0
am: fe4b8f25e2

* commit 'fe4b8f25e275c255f12fe3767d1e2fa4e31a9d2f':
  Fix typo in 'help report' output.

8 years agoFix pagemap_test#maps.
Elliott Hughes [Tue, 1 Mar 2016 16:02:37 +0000 (08:02 -0800)]
Fix pagemap_test#maps.

We don't necessarily have a brk-based heap.

Bug: http://b/27425642
Change-Id: Iac30904ba35c645afe9b056de8df975ebce92a37

8 years agoMerge "Fix typo in \'help report\' output."
Than McIntosh [Tue, 1 Mar 2016 18:31:34 +0000 (18:31 +0000)]
Merge "Fix typo in \'help report\' output."
am: 4e6f660ab0

* commit '4e6f660ab0d58bd375deec17f36532254183d29d':
  Fix typo in 'help report' output.

8 years agoMerge "Fix typo in 'help report' output."
Than McIntosh [Tue, 1 Mar 2016 18:27:45 +0000 (18:27 +0000)]
Merge "Fix typo in 'help report' output."

8 years agoFix typo in 'help report' output.
Than McIntosh [Tue, 1 Mar 2016 17:38:33 +0000 (12:38 -0500)]
Fix typo in 'help report' output.

Was "--pid", should be "--pids".

Change-Id: Icb49a3d7568bd8f339bf0e4e1065fe2367514588

8 years agoMerge "simpleperf: fix mac build." am: 9e0f649ea9
Yabin Cui [Thu, 25 Feb 2016 20:40:10 +0000 (20:40 +0000)]
Merge "simpleperf: fix mac build." am: 9e0f649ea9
am: 99adeea02a

* commit '99adeea02aee4f2887f8dfb325ce919d404aad2f':
  simpleperf: fix mac build.

8 years agoMerge "simpleperf: fix mac build."
Yabin Cui [Thu, 25 Feb 2016 20:38:25 +0000 (20:38 +0000)]
Merge "simpleperf: fix mac build."
am: 9e0f649ea9

* commit '9e0f649ea94cce48df7bfca238fecac1ed1dac98':
  simpleperf: fix mac build.

8 years agoMerge "simpleperf: fix mac build."
Yabin Cui [Thu, 25 Feb 2016 20:36:03 +0000 (20:36 +0000)]
Merge "simpleperf: fix mac build."

8 years agoMerge "simpleperf: port cmd_report_test to nonlinux." am: ec2bf27cb9
Yabin Cui [Thu, 25 Feb 2016 19:25:33 +0000 (19:25 +0000)]
Merge "simpleperf: port cmd_report_test to nonlinux." am: ec2bf27cb9
am: bfbf46b8fe

* commit 'bfbf46b8fe5f55abfbb0c55d248a73259d51655f':
  simpleperf: port cmd_report_test to nonlinux.

8 years agoMerge "simpleperf: port cmd_report_test to nonlinux."
Yabin Cui [Thu, 25 Feb 2016 19:09:44 +0000 (19:09 +0000)]
Merge "simpleperf: port cmd_report_test to nonlinux."
am: ec2bf27cb9

* commit 'ec2bf27cb962e55cfa25116ba5880ecb19910a07':
  simpleperf: port cmd_report_test to nonlinux.

8 years agoMerge "simpleperf: port cmd_report_test to nonlinux."
Yabin Cui [Thu, 25 Feb 2016 19:08:07 +0000 (19:08 +0000)]
Merge "simpleperf: port cmd_report_test to nonlinux."

8 years agosimpleperf: fix mac build.
Yabin Cui [Thu, 25 Feb 2016 19:02:30 +0000 (11:02 -0800)]
simpleperf: fix mac build.

I forgot that mac doesn't support whole static library. Change to static library
to avoid hiting the same problem in the future.

Bug: 26962895
Change-Id: Ia8e26c2e1cf7621391e00e100b22b7ed451dfa32

8 years agosimpleperf: port cmd_report_test to nonlinux.
Yabin Cui [Wed, 24 Feb 2016 05:41:03 +0000 (21:41 -0800)]
simpleperf: port cmd_report_test to nonlinux.

And fix one build_id bug introduced by previous patch.

Bug: 26962895

Change-Id: Ibb8bd6ec77ee862bb01c26342d3b3024468e75b2

8 years agoDelete net_test from system/extras now that it's in kernel/tests.
Lorenzo Colitti [Thu, 25 Feb 2016 13:37:48 +0000 (22:37 +0900)]
Delete net_test from system/extras now that it's in kernel/tests.

The directories are identical. This commit was generated by:

$ diff -u system/extras/tests/net_test kernel/tests/net/test/
$ cd system/extras/tests/net_test
$ git rm *

Bug: 27228782
Change-Id: I08ca870049c8e91bb0848314bf647f6e1ad2dd09

8 years agoMerge "Cite more kernel commits." am: e090897280
Lorenzo Colitti [Thu, 25 Feb 2016 13:21:42 +0000 (13:21 +0000)]
Merge "Cite more kernel commits." am: e090897280
am: 013f143ed8

* commit '013f143ed8352a8d7274df783ad07945c872fdd8':
  Cite more kernel commits.

8 years agoMerge "Cite more kernel commits."
Lorenzo Colitti [Thu, 25 Feb 2016 13:18:08 +0000 (13:18 +0000)]
Merge "Cite more kernel commits."
am: e090897280

* commit 'e0908972807e5366aba6af130a53803333f94145':
  Cite more kernel commits.

8 years agoMerge "Cite more kernel commits."
Lorenzo Colitti [Thu, 25 Feb 2016 13:13:19 +0000 (13:13 +0000)]
Merge "Cite more kernel commits."

8 years agoDon\'t define incremental ext4 for windows
Mohamad Ayyash [Wed, 24 Feb 2016 04:22:22 +0000 (04:22 +0000)]
Don\'t define incremental ext4 for windows
am: ef24424e32

* commit 'ef24424e32921f509f98aae429b6efd9b0e4eae6':
  Don't define incremental ext4 for windows

8 years agoDon't define incremental ext4 for windows
Mohamad Ayyash [Wed, 24 Feb 2016 04:13:02 +0000 (20:13 -0800)]
Don't define incremental ext4 for windows

Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Change-Id: I1eba14f7f4db2174de8feaa9d8e5e41524ac1d32

8 years agoRedesign make_ext4fs to incrementally generate ext4 images
Mohamad Ayyash [Tue, 23 Feb 2016 23:13:40 +0000 (23:13 +0000)]
Redesign make_ext4fs to incrementally generate ext4 images
am: 9579198cd7

* commit '9579198cd7d5b88b3508f1b00ddd77bd8da60682':
  Redesign make_ext4fs to incrementally generate ext4 images

8 years agoRedesign make_ext4fs to incrementally generate ext4 images
Mohamad Ayyash [Sat, 20 Feb 2016 03:46:00 +0000 (03:46 +0000)]
Redesign make_ext4fs to incrementally generate ext4 images

Allows passing a base fs mapping file through -d which preserves the
location of those mapping in existing files

Internal Design Doc: go/incremental-ext4
BUG: 26839493
Change-Id: I05e296693429d39466d257d1d0a3daf00510dc26
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
8 years agoCite more kernel commits.
Lorenzo Colitti [Tue, 23 Feb 2016 14:42:10 +0000 (23:42 +0900)]
Cite more kernel commits.

Change-Id: Ia335d5c8461e7dfb41211977df74422e00012be8

8 years agoMerge "Teach iproute how to dump IP addresses as well." am: 9e73f5af39
Lorenzo Colitti [Mon, 22 Feb 2016 01:41:25 +0000 (01:41 +0000)]
Merge "Teach iproute how to dump IP addresses as well." am: 9e73f5af39
am: 8660fb3ed4

* commit '8660fb3ed4b26884d59e49cb9254a9bfee8a7b83':
  Teach iproute how to dump IP addresses as well.

8 years agoMerge "Teach iproute how to dump IP addresses as well."
Lorenzo Colitti [Mon, 22 Feb 2016 01:38:07 +0000 (01:38 +0000)]
Merge "Teach iproute how to dump IP addresses as well."
am: 9e73f5af39

* commit '9e73f5af39c035f25b0ac081e999907865789f9e':
  Teach iproute how to dump IP addresses as well.

8 years agoMerge "Teach iproute how to dump IP addresses as well."
Lorenzo Colitti [Mon, 22 Feb 2016 01:33:06 +0000 (01:33 +0000)]
Merge "Teach iproute how to dump IP addresses as well."

8 years agoTeach iproute how to dump IP addresses as well.
Lorenzo Colitti [Sun, 21 Feb 2016 13:45:09 +0000 (22:45 +0900)]
Teach iproute how to dump IP addresses as well.

Change-Id: I38b5182d9110d72758c48da4d0edc7cf0fb84283

8 years agoRevert "Redesign make_ext4fs to incrementally generate ext4 images"
Mohamad Ayyash [Fri, 19 Feb 2016 21:23:41 +0000 (21:23 +0000)]
Revert "Redesign make_ext4fs to incrementally generate ext4 images"
am: 18785a86a3

* commit '18785a86a30135ac65b88db9886bfc22d6608849':
  Revert "Redesign make_ext4fs to incrementally generate ext4 images"

8 years agoRevert "Redesign make_ext4fs to incrementally generate ext4 images"
Mohamad Ayyash [Fri, 19 Feb 2016 21:16:34 +0000 (21:16 +0000)]
Revert "Redesign make_ext4fs to incrementally generate ext4 images"

This reverts commit 3d960843a2260a98c8df5cc39ca0dbf3d675f1a2.

Change-Id: I0fb7d65f094feb4013924685270fc847693b6889

8 years agoRedesign make_ext4fs to incrementally generate ext4 images
Mohamad Ayyash [Fri, 19 Feb 2016 19:39:28 +0000 (19:39 +0000)]
Redesign make_ext4fs to incrementally generate ext4 images
am: 3d960843a2

* commit '3d960843a2260a98c8df5cc39ca0dbf3d675f1a2':
  Redesign make_ext4fs to incrementally generate ext4 images

8 years agoRedesign make_ext4fs to incrementally generate ext4 images
Mohamad Ayyash [Sat, 13 Feb 2016 05:40:52 +0000 (21:40 -0800)]
Redesign make_ext4fs to incrementally generate ext4 images

Allows passing a blk mapping file through -Z which preserves the
location of those mapping in existing files

Internal Design Doc: go/incremental-ext4
BUG: 26839493
Change-Id: I447873bf65ae66dab9923e5a11c497f0722750df
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
8 years agoMerge "simpleperf: fix build by removing off64_t." am: 21ac023d8e
Yabin Cui [Thu, 18 Feb 2016 20:42:22 +0000 (20:42 +0000)]
Merge "simpleperf: fix build by removing off64_t." am: 21ac023d8e
am: 9a1b2a7509

* commit '9a1b2a7509d0d6fce954f18e9441088d77a851de':
  simpleperf: fix build by removing off64_t.

8 years agoMerge "simpleperf: fix build by removing off64_t."
Yabin Cui [Thu, 18 Feb 2016 20:35:28 +0000 (20:35 +0000)]
Merge "simpleperf: fix build by removing off64_t."
am: 21ac023d8e

* commit '21ac023d8e90b61f4e82e3952a2f706f7db1038a':
  simpleperf: fix build by removing off64_t.

8 years agoMerge "simpleperf: fix build by removing off64_t."
Yabin Cui [Thu, 18 Feb 2016 20:26:56 +0000 (20:26 +0000)]
Merge "simpleperf: fix build by removing off64_t."

8 years agosimpleperf: fix build by removing off64_t.
Yabin Cui [Thu, 18 Feb 2016 20:11:40 +0000 (12:11 -0800)]
simpleperf: fix build by removing off64_t.

Bug: 26962895
Change-Id: I211bacc22c2f6b6b24c639365c706e93d66ce4ac

8 years agoMerge "simpleperf: report symbols of native libraries in apk file." am: 88a0a38c86
Yabin Cui [Thu, 18 Feb 2016 18:40:36 +0000 (18:40 +0000)]
Merge "simpleperf: report symbols of native libraries in apk file." am: 88a0a38c86
am: dcf41e35f3

* commit 'dcf41e35f315f2fd07bcae5808bb2a7ec4b7c456':
  simpleperf: report symbols of native libraries in apk file.

8 years agoMerge "simpleperf: report symbols of native libraries in apk file."
Yabin Cui [Thu, 18 Feb 2016 18:33:34 +0000 (18:33 +0000)]
Merge "simpleperf: report symbols of native libraries in apk file."
am: 88a0a38c86

* commit '88a0a38c86f34d1169fee5a66cc98bc3cc5ac30e':
  simpleperf: report symbols of native libraries in apk file.

8 years agoMerge "simpleperf: report symbols of native libraries in apk file."
Yabin Cui [Thu, 18 Feb 2016 18:22:51 +0000 (18:22 +0000)]
Merge "simpleperf: report symbols of native libraries in apk file."

8 years agosimpleperf: report symbols of native libraries in apk file.
Yabin Cui [Mon, 15 Feb 2016 03:18:02 +0000 (19:18 -0800)]
simpleperf: report symbols of native libraries in apk file.

Changes included:
1. provide interface in read_apk.h to read build id and symbols.
2. report symbols of native libraries in apk file.
3. refactor code in read_elf.cpp and read_apk.cpp.
4. add verbose log.
5. add -o report_file_name option for report command.
6. add corresponding unit tests.

Bug: 26962895
Change-Id: I0d5398996e0c29dba4a6f5226692b758ca096bbd

8 years agoMerge commit \'4258431621ef3cd32d3cec9604fa17324299cc42\' into HEAD
Bill Yi [Wed, 17 Feb 2016 20:46:08 +0000 (20:46 +0000)]
Merge commit \'4258431621ef3cd32d3cec9604fa17324299cc42\' into HEAD
am: 0ebf764baf

* commit '0ebf764baff1723e5217d083b2fa4457b8f23e5f':

8 years agoMerge commit '4258431621ef3cd32d3cec9604fa17324299cc42' into HEAD
Bill Yi [Wed, 17 Feb 2016 17:51:16 +0000 (09:51 -0800)]
Merge commit '4258431621ef3cd32d3cec9604fa17324299cc42' into HEAD

8 years agoMerge changes I871eb6a2,Ied6f5aae,I226a41e7
Lorenzo Colitti [Wed, 17 Feb 2016 06:11:24 +0000 (06:11 +0000)]
Merge changes I871eb6a2,Ied6f5aae,I226a41e7
am: 64e447eb40

* commit '64e447eb40d5edd86b415e252c584802608fae26':
  Add a test for the behaviour of FIN_WAIT sockets.
  Make the bytecode tests a bit more robust.
  Rename DisableLinger to DisableFinWait, and add an EnableFinWait.

8 years agoMerge changes I871eb6a2,Ied6f5aae,I226a41e7
Lorenzo Colitti [Wed, 17 Feb 2016 06:03:08 +0000 (06:03 +0000)]
Merge changes I871eb6a2,Ied6f5aae,I226a41e7

* changes:
  Add a test for the behaviour of FIN_WAIT sockets.
  Make the bytecode tests a bit more robust.
  Rename DisableLinger to DisableFinWait, and add an EnableFinWait.

8 years agoMerge "simpleperf: accept different perf_attr sizes."
Yabin Cui [Tue, 16 Feb 2016 21:52:11 +0000 (21:52 +0000)]
Merge "simpleperf: accept different perf_attr sizes."
am: 1d06628497

* commit '1d06628497bcf090cbb749c73d89f22167fe1281':
  simpleperf: accept different perf_attr sizes.

8 years agoMerge "simpleperf: accept different perf_attr sizes."
Yabin Cui [Tue, 16 Feb 2016 21:28:16 +0000 (21:28 +0000)]
Merge "simpleperf: accept different perf_attr sizes."

8 years agosimpleperf: accept different perf_attr sizes.
Yabin Cui [Tue, 16 Feb 2016 20:15:31 +0000 (12:15 -0800)]
simpleperf: accept different perf_attr sizes.

The size of perf_attr can be increased as new features are added. And
we can accept different perf_attr sizes in perf.data, and ignore
unknown features.

Change-Id: Ia42617f92acb3ab6ae56eb91aa0d7b73efc0b8af

8 years agoMerge "Improve sock_diag debugging code."
Lorenzo Colitti [Tue, 16 Feb 2016 16:17:10 +0000 (16:17 +0000)]
Merge "Improve sock_diag debugging code."
am: b1180e2c76

* commit 'b1180e2c76bed73f2ea2e7fbd3c02adc7eea9bcf':
  Improve sock_diag debugging code.

8 years agoAdd a test for the behaviour of FIN_WAIT sockets.
Lorenzo Colitti [Tue, 16 Feb 2016 16:07:15 +0000 (01:07 +0900)]
Add a test for the behaviour of FIN_WAIT sockets.

Change-Id: I871eb6a2d3ff889417e6ed02661c8d9a41980e61

8 years agoMake the bytecode tests a bit more robust.
Lorenzo Colitti [Tue, 16 Feb 2016 16:05:54 +0000 (01:05 +0900)]
Make the bytecode tests a bit more robust.

They used to require that there were no TCP sockets on the system
at all. Now they only require that there be no established
sockets. Not a huge improvement, but it does make it possible to
write tests that leave-non established sockets around after they
terminate.

Change-Id: Ied6f5aae3b6cf4a5bd25aa4fbeac637010e1f0e8

8 years agoRename DisableLinger to DisableFinWait, and add an EnableFinWait.
Lorenzo Colitti [Tue, 16 Feb 2016 15:42:58 +0000 (00:42 +0900)]
Rename DisableLinger to DisableFinWait, and add an EnableFinWait.

Change-Id: I226a41e7eed6cc5bda04f1fb3a0f1889a10408c0

8 years agoMerge "Improve sock_diag debugging code."
Lorenzo Colitti [Tue, 16 Feb 2016 16:08:28 +0000 (16:08 +0000)]
Merge "Improve sock_diag debugging code."

8 years agoMerge "Add missing liblog dependency"
Dimitry Ivanov [Sat, 13 Feb 2016 04:53:22 +0000 (04:53 +0000)]
Merge "Add missing liblog dependency"
am: 4b99605a60

* commit '4b99605a6057326ced14eda85c0851f306ce062f':
  Add missing liblog dependency

8 years agoMerge "Add missing liblog dependency"
Dimitry Ivanov [Sat, 13 Feb 2016 04:44:24 +0000 (04:44 +0000)]
Merge "Add missing liblog dependency"

8 years agoAdd missing liblog dependency
Dimitry Ivanov [Sat, 13 Feb 2016 02:43:40 +0000 (18:43 -0800)]
Add missing liblog dependency

Bug: http://b/27171986
Change-Id: I508d3cfbcb9e026b0f4a086fc6dd1adeffbffcc3

8 years agoMerge "Add missing liblog dependency"
Dimitry Ivanov [Sat, 13 Feb 2016 01:31:55 +0000 (01:31 +0000)]
Merge "Add missing liblog dependency"
am: aa068b31a6

* commit 'aa068b31a600d645e81f847df88a04b8547a957a':
  Add missing liblog dependency

8 years agoMerge "Add missing liblog dependency"
Dimitry Ivanov [Sat, 13 Feb 2016 00:31:18 +0000 (00:31 +0000)]
Merge "Add missing liblog dependency"

8 years agoAdd missing liblog dependency
Dimitry Ivanov [Sat, 13 Feb 2016 00:28:49 +0000 (16:28 -0800)]
Add missing liblog dependency

Bug: http://b/27171986
Change-Id: Ifef160cce7f64cd95ceb121e1c311e52352174c4