OSDN Git Service
Florian Mayer [Wed, 6 Mar 2019 16:46:50 +0000 (08:46 -0800)]
Merge "Use unique_ptr for Maps object."
am:
00b2081911
Change-Id: Ief662c58d50300e2d91d88f272e89d7dccc3117c
Florian Mayer [Wed, 6 Mar 2019 16:31:10 +0000 (16:31 +0000)]
Merge "Use unique_ptr for Maps object."
Daniel Rosenberg [Fri, 1 Mar 2019 04:26:34 +0000 (20:26 -0800)]
Merge "Add a postinstall script for GC on F2FS"
am:
9604da99e1
Change-Id: I0be4cd40888937bdcb0a09ad7b737f4fd23af73a
Daniel Rosenberg [Fri, 1 Mar 2019 04:16:59 +0000 (04:16 +0000)]
Merge "Add a postinstall script for GC on F2FS"
Daniel Rosenberg [Thu, 14 Feb 2019 00:24:25 +0000 (16:24 -0800)]
Add a postinstall script for GC on F2FS
This script is intended to run on F2FS checkpointing devices.
It triggers garbage collection for a period of time to make
mounting with checkpoint=disable smoother.
Test: Set this script as a postinstall script on vendor
Bug:
123367711
Change-Id: I87e143a2004da5852654688c3c8773510b7073ae
Yabin Cui [Thu, 28 Feb 2019 22:37:44 +0000 (14:37 -0800)]
Merge "simpleperf: make app api available for profileable apps."
am:
c8467aa1cd
Change-Id: Ie527fdf062e84ce6bbc5c59a8630e4516478c8a3
Yabin Cui [Thu, 28 Feb 2019 21:54:52 +0000 (21:54 +0000)]
Merge "simpleperf: make app api available for profileable apps."
Yabin Cui [Mon, 25 Feb 2019 23:22:43 +0000 (15:22 -0800)]
simpleperf: make app api available for profileable apps.
Add api-prepare cmd to prepare recording via app api.
Add api-collect cmd to collect recording data generated by app api. The
recording data is compressed into a zip file.
The two added cmds support both debuggable apps and profileable apps.
Move api_app_profiler.py to api_profiler.py. And use the two added cmds in it.
Also improve app_api code:
1. Fix finding simpleperf.
2. Use time based output filenames.
Bug:
123717243
Test: test manually, will add run python tests later.
Change-Id: I88c20578d01a84bc20ea72276f2cab0f3c4d9109
Yabin Cui [Thu, 28 Feb 2019 18:58:26 +0000 (10:58 -0800)]
Merge "simpleperf: add test for a problem recording user stack."
am:
549d13ff00
Change-Id: I45f022ad18fed5d6158e80adffdba37e796e89d1
Yabin Cui [Thu, 28 Feb 2019 18:45:55 +0000 (18:45 +0000)]
Merge "simpleperf: add test for a problem recording user stack."
Yabin Cui [Thu, 28 Feb 2019 12:38:38 +0000 (04:38 -0800)]
Merge "simpleperf: fix 32-bit simpleperf_unit_test."
am:
12b04e5e17
Change-Id: I7d32798b4779127258f9fdfdcea5d8f47759bbb4
Treehugger Robot [Thu, 28 Feb 2019 12:27:09 +0000 (12:27 +0000)]
Merge "simpleperf: fix 32-bit simpleperf_unit_test."
Yabin Cui [Thu, 28 Feb 2019 00:06:53 +0000 (16:06 -0800)]
Merge "simpleperf: fix showing a misleading msg."
am:
284f5b9611
Change-Id: Ie613a93ef83ac509f0104a87e989efe0a68bcf50
Yabin Cui [Wed, 27 Feb 2019 23:44:34 +0000 (23:44 +0000)]
Merge "simpleperf: fix showing a misleading msg."
Yabin Cui [Wed, 27 Feb 2019 18:53:16 +0000 (10:53 -0800)]
simpleperf: fix 32-bit simpleperf_unit_test.
Previously simpleperf_unit_test links with libLLVM_android,
which doesn't have 32-bit version on device. This makes
32-bit simpleperf_unit_test fail. So switch it to static llvm
libs.
Bug: none
Test: build and run simpleperf_unit_test.
Change-Id: I23dcf647c6a7e37a8126315bf0417d4de283f05d
Yabin Cui [Wed, 27 Feb 2019 21:44:16 +0000 (13:44 -0800)]
simpleperf: add test for a problem recording user stack.
Also fix a line in another test.
Bug:
113127950
Test: run simpleperf_unit_test.
Change-Id: Id7fd20cdc441734a8d39255fecfbd8fe9021274e
Yabin Cui [Wed, 27 Feb 2019 21:01:47 +0000 (13:01 -0800)]
simpleperf: fix showing a misleading msg.
Bug: none
Test: run simpleperf manually.
Test: run simpleperf_unit_test.
Change-Id: I848d6508b8acecdba3be2d2fc1ce15be4e2a368b
David Anderson [Wed, 27 Feb 2019 19:56:28 +0000 (11:56 -0800)]
Merge "libfscrypt: Do not encrypt the "gsi" folder."
am:
de8da60180
Change-Id: Iaf0da57d4d0829b49f87ec57886a156b01d786f1
David Anderson [Wed, 27 Feb 2019 19:48:14 +0000 (19:48 +0000)]
Merge "libfscrypt: Do not encrypt the "gsi" folder."
Florian Mayer [Wed, 27 Feb 2019 19:35:01 +0000 (19:35 +0000)]
Use unique_ptr for Maps object.
Change-Id: I727832857834c527c17bac532253aaac60e1b314
Sami Tolvanen [Tue, 26 Feb 2019 16:26:58 +0000 (08:26 -0800)]
Merge "Fix build error of generating fec data"
am:
1efeb1d970
Change-Id: I4e1bb2582335cc89785a0a668432b1e498c2f5a8
Sami Tolvanen [Tue, 26 Feb 2019 16:17:07 +0000 (16:17 +0000)]
Merge "Fix build error of generating fec data"
Martin Stjernholm [Tue, 26 Feb 2019 07:09:24 +0000 (23:09 -0800)]
Merge "Fix libdexfile dependencies to avoid direct dependency on libdexfile_external."
am:
c65e54940b
Change-Id: I2ecef404bfe0277f88278d2b8623d3b58b23a46b
Jeff Vander Stoep [Tue, 26 Feb 2019 06:51:41 +0000 (22:51 -0800)]
Merge "cppreopts: remove DAC capabilities"
am:
f7d22c0919
Change-Id: I20f23abaaddd7e29ae8ddf9a9167928b08ad1938
David Anderson [Tue, 26 Feb 2019 00:34:24 +0000 (16:34 -0800)]
libfscrypt: Do not encrypt the "gsi" folder.
On FBE devices without metadata encryption, GSI images must not be
encrypted, since they are written using normal write() calls rather than
going through device-mapper.
Bug:
126249541
Test: GSI works on FBE device without metadata encryption
Change-Id: Ie14be778eb4a7f18dd8ea33a044ba86f909f3cce
Treehugger Robot [Mon, 25 Feb 2019 20:59:13 +0000 (20:59 +0000)]
Merge "Fix libdexfile dependencies to avoid direct dependency on libdexfile_external."
Treehugger Robot [Mon, 25 Feb 2019 20:21:52 +0000 (20:21 +0000)]
Merge "cppreopts: remove DAC capabilities"
Jeff Vander Stoep [Sat, 23 Feb 2019 14:08:43 +0000 (06:08 -0800)]
cppreopts: remove DAC capabilities
Define service for cppreopts.sh in order to drop DAC capabilities for
for it and its children. Capabilities were already blocked by SELinux
so this does not cause a functional change, but rather shifts the
blocking mechanism to the DAC capability check which fails less
noisily. Otherwise, this change is intended to preserve the previous
behavior and uses "exec_start" to presever the blocking behavior of
"exec".
This prevents an selinux denial which is causing occasional presubmit
failures:
avc: denied { sys_resource } for comm="preopt2cachenam" capability=24
scontext=u:r:preopt2cachename:s0 tcontext=u:r:preopt2cachename:s0
tclass=capability permissive=0
Bug:
79414024
Test: Boot a phone with the cppreopts feature. Verify no logcat errors and all
the files are copied to the location given by preopt2cachename.
Change-Id: If630b53d32c3c0414939b1f8db8d486406003567
Martin Stjernholm [Wed, 20 Feb 2019 16:58:42 +0000 (16:58 +0000)]
Fix libdexfile dependencies to avoid direct dependency on libdexfile_external.
It should be dlopen'ed lazily by libdexfile_support now.
Test: mmma system/extras/simpleperf
Test: atest simpleperf_unit_test
(1 failure in cpu_offline test, but that happens even without this CL)
Bug:
124827589
Bug:
123186083
Change-Id: Ibeb37b130f0081965b986622794f60ec75cd2e17
Jinguang Dong [Sat, 23 Feb 2019 04:14:36 +0000 (12:14 +0800)]
Fix build error of generating fec data
When we make the fec data for spare images, we will check each
chunk the length of spare image but not the total length.
If the libspare sends the data which is not a multiple of 4096,
there is an error.
We have reproduced it using our image.
The data is send by
https://android.googlesource.com/platform/system/core/+/
fca4a9c27950a4a4281de0f413280cff9f4da653/libsparse/output_file.cpp#272
, and is checked by
https://android.googlesource.com/platform/system/extras/+/
29bf737e56e10c2742f1e14fe9f07184d59bbcc0/verity/fec/image.cpp#179
If the to_write in first link is equal INT_MAX, the assert in second
link will be failed.
Test: use fec to product fec data successfully
./fec --encode --roots 2 system.img fecdata
Change-Id: Ib1e310a32bcda8acb3785d3784537d84fd439732
Elliott Hughes [Sat, 23 Feb 2019 05:19:05 +0000 (21:19 -0800)]
Merge "su: fix the command line syntax."
am:
ec993d71cf
Change-Id: I560b5f1ef15cd2a0cccdfe30bd8ace1cf83bc2c5
Elliott Hughes [Sat, 23 Feb 2019 05:10:40 +0000 (05:10 +0000)]
Merge "su: fix the command line syntax."
Xin Li [Thu, 21 Feb 2019 07:04:38 +0000 (07:04 +0000)]
Merge "DO NOT MERGE - Merge pi-dev@
5234907 into stage-aosp-master" into stage-aosp-master
Elliott Hughes [Thu, 21 Feb 2019 06:38:23 +0000 (22:38 -0800)]
su: fix the command line syntax.
Test: `su --help`
Change-Id: I08f2e897b6d472f1748574aa162555ac8adfc05e
Yabin Cui [Thu, 21 Feb 2019 01:02:05 +0000 (17:02 -0800)]
Merge "simpleperf: add api_app_profiler.py."
am:
5e64dcd02e
Change-Id: I7aeb0bc7329a208c651083d88357716f18c346c0
Yabin Cui [Thu, 21 Feb 2019 01:01:53 +0000 (17:01 -0800)]
Merge "simpleperf: Add Java/C++ API to control simpleperf in app code."
am:
d3eccf50e8
Change-Id: Ia3de5ebc24db32ef2781bcbaf113f5aad3d38b60
Yabin Cui [Thu, 21 Feb 2019 00:48:17 +0000 (00:48 +0000)]
Merge "simpleperf: add api_app_profiler.py."
Yabin Cui [Thu, 21 Feb 2019 00:48:17 +0000 (00:48 +0000)]
Merge "simpleperf: Add Java/C++ API to control simpleperf in app code."
Xin Li [Thu, 21 Feb 2019 00:20:08 +0000 (16:20 -0800)]
DO NOT MERGE - Merge pi-dev@
5234907 into stage-aosp-master
Bug:
120848293
Change-Id: I99cfd48e17ee28ee0d644aed0f11b71fb14277c0
Yifan Hong [Wed, 20 Feb 2019 22:05:30 +0000 (14:05 -0800)]
Merge changes from topic "libprocessgroup_json"
am:
9a406fb9b0
Change-Id: I2affe1b197438dfbaff380bd2924e0a3fa3e7d6c
Yabin Cui [Fri, 15 Feb 2019 00:56:37 +0000 (16:56 -0800)]
simpleperf: add api_app_profiler.py.
It is used to help the API controlling simpleperf in app code.
Bug:
123717243
Test: run api_app_profiler.py to help profile app CppApi and JavaApi.
Change-Id: I1ada2ad9fbf040816db999632f4300c496c63a58
Yabin Cui [Fri, 15 Feb 2019 00:23:05 +0000 (16:23 -0800)]
simpleperf: Add Java/C++ API to control simpleperf in app code.
Also add JavaApi app to test the Java API, and CppApi App to test
the C++ API.
Also expose help msgs for options used in the API.
Bug:
123717243
Test: run apps manually and verify the generated profiling data.
Change-Id: I64c9de82b3f7eb3d76c6aff0703e12ce33233e49
Yifan Hong [Wed, 20 Feb 2019 20:35:47 +0000 (20:35 +0000)]
Merge changes from topic "libprocessgroup_json"
* changes:
Add libjsonpbverify.
Add libjsonpbparse.
Dario Freni [Wed, 20 Feb 2019 19:30:54 +0000 (11:30 -0800)]
Merge "Rename /data/staging to /data/pkg_staging."
am:
c45961b146
Change-Id: I774ac98004a2e10bf5cf0cdc7a831429f121bae4
Treehugger Robot [Wed, 20 Feb 2019 16:33:20 +0000 (16:33 +0000)]
Merge "Rename /data/staging to /data/pkg_staging."
Dario Freni [Wed, 20 Feb 2019 14:30:18 +0000 (14:30 +0000)]
Rename /data/staging to /data/pkg_staging.
Bug:
122999313
Test: n/a
Change-Id: I4f9086ac5ded56e1a8ba4e97f449f502b88f7634
Sandeep Patil [Fri, 15 Feb 2019 23:09:58 +0000 (15:09 -0800)]
Merge "simpleperf: Adjust callback for procinfo::ReadProcessMaps"
am:
c3476378f2
Change-Id: I31beded89374df80fbcbd6bf37486af707716622
Treehugger Robot [Fri, 15 Feb 2019 23:03:00 +0000 (23:03 +0000)]
Merge "simpleperf: Adjust callback for procinfo::ReadProcessMaps"
Elliott Hughes [Fri, 15 Feb 2019 04:17:14 +0000 (20:17 -0800)]
Merge "memcpy-perf: obsoleted by bionic/benchmarks' string benchmarks."
am:
ecb8e06a53
Change-Id: I167d928de133c5dbc607d93337bf17e2c5016771
Treehugger Robot [Fri, 15 Feb 2019 04:05:29 +0000 (04:05 +0000)]
Merge "memcpy-perf: obsoleted by bionic/benchmarks' string benchmarks."
Yifan Hong [Wed, 13 Feb 2019 22:29:33 +0000 (14:29 -0800)]
Add libjsonpbverify.
- libjsonpbverify is a helper library that a gtest can link against
when checking JSON files against their protobuf schema.
- Add unittests to ensure these validation functions are correct.
(libjsonpbverify_test)
- Add tests to mitigate discrepancies of behavior between libjsoncpp
and libprocessgroup. (libjsonpbverify_test)
- Add tests to impose additional restrictions on proto3 files when
using them as JSON schema.
Test: libjsonpbverify_test
Bug:
123664216
Change-Id: I1e6257c9a25fd8d10fad103f3b74f7e1c6fad8a6
Yifan Hong [Sat, 9 Feb 2019 00:26:22 +0000 (16:26 -0800)]
Add libjsonpbparse.
- libjsonpbparse is intended to be used in client parsing code,
but due to libprotobuf versions it can't be used yet. Hence,
libprocessgroup continue to use libjsoncpp.
Test: builds
Bug:
123664216
Change-Id: I01b08a0e6ba1110f2f3398ddde9333622153dc9a
Elliott Hughes [Thu, 14 Feb 2019 23:05:53 +0000 (15:05 -0800)]
memcpy-perf: obsoleted by bionic/benchmarks' string benchmarks.
Test: N/A
Change-Id: If10d22c971f9d86ca2383de6699af55e9bf3b345
Yabin Cui [Thu, 14 Feb 2019 22:13:12 +0000 (14:13 -0800)]
Merge "simpleperf: prepare for adding user api."
am:
235aa04cb8
Change-Id: I74a372110584740014a8d7ea4fe5896dd38c40e2
Xin Li [Thu, 14 Feb 2019 22:11:36 +0000 (22:11 +0000)]
Merge "DO NOT MERGE - Skip pi-platform-release (PPRL.190205.001) into stage-aosp-master" into stage-aosp-master
Yabin Cui [Thu, 14 Feb 2019 22:03:29 +0000 (22:03 +0000)]
Merge "simpleperf: prepare for adding user api."
Yabin Cui [Thu, 7 Feb 2019 19:06:16 +0000 (11:06 -0800)]
simpleperf: prepare for adding user api.
In record cmd, add --stdio-controls-profiling option to
pause/resume profiling. It reads cmds from stdin,
and writes replies to stdout.
Add --log-to-android-buffer option to show simpleperf
logs in logcat.
Bug:
123717243
Test: run simpleperf through user api manually.
Test: run simpleperf_unit_test.
Change-Id: I6c32c669d003cbd670a45e6fd31f764656837111
Jaegeuk Kim [Thu, 14 Feb 2019 17:06:23 +0000 (09:06 -0800)]
Merge changes from topic "wipe"
am:
ac80c040c1
Change-Id: I3c821057313f2d09fb82d3999eb08e0143b841f6
Jaegeuk Kim [Thu, 14 Feb 2019 16:54:46 +0000 (16:54 +0000)]
Merge changes from topic "wipe"
* changes:
wipe: guarantee zeros after wipe out partitions
ext4_utils: build by C++
Jaegeuk Kim [Wed, 13 Feb 2019 23:24:01 +0000 (15:24 -0800)]
wipe: guarantee zeros after wipe out partitions
Stale data in the partition can bypass formatting by fs_mgr and cause filesystem
unmountable.
Bug:
122989894
Change-Id: Id2aa4baefeb8308ce14eeaa7790a1aab35e522aa
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Jaegeuk Kim [Wed, 13 Feb 2019 23:24:01 +0000 (15:24 -0800)]
ext4_utils: build by C++
With this patch, we can use many library functions.
Bug:
122989894
Change-Id: I761a93d3f6460529a99086e33803e96f1a307079
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Yabin Cui [Wed, 13 Feb 2019 19:08:50 +0000 (11:08 -0800)]
Merge "simpleperf: fix symbolization in multi-executable-segments libraries."
am:
66d0149f5e
Change-Id: I81f612749d3c1d0e96df0535701429e9ab7ad54f
Yabin Cui [Wed, 13 Feb 2019 18:49:37 +0000 (18:49 +0000)]
Merge "simpleperf: fix symbolization in multi-executable-segments libraries."
Mark Salyzyn [Wed, 13 Feb 2019 00:18:58 +0000 (16:18 -0800)]
Merge "Add "instant app" boilerplate"
am:
82dfcb76fe
Change-Id: I7bef82ce06d427a6a4378467e15956cba4ce3ff0
Treehugger Robot [Wed, 13 Feb 2019 00:00:03 +0000 (00:00 +0000)]
Merge "Add "instant app" boilerplate"
Xin Li [Tue, 12 Feb 2019 18:06:38 +0000 (10:06 -0800)]
DO NOT MERGE - Skip pi-platform-release (PPRL.190205.001) into stage-aosp-master
Bug:
124234733
Change-Id: I3e63ccb065f9037360e105a21bd1d0b54f3cb9a2
Sandeep Patil [Thu, 31 Jan 2019 01:41:27 +0000 (17:41 -0800)]
simpleperf: Adjust callback for procinfo::ReadProcessMaps
Bug:
123532375
Test: Builds
Change-Id: Ib1988cba9f2c5707d7f528fe53565a3448150973
Signed-off-by: Sandeep Patil <sspatil@google.com>
android-build-team Robot [Sat, 9 Feb 2019 02:17:45 +0000 (02:17 +0000)]
Snap for
5180536 from
9ec7ba8443caa905c2ebdf6eadd5e6148a348d37 to pi-platform-release
Change-Id: I671a68c64e83cb3e88bb12586858f7c41e5b18ed
Yabin Cui [Fri, 8 Feb 2019 19:41:51 +0000 (11:41 -0800)]
Merge "simpleperf: fix time report in report_sample.py."
am:
06d7e3a4e2
Change-Id: I37e6d5f2f97389d6e3cf65bb1c8c022c9bf71e82
Yabin Cui [Fri, 8 Feb 2019 19:23:30 +0000 (19:23 +0000)]
Merge "simpleperf: fix time report in report_sample.py."
Yabin Cui [Fri, 8 Feb 2019 19:21:44 +0000 (11:21 -0800)]
simpleperf: fix time report in report_sample.py.
Bug: none
Test: run report_sample.py.
Change-Id: If7a0913f464e41b9af0dbaa46a88327dde290558
Yabin Cui [Thu, 7 Feb 2019 23:06:42 +0000 (15:06 -0800)]
simpleperf: fix symbolization in multi-executable-segments libraries.
Apps may run with libraries with multiple executable segments.
Symbolization ip addresses in these libraries need to use map.pgoff.
The old formula converting ip to vaddr_in_file:
vaddr_in_file = ip - map.start + min_executable_vaddr
The new formula converting ip to vaddr_in_file:
offset_in_file = ip - map.start + map.pgoff
vaddr_in_file = offset_in_file - file_offset_of_min_executable_vaddr
+ min_executable_vaddr
Bug:
124056476
Test: run simpleperf_unit_test.
Test: use simpleperf to profile facebook app, ip addresses hitting libc.so
Test: and libart.so are symbolized correctly.
Change-Id: I5fd3ed822a916c4d04a9868d6d209c43ee190c5b
Martin Stjernholm [Tue, 5 Feb 2019 16:54:16 +0000 (08:54 -0800)]
Merge "Link libart statically to perfprofd to avoid a dynamic dependency on it."
am:
ed1f035790
Change-Id: Id515e92be7d5a00962f433310cb626c9dff62ba1
Treehugger Robot [Tue, 5 Feb 2019 16:32:16 +0000 (16:32 +0000)]
Merge "Link libart statically to perfprofd to avoid a dynamic dependency on it."
Dan Willemsen [Mon, 4 Feb 2019 21:35:39 +0000 (13:35 -0800)]
Merge "cppreopts: Move to sh_binary"
am:
72598e4766
Change-Id: Ieb550c133406e953a21310985f01d981b797ee08
Tom Cherry [Mon, 4 Feb 2019 21:35:15 +0000 (13:35 -0800)]
Merge "Move to C++ Fstab class"
am:
3978bb74ef
Change-Id: I4d56702f985ad0d4adb68155c50b31d411c5ece6
Dan Willemsen [Mon, 4 Feb 2019 21:25:34 +0000 (21:25 +0000)]
Merge "cppreopts: Move to sh_binary"
Treehugger Robot [Mon, 4 Feb 2019 21:20:43 +0000 (21:20 +0000)]
Merge "Move to C++ Fstab class"
Mark Salyzyn [Mon, 4 Feb 2019 20:45:58 +0000 (12:45 -0800)]
Add "instant app" boilerplate
Test: build
Bug:
123366017
Change-Id: Iee201980e62e0ad2f4e9b1ae018e8002a0a44119
Tom Cherry [Mon, 4 Feb 2019 19:55:14 +0000 (11:55 -0800)]
Move to C++ Fstab class
Test: treehugger
Change-Id: I6de8debc6756a831b3cdda8767b72c94a318ed9b
Luca Stefani [Sat, 2 Feb 2019 17:53:06 +0000 (18:53 +0100)]
cppreopts: Move to sh_binary
Change-Id: Ie2b1401aa750a1a445daf80b13944a2ca0549c50
Yabin Cui [Fri, 1 Feb 2019 23:32:50 +0000 (15:32 -0800)]
Merge "simpleperf: make atest happy."
am:
14638b2b85
Change-Id: I706c9de6d8f0f2d981e2764cba8d031c97bd1180
Yabin Cui [Fri, 1 Feb 2019 23:14:46 +0000 (23:14 +0000)]
Merge "simpleperf: make atest happy."
Yabin Cui [Fri, 1 Feb 2019 23:13:06 +0000 (15:13 -0800)]
simpleperf: make atest happy.
Bug: none
Test: run atest system/extras/simpleperf.
Change-Id: I21d69dcda8293f66e469aa5320099c6bdfa872e5
Yabin Cui [Fri, 1 Feb 2019 00:31:46 +0000 (16:31 -0800)]
Merge "simpleperf: change the way running cts test."
am:
7efef0e366
Change-Id: I7a11913e1602f6bcd8e244fa68ef48a99427472c
Treehugger Robot [Fri, 1 Feb 2019 00:20:53 +0000 (00:20 +0000)]
Merge "simpleperf: change the way running cts test."
Yabin Cui [Thu, 31 Jan 2019 22:54:22 +0000 (14:54 -0800)]
Merge "inferno: add --system_wide option."
am:
30e7a431c0
Change-Id: Icbe59924c59a04a96217e8765932de7746e16a35
Yabin Cui [Wed, 30 Jan 2019 01:06:42 +0000 (17:06 -0800)]
simpleperf: change the way running cts test.
To test profiling debuggable apps, simpleperf cts test sets default
app package name for all tests. But it has below problems:
1. It is not explicit in the code of each test, thus harder to maintain.
2. It doesn't profile an app process, thus can't test profiling Java code.
3. Some tests are not suitable to run with app package name and have to
disable app package name manually. This will be true for more tests
if testing profileable apps.
So this CL changes the way running cts tests:
1. Remove default app package name, so all tests by default run in
shell context.
2. Add explict tests to test profiling debuggable apps and profileable
apps.
Bug:
118835348
Test: run CtsSimpleperfTestCases.
Change-Id: I7eacaf0dc66357dbb339a6e6d4c5ca694afa2619
Yabin Cui [Thu, 31 Jan 2019 22:27:29 +0000 (22:27 +0000)]
Merge "inferno: add --system_wide option."
Yabin Cui [Thu, 31 Jan 2019 20:48:28 +0000 (12:48 -0800)]
Merge "simpleperf: fix mac build."
am:
79489ecc52
Change-Id: I5a2bc97b58722fe68bfb0fbf8cde2f8cee6f28bb
Yabin Cui [Thu, 31 Jan 2019 20:27:32 +0000 (20:27 +0000)]
Merge "simpleperf: fix mac build."
Yabin Cui [Thu, 31 Jan 2019 19:52:19 +0000 (11:52 -0800)]
simpleperf: fix mac build.
Bug: none
Test: build simpleperf on mac.
Change-Id: I9d839fc9779321aa5007e745d4aeaba48bb9fc53
Tom Cherry [Thu, 31 Jan 2019 19:51:27 +0000 (11:51 -0800)]
Merge "Add android::fs_mgr namespace for new Fstab code"
am:
e85153ee9b
Change-Id: I1da880787cf5eaf9d4fe7cf3fdefa4626b4f8705
Tom Cherry [Thu, 31 Jan 2019 19:35:54 +0000 (19:35 +0000)]
Merge "Add android::fs_mgr namespace for new Fstab code"
Martin Stjernholm [Tue, 15 Jan 2019 17:57:47 +0000 (17:57 +0000)]
Link libart statically to perfprofd to avoid a dynamic dependency on it.
Test: mmma system/extras/perfprofd
Bug:
113373927
Change-Id: I16d10a6c634541b19886ccd57cf7be0c015d82c1
Tom Cherry [Wed, 30 Jan 2019 22:35:10 +0000 (14:35 -0800)]
Add android::fs_mgr namespace for new Fstab code
Test: treehugger
Change-Id: I6ed1afb59eed03ca5a7d06a697ac8b04e74f494d
Yabin Cui [Wed, 30 Jan 2019 21:32:19 +0000 (13:32 -0800)]
Merge "simpleperf: fix mac build."
am:
c583d20f1a
Change-Id: Ib14fdb106d79b5377fbf639f17abb058ad3fd1c5
Treehugger Robot [Wed, 30 Jan 2019 21:04:13 +0000 (21:04 +0000)]
Merge "simpleperf: fix mac build."
Sandeep Patil [Wed, 30 Jan 2019 19:32:47 +0000 (11:32 -0800)]
Merge "libpagemap: Remove it."
am:
91b5f3e204
Change-Id: I0dabb4cf67641e5bac4b479448e5715620b0059b
Treehugger Robot [Wed, 30 Jan 2019 19:19:26 +0000 (19:19 +0000)]
Merge "libpagemap: Remove it."