OSDN Git Service
Chih-hung Hsieh [Tue, 3 Oct 2017 15:35:35 +0000 (15:35 +0000)]
Merge "Use -Werror in system/extras" am:
560b2196d5 am:
954d9ce3e7
am:
d79020a5e4
Change-Id: If94da7caa721aa7394ff15819216348600b59691
Chih-hung Hsieh [Tue, 3 Oct 2017 15:34:22 +0000 (15:34 +0000)]
Merge "Use -Werror in system/extras" am:
560b2196d5
am:
954d9ce3e7
Change-Id: I37dbe88c991c3c3b475fba33a29c9bc66c511aed
Chih-hung Hsieh [Tue, 3 Oct 2017 15:31:56 +0000 (15:31 +0000)]
Merge "Use -Werror in system/extras"
am:
560b2196d5
Change-Id: Ib27445c71318d6aa11cf99b48aeb180529d7e11a
Chih-hung Hsieh [Tue, 3 Oct 2017 15:26:07 +0000 (15:26 +0000)]
Merge "Use -Werror in system/extras"
Dan Willemsen [Tue, 3 Oct 2017 03:35:54 +0000 (03:35 +0000)]
Merge "Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]]" am:
0d699ab3d2 am:
8c248c60b2
am:
61a2dfeaaa
Change-Id: I51539c7ca826f4ff2fe654ce4aa9bf0b43155eff
Dan Willemsen [Tue, 3 Oct 2017 03:19:54 +0000 (03:19 +0000)]
Merge "Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]]" am:
0d699ab3d2
am:
8c248c60b2
Change-Id: I2b5127bc84d61900989b88be3cda4088b9d8d117
Dan Willemsen [Tue, 3 Oct 2017 03:04:17 +0000 (03:04 +0000)]
Merge "Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]]"
am:
0d699ab3d2
Change-Id: Ic4ee82a22a3b3167b0a43f20965fb452ce667fc3
Dan Willemsen [Tue, 3 Oct 2017 02:30:06 +0000 (02:30 +0000)]
Merge "Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]]"
Chih-Hung Hsieh [Mon, 2 Oct 2017 22:06:37 +0000 (15:06 -0700)]
Use -Werror in system/extras
* Use system-extras-cflags-defaults
* Move -Wall -Werror from cppflags to cflags
* fix warning on redefinition of MAX_PATH
Bug:
66996870
Test: build with WITH_TIDY=1
Change-Id: Ib14b4d8eece767225a6fef639ed190b343678c00
Dan Willemsen [Mon, 2 Oct 2017 17:41:11 +0000 (10:41 -0700)]
Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]]
In the future, target.linux will apply to all targets running a linux kernel
(android, linux_glibc, linux_bionic). So move all current users to the specific
linux_glibc.
There will be another cleanup pass later that will move some instances back to
target.linux if the properties should be shared with target.android and
target.linux_bionic, but target.linux needs to be removed first.
Test: out/soong/build.ninja identical before/after
Change-Id: I79c638f0e5d0db86f14cb62209ece9166ebe8585
Exempt-From-Owner-Approval: build system cleanup
Dan Willemsen [Sat, 30 Sep 2017 01:17:02 +0000 (01:17 +0000)]
Merge "Remove default libraries" am:
6c6b05c47a am:
86e940fdac
am:
6160339f3d
Change-Id: I3e6cc6c40bf5ca9a6fe6bab7604aadf0c9254fac
Tianjie Xu [Sat, 30 Sep 2017 01:13:20 +0000 (01:13 +0000)]
Merge "Add libbase as a dependency for slideshow" am:
e57830b20a am:
b0f9502d00
am:
b990a6154f
Change-Id: Ica1c0f55f2e3c6d1dabdadd74d82f3303de4b18d
Bowgo Tsai [Sat, 30 Sep 2017 01:11:55 +0000 (01:11 +0000)]
Merge "boot_control_copy: switching to C++" am:
512f4b15b2 am:
37a744bcfc
am:
f23f04c04a
Change-Id: I8138e8e33da4a1309e92e6b12cbfee0b4df4af33
Dan Willemsen [Sat, 30 Sep 2017 00:43:05 +0000 (00:43 +0000)]
Merge "Remove default libraries" am:
6c6b05c47a
am:
86e940fdac
Change-Id: I36a46b1dcdd7cf6963eae1fb5e28838ed6d3b468
Dan Willemsen [Fri, 29 Sep 2017 21:53:24 +0000 (21:53 +0000)]
Merge "Remove default libraries"
am:
6c6b05c47a
Change-Id: I16e9d8a83b44453c625b3a8929f36b93161fba9d
Treehugger Robot [Fri, 29 Sep 2017 21:40:42 +0000 (21:40 +0000)]
Merge "Remove default libraries"
Tianjie Xu [Fri, 29 Sep 2017 17:42:37 +0000 (17:42 +0000)]
Merge "Add libbase as a dependency for slideshow" am:
e57830b20a
am:
b0f9502d00
Change-Id: Id282f5d472617f8ea30e40186a87d6a502faa104
Tianjie Xu [Fri, 29 Sep 2017 17:40:04 +0000 (17:40 +0000)]
Merge "Add libbase as a dependency for slideshow"
am:
e57830b20a
Change-Id: I46c7aac9e9c10f1590a04849c19edae958f72c0b
Tianjie Xu [Fri, 29 Sep 2017 17:34:20 +0000 (17:34 +0000)]
Merge "Add libbase as a dependency for slideshow"
Bowgo Tsai [Fri, 29 Sep 2017 09:39:03 +0000 (09:39 +0000)]
Merge "boot_control_copy: switching to C++" am:
512f4b15b2
am:
37a744bcfc
Change-Id: If40002b1af6de5fbb34c9518f4c694ed8edf82e7
Dan Willemsen [Fri, 29 Sep 2017 09:35:40 +0000 (09:35 +0000)]
Merge "Rename libz-host -> libz" am:
52e2821359 am:
4c1cccb5c4
am:
97828709f0
Change-Id: I593fd53509532c1dd1d032bdae9e3c0554eda355
Bowgo Tsai [Fri, 29 Sep 2017 08:37:08 +0000 (08:37 +0000)]
Merge "boot_control_copy: switching to C++"
am:
512f4b15b2
Change-Id: I9108edc16309282d6d57e709241389245663565d
Treehugger Robot [Fri, 29 Sep 2017 06:47:27 +0000 (06:47 +0000)]
Merge "boot_control_copy: switching to C++"
Dan Willemsen [Fri, 29 Sep 2017 04:20:44 +0000 (04:20 +0000)]
Merge "Rename libz-host -> libz" am:
52e2821359
am:
4c1cccb5c4
Change-Id: I5256d828fb036ed6f4a2db3fddc5fb5bd8c0aea0
Dan Willemsen [Fri, 29 Sep 2017 00:13:50 +0000 (17:13 -0700)]
Remove default libraries
libdl is part of system_shared_libs now. -ldl -lpthread -lm are now defaults
for host_ldlibs on Linux and Darwin. -lrt is a default for host_ldlibs on
Linux.
Test: m host
Test: mmma system/extras
Change-Id: I190f2f987392cd21275821645361adc19053c907
Exempt-From-Owner-Approval: build system cleanup
Dan Willemsen [Thu, 28 Sep 2017 22:57:49 +0000 (22:57 +0000)]
Merge "Rename libz-host -> libz"
am:
52e2821359
Change-Id: I1d462077904d8303b763dae78b69f77b5eff6efa
Dan Willemsen [Thu, 28 Sep 2017 20:57:43 +0000 (20:57 +0000)]
Merge "Rename libz-host -> libz"
Tianjie Xu [Thu, 28 Sep 2017 20:49:33 +0000 (13:49 -0700)]
Add libbase as a dependency for slideshow
libminui now depends on libbase
Bug:
67010912
Test: mma
Change-Id: Id12d1641b7d249e63ffd3b23d175aec6fa5ac334
Bowgo Tsai [Thu, 28 Sep 2017 07:18:37 +0000 (15:18 +0800)]
boot_control_copy: switching to C++
fs_mgr_get_entry_for_mount_point() is switching to a C++ only API (using
std::string). Do a minimum conversion here to adopt that change.
Bug:
67024518
Test: make and boot sailfish
Change-Id: I191fd0043815d75a799eb4001437abb107af6e79
Tao Bao [Thu, 28 Sep 2017 04:16:27 +0000 (04:16 +0000)]
Merge "ext4_utils: make file system image reproducible" into oc-mr1-dev
am:
9784ce307f
Change-Id: Icf59233cfc3a6e399894ab92855a8d764e0fb772
Tao Bao [Thu, 28 Sep 2017 04:11:13 +0000 (04:11 +0000)]
Merge "ext4_utils: make file system image reproducible" into oc-mr1-dev
Dan Willemsen [Wed, 27 Sep 2017 23:26:36 +0000 (16:26 -0700)]
Rename libz-host -> libz
Test: m host
Change-Id: I26c41cd885f9a48bb1c02bbd269c3f61f3c4dbdb
Jin Qian [Tue, 29 Aug 2017 00:28:49 +0000 (17:28 -0700)]
ext4_utils: make file system image reproducible
Add flags to set filesystem uuid, hash_seed and mke2fs time.
Bug:
64994964
Change-Id: I38369a3a9dfffefead11c4b8fdd1e6984e61b938
(cherry picked from commit
407a7de4c499ede24dbbeb22d2efe6490a974b0d)
Amaury Medeiros [Wed, 27 Sep 2017 17:14:00 +0000 (17:14 +0000)]
Merge "simpleperf: minor fix in report_sample.proto field" am:
4f613859c8 am:
c103d16a21
am:
2d67d0f52e
Change-Id: Ia86c0a163081bb75f82a760d2de0be6e6ee9d69d
Amaury Medeiros [Wed, 27 Sep 2017 17:12:03 +0000 (17:12 +0000)]
Merge "simpleperf: minor fix in report_sample.proto field" am:
4f613859c8
am:
c103d16a21
Change-Id: I319e8b42a59ba4a29dd3dedf1d896d5b09244737
Amaury Medeiros [Wed, 27 Sep 2017 17:10:31 +0000 (17:10 +0000)]
Merge "simpleperf: minor fix in report_sample.proto field"
am:
4f613859c8
Change-Id: Id0e72bb379f68bc41d75b3f9d77fcab76ad03471
Amaury Medeiros [Wed, 27 Sep 2017 17:06:33 +0000 (17:06 +0000)]
Merge "simpleperf: minor fix in report_sample.proto field"
Amaury Medeiros [Wed, 27 Sep 2017 12:28:53 +0000 (13:28 +0100)]
simpleperf: minor fix in report_sample.proto field
Test: run simpleperf_unit_test.
Change-Id: Ia42ce4c267ddae3640666f73f4a002c88429cb8e
Yabin Cui [Tue, 26 Sep 2017 22:51:41 +0000 (22:51 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build
4360250." am:
6b369241f1 am:
5db24b19df
am:
18696bb280
Change-Id: I96ae2f8adead144318e8c920a6f6d0c3517e7c41
Yabin Cui [Tue, 26 Sep 2017 22:37:17 +0000 (22:37 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build
4360250." am:
6b369241f1
am:
5db24b19df
Change-Id: Ia61a7dcc7b3bb9b03cbaa15220c9f1f1488ed0d1
Yabin Cui [Tue, 26 Sep 2017 22:35:30 +0000 (22:35 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build
4360250."
am:
6b369241f1
Change-Id: Id03e307c652c63daacea22a999e6911c858542cc
Yabin Cui [Tue, 26 Sep 2017 22:28:56 +0000 (22:28 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build
4360250."
Yabin Cui [Tue, 26 Sep 2017 17:29:00 +0000 (17:29 +0000)]
Merge "inferno: support building embedded flamegraph." am:
9cc31b876f am:
52f0911911
am:
4a6769c79d
Change-Id: I6a602eb854c70abed0400612e1ae2e31b13430cb
Yabin Cui [Tue, 26 Sep 2017 17:26:58 +0000 (17:26 +0000)]
Merge "inferno: support building embedded flamegraph." am:
9cc31b876f
am:
52f0911911
Change-Id: I164ec32948d65c97391ede40adf74442d1c2a58a
Yabin Cui [Tue, 26 Sep 2017 17:23:26 +0000 (10:23 -0700)]
simpleperf: update simpleperf prebuilts to build
4360250.
Taken from branch aosp-master.
Bug: http://b/
66914187
Test: none.
Change-Id: I31779df7d25c5f7210a2aaa85b4d4200d4972a89
Yabin Cui [Tue, 26 Sep 2017 17:24:31 +0000 (17:24 +0000)]
Merge "inferno: support building embedded flamegraph."
am:
9cc31b876f
Change-Id: I4f6dec36cdfa11d0db51ef94d632790e06f25687
Yabin Cui [Tue, 26 Sep 2017 17:17:03 +0000 (17:17 +0000)]
Merge "inferno: support building embedded flamegraph."
Yabin Cui [Tue, 26 Sep 2017 00:26:54 +0000 (00:26 +0000)]
Merge "simpleperf: Keep record time and android version in perf.data." am:
c34215a771 am:
7c08170f86
am:
70e38cd751
Change-Id: I008c069aa5a1538d90217d186819d629f4eeacf1
Yabin Cui [Tue, 26 Sep 2017 00:24:25 +0000 (00:24 +0000)]
Merge "simpleperf: Keep record time and android version in perf.data." am:
c34215a771
am:
7c08170f86
Change-Id: Ibd9430cf3fcff44eae0ff49426903659289d0d28
Yabin Cui [Tue, 26 Sep 2017 00:22:27 +0000 (00:22 +0000)]
Merge "simpleperf: Keep record time and android version in perf.data."
am:
c34215a771
Change-Id: I0bcc5388e410cbdbf2df3b905e97b98a79ad0ebc
Treehugger Robot [Tue, 26 Sep 2017 00:13:57 +0000 (00:13 +0000)]
Merge "simpleperf: Keep record time and android version in perf.data."
Yabin Cui [Mon, 25 Sep 2017 22:15:15 +0000 (15:15 -0700)]
simpleperf: Keep record time and android version in perf.data.
The record time and android version will be shown in html report.
Record time is useful to distinguish reports.
Android version is useful when checking reason for recording results.
Bug: http://b/
66914187
Test: run simpleperf_unit_test.
Change-Id: I61ad5df380f8b51a3a6bc1f4dfa4bc9f350a4792
Yabin Cui [Mon, 25 Sep 2017 22:54:45 +0000 (15:54 -0700)]
inferno: support building embedded flamegraph.
This is to show embedded flamegraph with other view in a report html.
Bug: http://b/
66914187
Test: run inferno.sh manually.
Change-Id: Ib68b7dcbd41d85d1fb47f1637407e50bd7e93d87
Tao Bao [Mon, 25 Sep 2017 16:07:21 +0000 (16:07 +0000)]
Merge "verity: Fix the broken 'build_verity_tree -A'." am:
97d9efc6ab am:
ab15d60079
am:
838d5fdc31
Change-Id: I7ce460c2ebd5a5312ffc4d6c52316829ab331c51
Tao Bao [Mon, 25 Sep 2017 16:03:50 +0000 (16:03 +0000)]
Merge "verity: Fix the broken 'build_verity_tree -A'." am:
97d9efc6ab
am:
ab15d60079
Change-Id: I01b1c9aad77015eab7bc462f6a9d574a5dbf04f9
Tao Bao [Mon, 25 Sep 2017 16:02:29 +0000 (16:02 +0000)]
Merge "verity: Fix the broken 'build_verity_tree -A'."
am:
97d9efc6ab
Change-Id: Ibbfa251eb6cf53ead264cc2c60c4bb0a030163f8
Tao Bao [Mon, 25 Sep 2017 15:49:12 +0000 (15:49 +0000)]
Merge "verity: Fix the broken 'build_verity_tree -A'."
Tao Bao [Sat, 23 Sep 2017 05:09:32 +0000 (22:09 -0700)]
verity: Fix the broken 'build_verity_tree -A'.
Commit
6eb049322c26431961fb69168a113bfd27016ab3 introduced a bug in
checking if there's any passed-in salt string (via '-A <salt>' or '-a
<salt>'). "salt.data()" should be "salt.empty()", which otherwise may
or may not be nullptr even if salt is empty. This CL fixes the issue.
This CL also removes the duplicate variable 'salt_size', which can be
fully covered by salt.size().
Test: m build_verity_tree;
Test: `build_verity_tree system.img verity.img` gives random root hash
and salt string across runs.
Test: `build_verity_tree -A <hex string> system.img verity.img` gives
identical results across runs.
Test: `build_verity_tree -a <string> system.img verity.img` gives
identical results across runs.
Change-Id: I377e42fc48c0f703dc33d813466f6ef60514bbe5
Yoshitaka Seto [Fri, 22 Sep 2017 01:49:33 +0000 (01:49 +0000)]
Remove pstore related unit tests from CTS
am:
8ffd0b85d3
Change-Id: Id31d7cac5563ff09a931306ec5c614c39e8ad7b7
Yoshitaka Seto [Mon, 31 Jul 2017 03:24:09 +0000 (12:24 +0900)]
Remove pstore related unit tests from CTS
Pstore test cases should not belong to CTS.
The test cases should be a part of GTS if really required.
Test: manual
Bug:
66431569
Bug:
63969981
Bug:
63913130
Signed-off-by: Srinavasa Nagaraju <Srinavasa.Nagaraju@sony.com>
Signed-off-by: Yoshitaka Seto <yoshitaka.seto@sony.com>
Tested-by: Srinavasa Nagaraju <Srinavasa.Nagaraju@sony.com>
Change-Id: Ie91625fd365b17dccdb179758639492da6b49787
Ting-Yuan Huang [Thu, 21 Sep 2017 19:25:34 +0000 (19:25 +0000)]
Merge "ext4_utils: Fix a looping bug and memory leak" am:
1db7fa615d am:
ae908cfb27
am:
d5070279f3
Change-Id: Id7ba7b29f78f631e2c5da78905e8360a070e4686
Ting-Yuan Huang [Thu, 21 Sep 2017 19:25:19 +0000 (19:25 +0000)]
Merge "Fix reduce_allocation()." am:
7d845bafe5 am:
c32774f81e
am:
968853c765
Change-Id: I4df82170e4d9f4661ae1ef8df384cc45dd6e6920
Ting-Yuan Huang [Thu, 21 Sep 2017 19:23:02 +0000 (19:23 +0000)]
Merge "ext4_utils: Fix a looping bug and memory leak" am:
1db7fa615d
am:
ae908cfb27
Change-Id: Ided398b0b112e87c3b0dc13561941d0cb0e4ad9b
Ting-Yuan Huang [Thu, 21 Sep 2017 19:22:47 +0000 (19:22 +0000)]
Merge "Fix reduce_allocation()." am:
7d845bafe5
am:
c32774f81e
Change-Id: I58b9a58d1e6b71da1f0c620afa2371f0cfcf2896
Ting-Yuan Huang [Thu, 21 Sep 2017 19:20:49 +0000 (19:20 +0000)]
Merge "ext4_utils: Fix a looping bug and memory leak"
am:
1db7fa615d
Change-Id: I9f7c608b981a286d25cb5ca2d9587e333808eddc
Ting-Yuan Huang [Thu, 21 Sep 2017 19:20:29 +0000 (19:20 +0000)]
Merge "Fix reduce_allocation()."
am:
7d845bafe5
Change-Id: I59e51d916e3a4dc6aefab2d41a0ad06a473fef1d
Treehugger Robot [Thu, 21 Sep 2017 19:17:34 +0000 (19:17 +0000)]
Merge "ext4_utils: Fix a looping bug and memory leak"
Treehugger Robot [Thu, 21 Sep 2017 19:16:38 +0000 (19:16 +0000)]
Merge "Fix reduce_allocation()."
Yabin Cui [Thu, 21 Sep 2017 01:23:10 +0000 (01:23 +0000)]
Merge "simpleperf: allow inferno to run from any dir." am:
a9e5b352f6 am:
e274d27f2a
am:
2896204393
Change-Id: I2d6bffff9c92f98ca0410923ba7a118903c74e5a
Yabin Cui [Thu, 21 Sep 2017 01:20:11 +0000 (01:20 +0000)]
Merge "simpleperf: allow inferno to run from any dir." am:
a9e5b352f6
am:
e274d27f2a
Change-Id: I532819f154dfccfdc5eb8383c866155e045a3ef1
Yabin Cui [Thu, 21 Sep 2017 01:18:12 +0000 (01:18 +0000)]
Merge "simpleperf: allow inferno to run from any dir."
am:
a9e5b352f6
Change-Id: I33034f54cb0919e1ce5d6152d5a1fbe896ca79b4
Treehugger Robot [Thu, 21 Sep 2017 01:14:34 +0000 (01:14 +0000)]
Merge "simpleperf: allow inferno to run from any dir."
Yabin Cui [Wed, 20 Sep 2017 23:20:04 +0000 (16:20 -0700)]
simpleperf: allow inferno to run from any dir.
Previously inferno.sh/.bat can only run from scripts/, this CL
removes the restriction.
Also add -o option to select report path.
Bug: http://b/
32834638
Test: run test.py.
Change-Id: Ib1651dcd1beedac5be00249150e0b74fea906924
Manoj Gupta [Wed, 20 Sep 2017 00:36:00 +0000 (00:36 +0000)]
Merge "Fix clang static analyzer warnings" am:
797da605d0 am:
b11b9ab538
am:
f8d8a71e1b
Change-Id: Ib910a1a2bc7a5514235d97082b89b67cec616e01
Manoj Gupta [Wed, 20 Sep 2017 00:33:51 +0000 (00:33 +0000)]
Merge "Fix clang static analyzer warnings" am:
797da605d0
am:
b11b9ab538
Change-Id: Ie38a626cc48f5df867bcbaf489c4b2942fb829c7
Manoj Gupta [Wed, 20 Sep 2017 00:30:11 +0000 (00:30 +0000)]
Merge "Fix clang static analyzer warnings"
am:
797da605d0
Change-Id: I5224ae1341e6442f28c044524c3d8b790873cdc8
Treehugger Robot [Wed, 20 Sep 2017 00:23:44 +0000 (00:23 +0000)]
Merge "Fix clang static analyzer warnings"
Ting-Yuan Huang [Tue, 29 Aug 2017 23:27:59 +0000 (16:27 -0700)]
ext4_utils: Fix a looping bug and memory leak
Test: built without seeing the compiler warnings.
Change-Id: Ia277667b62323852f493a24b53ba3a34222c4f0e
Mohan Srinivasan [Fri, 15 Sep 2017 21:45:54 +0000 (21:45 +0000)]
Merge "Add writepage(s) blaming support to ioblame." into oc-mr1-dev
am:
7f3beedb7a
Change-Id: I62a4142ebb4016c20130057555d3d9d61b6dcccc
TreeHugger Robot [Fri, 15 Sep 2017 21:37:30 +0000 (21:37 +0000)]
Merge "Add writepage(s) blaming support to ioblame." into oc-mr1-dev
Bill Yi [Fri, 15 Sep 2017 21:23:28 +0000 (21:23 +0000)]
Merge remote-tracking branch 'aosp/oreo-cts-dev' into HEAD - DO NOT MERGE am:
57df090195 -s ours am:
0b083d58be -s ours
am:
4ed8458384
Change-Id: I4246c353f509604b934b8d130486e26369ec2bf4
Bill Yi [Fri, 15 Sep 2017 21:21:41 +0000 (21:21 +0000)]
Merge remote-tracking branch 'aosp/oreo-cts-dev' into HEAD - DO NOT MERGE am:
57df090195 -s ours
am:
0b083d58be -s ours
Change-Id: I77bfeeb76d21179afc7eeb972a8a77109bcea010
Bill Yi [Fri, 15 Sep 2017 21:14:45 +0000 (21:14 +0000)]
Merge remote-tracking branch 'aosp/oreo-cts-dev' into HEAD - DO NOT MERGE
am:
57df090195 -s ours
Change-Id: Ib04ab6d30f4a371d2d73cc7ed39d34775912829e
Bill Yi [Fri, 15 Sep 2017 20:48:14 +0000 (13:48 -0700)]
Merge remote-tracking branch 'aosp/oreo-cts-dev' into HEAD - DO NOT MERGE
Change-Id: I126b325ab5686ab9a99735d47cad2a20e53022ca
Mohan Srinivasan [Fri, 8 Sep 2017 20:58:47 +0000 (13:58 -0700)]
Add writepage(s) blaming support to ioblame.
Make ioblame use the (f2fs) writepage(s) tracepoint, to attribute
writepage(s) to filenames. Useful to track down and tune apps that
might be writing too much.
Test: Tested the (new) -p option with f2fs (and also with ext4)
ensuring that it works with the former and exits gracefully with
error in the latter cases.
Bug:
63939317
Change-Id: I2a3ad02a650a293dbca4c23d0276bbe86ad648fe
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
Treehugger Robot [Thu, 14 Sep 2017 17:30:43 +0000 (17:30 +0000)]
Merge "simpleperf: fix report_sample_test." into oreo-cts-dev
Yabin Cui [Thu, 14 Sep 2017 06:39:15 +0000 (06:39 +0000)]
simpleperf: Omit dwarf-callgraph tests running on arm translation tools.
am:
3035e41eb6 -s ours
Change-Id: Ideeca0820befd88dde17dd499db618f0d23aeb36
Justin Yun [Thu, 14 Sep 2017 06:14:50 +0000 (06:14 +0000)]
Merge "Mark the module as VNDK or VNDK-SP in Android.bp" am:
6f9b64076a am:
ed1878c15b
am:
a7fcb39a5b -s ours
Change-Id: Id84d48eab239f3fc4b102d86deb232793f937104
Yabin Cui [Thu, 14 Sep 2017 06:14:31 +0000 (06:14 +0000)]
Merge "simpleperf: Omit dwarf-callgraph tests running on arm translation tools." am:
1486c2cb07 am:
ce64ec96a3
am:
0ebafd2f16
Change-Id: I82bd1808b45b558cd12cc6064ae64a20376f7066
Justin Yun [Thu, 14 Sep 2017 05:49:15 +0000 (05:49 +0000)]
Merge "Mark the module as VNDK or VNDK-SP in Android.bp" am:
6f9b64076a
am:
ed1878c15b
Change-Id: I313ddcb7532f66e787f8c517f75849ca1542259d
Yabin Cui [Thu, 14 Sep 2017 05:48:56 +0000 (05:48 +0000)]
Merge "simpleperf: Omit dwarf-callgraph tests running on arm translation tools." am:
1486c2cb07
am:
ce64ec96a3
Change-Id: I223c88679614c8e65ece5cf9bd61882c2c1b9e89
Justin Yun [Thu, 14 Sep 2017 05:22:25 +0000 (05:22 +0000)]
Merge "Mark the module as VNDK or VNDK-SP in Android.bp"
am:
6f9b64076a
Change-Id: Idc3ff00540eac3f6755ebbda162db57160753c75
Yabin Cui [Thu, 14 Sep 2017 05:22:08 +0000 (05:22 +0000)]
Merge "simpleperf: Omit dwarf-callgraph tests running on arm translation tools."
am:
1486c2cb07
Change-Id: I55efc3b160b62345742ab17874ae9d9dfca4bb1b
Yabin Cui [Wed, 13 Sep 2017 20:21:32 +0000 (13:21 -0700)]
simpleperf: Omit dwarf-callgraph tests running on arm translation tools.
Bug: http://b/
64946809
Bug:
64709603 (presubmit balking at the line above)
Test: run arm CtsSimpleperfTestCases32 on fugu.
Change-Id: I76ee44b8fd2a6022cbef32392ee0336fe4d14ade
(cherry picked from commit
64a9ecda2c006f90dcc047ad95be792139622ead)
Jin Qian [Thu, 14 Sep 2017 03:37:10 +0000 (03:37 +0000)]
ext4_utils: fix off-by-one error when free blocks
am:
98e4272576
Change-Id: I85bf700d37794bf84188790d92c1199555a13452
Treehugger Robot [Thu, 14 Sep 2017 01:59:30 +0000 (01:59 +0000)]
Merge "Mark the module as VNDK or VNDK-SP in Android.bp"
Treehugger Robot [Thu, 14 Sep 2017 01:45:39 +0000 (01:45 +0000)]
Merge "simpleperf: Omit dwarf-callgraph tests running on arm translation tools."
Yabin Cui [Mon, 15 May 2017 20:39:36 +0000 (13:39 -0700)]
simpleperf: fix report_sample_test.
When running cmd_report_sample.* tests, it may call
ReportSampleCmd()->Run() more than once. If we shutdown
protobuf library in one call, using protobuf in the
following calls will encounter failures.
Bug: http://b/
37996565
Test: run CtsSimpleperfTestCases.
Change-Id: I5ca217406e786645d45fda518055c4a63ab3db3c
(cherry picked from commit
b3675a5db81d02b07b92f8f13d37187a9cb4890c)
Yabin Cui [Wed, 13 Sep 2017 20:21:32 +0000 (13:21 -0700)]
simpleperf: Omit dwarf-callgraph tests running on arm translation tools.
Bug: http://b/
64946809
Test: run arm CtsSimpleperfTestCases32 on fugu.
Change-Id: I76ee44b8fd2a6022cbef32392ee0336fe4d14ade
Ting-Yuan Huang [Tue, 29 Aug 2017 23:05:31 +0000 (16:05 -0700)]
Fix reduce_allocation().
alloc->list.last was repeatedly freed.
Test: built without seeing warnings.
Change-Id: Ia8b2f9d4b8ba9fbe13fae5d7a0a4d526ddc863d6