OSDN Git Service
Mohamad Ayyash [Tue, 19 Apr 2016 01:06:38 +0000 (01:06 +0000)]
make_ext4fs: Modify ext4 filesystem setup to speed up fsck
am:
dedf8f9705
* commit '
dedf8f9705df13e1fd07d3f754216d34725bb269':
make_ext4fs: Modify ext4 filesystem setup to speed up fsck
Change-Id: I07364ec2112966eff463ece718aa530887e5a36f
Chih-hung Hsieh [Mon, 18 Apr 2016 21:32:52 +0000 (21:32 +0000)]
Merge "Fix some google-runtime-int warnings." am:
0add9c5
am:
73dcd46
* commit '
73dcd46a9120f1acb2259b6b2ad9bb4fe98f5b38':
Fix some google-runtime-int warnings.
Change-Id: Ia506ca817826d5e03af3e7ec69abb72adff20226
Chih-Hung Hsieh [Mon, 18 Apr 2016 21:27:26 +0000 (21:27 +0000)]
Merge "Fix some google-runtime-int warnings."
am:
0add9c5
* commit '
0add9c5b35041af781e1433ae0790167e7b3277f':
Fix some google-runtime-int warnings.
Change-Id: Ieb19b039ca854953d38ce23ab378f3c5d3ec1495
Chih-hung Hsieh [Mon, 18 Apr 2016 20:48:53 +0000 (20:48 +0000)]
Merge "Fix some google-runtime-int warnings."
Mohamad Ayyash [Fri, 15 Apr 2016 02:43:31 +0000 (19:43 -0700)]
make_ext4fs: Modify ext4 filesystem setup to speed up fsck
1) Set EXT4_BG_INODE_UNINIT so fsck will skip scanning unused inodes
2) Use EXT4_FEATURE_RO_COMPAT_GDT_CSUM to enable group descriptor
checksums in filesystem which reduces overhead for fsck
BUG:
24747200
BUG:
28013112
Change-Id: I118ab26935442f452962b3a7c29c61acf76ad4d9
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Chih-Hung Hsieh [Fri, 15 Apr 2016 23:12:03 +0000 (16:12 -0700)]
Fix some google-runtime-int warnings.
Bug:
28220065
Change-Id: Ic6b24216d216bbb165a1420b52b11c7703b810a0
Yabin Cui [Fri, 15 Apr 2016 03:19:14 +0000 (03:19 +0000)]
simpleperf: use libbacktrace_offline static library.
am:
2362310 -s ours
* commit '
2362310b546b157eeee352e72b1585363002d662':
simpleperf: use libbacktrace_offline static library.
Change-Id: Ie1c65dc55664ab5ca1583a979b7233ae05391783
Yabin Cui [Thu, 14 Apr 2016 04:28:54 +0000 (21:28 -0700)]
simpleperf: use libbacktrace_offline static library.
Device may not have libbacktrace_offline shared library, so always
using libbacktrace_offline static library.
Use simpleperf namespace to avoid conflicts with ThreadEntry in
libbacktrace.
Bug:
28152982
Change-Id: Ia2cdbee3b28556c790ccd7b061a801ed96f9b97c
(cherry picked from commit
040f7b4c62ce49f0af0746640e94d415764262cd)
Yabin Cui [Thu, 14 Apr 2016 21:38:25 +0000 (21:38 +0000)]
Merge "simpleperf: use libbacktrace_offline static library." am:
3952d8b
am:
670994c
* commit '
670994cffc767d20ca76284b16e06f7c9e3ec477':
simpleperf: use libbacktrace_offline static library.
Change-Id: I15c88d2ddec684d144a7a2fcf8b6117604a086d7
Yabin Cui [Thu, 14 Apr 2016 21:34:27 +0000 (21:34 +0000)]
Merge "simpleperf: use libbacktrace_offline static library."
am:
3952d8b
* commit '
3952d8b5c84c1efcd1136a6d2dca0022cfefcf3a':
simpleperf: use libbacktrace_offline static library.
Change-Id: I15fce7d59ceae949ae7dca496a3445bc873b4f65
Yabin Cui [Thu, 14 Apr 2016 21:14:54 +0000 (21:14 +0000)]
Merge "simpleperf: use libbacktrace_offline static library."
Yabin Cui [Thu, 14 Apr 2016 04:28:54 +0000 (21:28 -0700)]
simpleperf: use libbacktrace_offline static library.
Device may not have libbacktrace_offline shared library, so always
using libbacktrace_offline static library.
Use simpleperf namespace to avoid conflicts with ThreadEntry in
libbacktrace.
Bug:
28152982
Change-Id: Ia2cdbee3b28556c790ccd7b061a801ed96f9b97c
Treehugger Robot [Wed, 13 Apr 2016 17:38:44 +0000 (17:38 +0000)]
Merge "verity: delete keystore_signer" am:
6e6aa65
am:
21d49d9
* commit '
21d49d921661d49ffaac87ee3ad601778a563d19':
verity: delete keystore_signer
Change-Id: Ic4d0600aa0e49930636e6568a42d325efd93c2ae
Sami Tolvanen [Wed, 13 Apr 2016 17:35:19 +0000 (17:35 +0000)]
Merge "verity: delete keystore_signer"
am:
6e6aa65
* commit '
6e6aa65411432adee75005558e1bb6056fd9d77a':
verity: delete keystore_signer
Change-Id: I39c15949d9a4be171feb0f386bfd33bb1d81514e
Treehugger Robot [Wed, 13 Apr 2016 17:28:24 +0000 (17:28 +0000)]
Merge "verity: delete keystore_signer"
Sami Tolvanen [Wed, 13 Apr 2016 16:16:20 +0000 (09:16 -0700)]
verity: delete keystore_signer
This signer is unnecessary, because we are not using keystores.
Change-Id: Iede3b54ac137e79c51f7e673e7e32ac5717e9661
Elliott Hughes [Tue, 12 Apr 2016 23:30:03 +0000 (23:30 +0000)]
Merge "Switch to BoringSSL for crypto." am:
fae42a3
am:
31d3313
* commit '
31d331323353c67aa424e94692ae7932a71b751f':
Switch to BoringSSL for crypto.
Change-Id: I926a41fd7dea44130e971847b35616e221492841
Mattias Nissler [Tue, 12 Apr 2016 23:27:26 +0000 (23:27 +0000)]
Merge "Switch to BoringSSL for crypto."
am:
fae42a3
* commit '
fae42a336e7c343d2ae134d78f89996399caaa55':
Switch to BoringSSL for crypto.
Change-Id: I3f431075475e4921e801596090bd0d1b88579fdc
Elliott Hughes [Tue, 12 Apr 2016 23:12:35 +0000 (23:12 +0000)]
Merge "Switch to BoringSSL for crypto."
Mohamad Ayyash [Fri, 8 Apr 2016 17:56:22 +0000 (17:56 +0000)]
Merge "Remove canned_fs_config from ext4_utils" into nyc-dev
am:
b317b33
* commit '
b317b33a844ef2b5c072c07ead43be2c096c28b8':
Remove canned_fs_config from ext4_utils
Change-Id: I2c8c9bf6b6b8cccc8c8aa406397da1cb3c53b8bd
Mohamad Ayyash [Fri, 8 Apr 2016 17:39:05 +0000 (17:39 +0000)]
Merge "Remove canned_fs_config from ext4_utils" into nyc-dev
Mohamad Ayyash [Fri, 8 Apr 2016 05:15:57 +0000 (22:15 -0700)]
Remove canned_fs_config from ext4_utils
It is now also used in mksquashfs so it was added to libcutils
BUG:
27467028
Change-Id: I81c87938d5b6b200a8ad817f0c64c5ca699f451c
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Julien Desprez [Wed, 6 Apr 2016 14:44:13 +0000 (14:44 +0000)]
Use default path for mmapPerf binaries
am:
a8be0cf
* commit '
a8be0cf6f2bff90f6e3e89bba12c2e2473a2063d':
Use default path for mmapPerf binaries
Change-Id: I464d505a36e4af8d6b34969943de59ce11edef61
Mattias Nissler [Thu, 31 Mar 2016 14:29:37 +0000 (16:29 +0200)]
Switch to BoringSSL for crypto.
Adjust code and dependencies to use BoringSSL + libcrypto_utils
instead of libmincrypt.
Change-Id: Id1b4ee538923e9dac68a7db2521b70007119c268
Julien Desprez [Wed, 6 Apr 2016 13:40:56 +0000 (14:40 +0100)]
Use default path for mmapPerf binaries
Change-Id: Ic6994988152942e162e0b977afe48144b4d8bb32
Julien Desprez [Wed, 6 Apr 2016 09:00:09 +0000 (09:00 +0000)]
Convert mmapPerf to google-benchmark
am:
df7cd65
* commit '
df7cd654309bb90fe83fb823ff5c4f83c2a4afd0':
Convert mmapPerf to google-benchmark
Change-Id: I134d4e26bfaca6ad1deeaa83f9f3651ccb171a3e
Yabin Cui [Wed, 6 Apr 2016 01:23:14 +0000 (01:23 +0000)]
Merge "simpleperf: support reporting more than one event type." am:
0d47fe0
am:
3ebdd7e
* commit '
3ebdd7ee30dad03f195f2663d5b085e04c8f4195':
simpleperf: support reporting more than one event type.
Change-Id: Iddaf45a93c7aa80cb4b68407867656a2bef81185
Yabin Cui [Wed, 6 Apr 2016 01:19:44 +0000 (01:19 +0000)]
Merge "simpleperf: support reporting more than one event type."
am:
0d47fe0
* commit '
0d47fe0430a0d6edc517486478f50b1fb2987106':
simpleperf: support reporting more than one event type.
Change-Id: Iaa199818ae48f602460f4b860255d048a3a17201
Yabin Cui [Wed, 6 Apr 2016 01:15:22 +0000 (01:15 +0000)]
Merge "simpleperf: support reporting more than one event type."
Yabin Cui [Sat, 2 Apr 2016 03:22:35 +0000 (20:22 -0700)]
simpleperf: support reporting more than one event type.
When sampling kernel trace points, it is like to sample more than
one even type. Like `simpleperf record -e kmem:mm_page_alloc,kmem:mm_page_free`.
1. change record command to dump event_id for all records.
2. change report command and record reader to support multiple
event attrs.
3. hide record_cache inside EventSelectionSet.
4. add test to report multiple event types.
Bug:
27403614
Change-Id: Ic22a5527d68e7a843e3cf95e85381f8ad6bcb196
Julien Desprez [Tue, 5 Apr 2016 17:29:52 +0000 (18:29 +0100)]
Convert mmapPerf to google-benchmark
Bug:
24272167
Change-Id: I831c9d26495e77e041a9461ddbafc70d7d11f9b7
Mohamad Ayyash [Mon, 4 Apr 2016 19:55:24 +0000 (19:55 +0000)]
Merge "Make squashfs work on BSD and macOS" am:
05e61be
am:
80b6f13
* commit '
80b6f1317410a58bbd68db8a19733936af463f10':
Make squashfs work on BSD and macOS
Change-Id: I541f689c326cbd7a6132a533d4dfe75344a97446
Jaewan Kim [Mon, 4 Apr 2016 19:52:57 +0000 (19:52 +0000)]
Merge "Make squashfs work on BSD and macOS"
am:
05e61be
* commit '
05e61bec49233712091be9d40ee46962170a118d':
Make squashfs work on BSD and macOS
Change-Id: I2dae5ed9af9329fb048ce11fee7e5661f5a958ae
Jaewan Kim [Mon, 4 Apr 2016 19:52:34 +0000 (19:52 +0000)]
Make squashfs work on BSD and macOS
am:
d0f1a4d
* commit '
d0f1a4de8e8bd9a93fbeabdf679d75fe0362bfc6':
Make squashfs work on BSD and macOS
Change-Id: I1e98d6fa449b7030b32305fca71610475433de64
Jaewan Kim [Mon, 4 Apr 2016 15:32:24 +0000 (00:32 +0900)]
Make squashfs work on BSD and macOS
Change-Id: Ie025a3d70237a7a959203d8cd066d05acf9e94b2
Mohamad Ayyash [Mon, 4 Apr 2016 19:42:43 +0000 (19:42 +0000)]
Merge "Make squashfs work on BSD and macOS"
Jaewan Kim [Mon, 4 Apr 2016 15:32:24 +0000 (00:32 +0900)]
Make squashfs work on BSD and macOS
Change-Id: Ie025a3d70237a7a959203d8cd066d05acf9e94b2
Alex Deymo [Fri, 1 Apr 2016 22:21:46 +0000 (22:21 +0000)]
Merge "postinst: Update postinstall_example." am:
e15bfb5
am:
8305c62
* commit '
8305c62e68d82d5639f119a7696206c8621ed93e':
postinst: Update postinstall_example.
Change-Id: Ie6b88e07a847c7d6b7048895659bb0419854a5de
Alex Deymo [Fri, 1 Apr 2016 22:16:57 +0000 (22:16 +0000)]
Merge "postinst: Update postinstall_example."
am:
e15bfb5
* commit '
e15bfb5adeedccc272513e5d49c296dff4b30999':
postinst: Update postinstall_example.
Change-Id: I8b01e74aa311044ff3caaae3255b710d510a2d4d
Alex Deymo [Fri, 1 Apr 2016 22:01:00 +0000 (22:01 +0000)]
Merge "postinst: Update postinstall_example."
Yabin Cui [Fri, 1 Apr 2016 19:17:49 +0000 (19:17 +0000)]
Merge "simpleperf: loosen unwinding arch check for system wide collection." am:
96e12e7
am:
4489a7a
* commit '
4489a7ad84297f214787e39202c2aef13b6d79a4':
simpleperf: loosen unwinding arch check for system wide collection.
Change-Id: I5d328f5e98c6477819d5086da5624dfd613d3196
Yabin Cui [Fri, 1 Apr 2016 19:13:18 +0000 (19:13 +0000)]
Merge "simpleperf: loosen unwinding arch check for system wide collection."
am:
96e12e7
* commit '
96e12e78722988e912664b7323341799fdd12b9b':
simpleperf: loosen unwinding arch check for system wide collection.
Change-Id: I69d056af61f1b2ed94a829bd24c71c740d569198
Yabin Cui [Fri, 1 Apr 2016 19:03:36 +0000 (19:03 +0000)]
Merge "simpleperf: loosen unwinding arch check for system wide collection."
Yabin Cui [Thu, 31 Mar 2016 21:39:19 +0000 (14:39 -0700)]
simpleperf: loosen unwinding arch check for system wide collection.
When doing system wide collection, it is possible that there are
32-bit compat processes running on 64-bit devices. It is not proper
to abort in this situation. So loosen the check to allow it. Also
add corresponding test.
Bug:
27927427
Change-Id: I5c9253eb6e474497e4f37e234e0e523e141fab20
Julien Desprez [Thu, 31 Mar 2016 17:43:34 +0000 (17:43 +0000)]
Use default path to put benchmark binaries
am:
a4325d3
* commit '
a4325d3d28e8d6b0c0509175726620c643c4924d':
Use default path to put benchmark binaries
Change-Id: Ie4f2134409423fb9351f0c081b188401d34a2796
Julien Desprez [Thu, 31 Mar 2016 15:16:34 +0000 (16:16 +0100)]
Use default path to put benchmark binaries
In order to keep all the benchmark binaries in the same
output place.
Change-Id: I188f7933c230d8955905217b915899dd19e614bf
Alex Deymo [Thu, 31 Mar 2016 01:50:59 +0000 (18:50 -0700)]
postinst: Update postinstall_example.
The postinstall step now receives two parameters: the target slot and
the progress file descriptor. This file descriptor is a pipe where the
postinstall program can write back to the updater what's its current
progress.
Bug:
27880754
TEST=Deployed an image with the postinstall example installed.
Change-Id: I0afedb47556885d4e3b3f1b93be82314153ffc19
Yabin Cui [Thu, 31 Mar 2016 00:31:27 +0000 (00:31 +0000)]
Merge "simpleperf: build 32-bit binaries on 64-bit devices." am:
eaa9c1d
am:
7e31960
* commit '
7e31960f829010a0b3266f9ce240584e8d9a2e14':
simpleperf: build 32-bit binaries on 64-bit devices.
Change-Id: I7047290baaf736c2f8259f3a738d579618eb9953
Yabin Cui [Thu, 31 Mar 2016 00:31:27 +0000 (00:31 +0000)]
Merge "simpleperf: don\'t allow 64bit simpleperf unwinding 32bit processes." am:
178a9c4
am:
af5388a
* commit '
af5388a56d73c68fd63f12dc7ffb582ca8243093':
simpleperf: don't allow 64bit simpleperf unwinding 32bit processes.
Change-Id: I000b523f4a35ba2cefeedff7e2b4a2df920658f4
Yabin Cui [Thu, 31 Mar 2016 00:12:56 +0000 (00:12 +0000)]
Merge "simpleperf: build 32-bit binaries on 64-bit devices."
am:
eaa9c1d
* commit '
eaa9c1dc0c2c7bd4570e0b7c605bac207e6ab3a3':
simpleperf: build 32-bit binaries on 64-bit devices.
Change-Id: I3262a581e89742d45b701266dbed6bbacfec7c1d
Yabin Cui [Thu, 31 Mar 2016 00:12:56 +0000 (00:12 +0000)]
Merge "simpleperf: don\'t allow 64bit simpleperf unwinding 32bit processes."
am:
178a9c4
* commit '
178a9c49b863f0a8cf5e3f2dffc0439ad14b6cda':
simpleperf: don't allow 64bit simpleperf unwinding 32bit processes.
Change-Id: Id070632ece2d93b9d79da94dec87dfbbe558d444
Yabin Cui [Thu, 31 Mar 2016 00:08:42 +0000 (00:08 +0000)]
Merge "simpleperf: build 32-bit binaries on 64-bit devices."
Yabin Cui [Thu, 31 Mar 2016 00:08:30 +0000 (00:08 +0000)]
Merge "simpleperf: don't allow 64bit simpleperf unwinding 32bit processes."
Yabin Cui [Wed, 30 Mar 2016 23:21:47 +0000 (16:21 -0700)]
simpleperf: don't allow 64bit simpleperf unwinding 32bit processes.
Bug:
27927427
Change-Id: I87abc7f8d1f160da4366ed04db054206403bc803
Yabin Cui [Wed, 30 Mar 2016 22:37:53 +0000 (15:37 -0700)]
simpleperf: build 32-bit binaries on 64-bit devices.
Bug:
27927427
Change-Id: I5b6db459ab2c31e09e1f438a44b98efad5f814a5
Yabin Cui [Wed, 30 Mar 2016 01:22:40 +0000 (01:22 +0000)]
Simpleperf: add test for reporting callgraph of shared libraries in apk file.
am:
cb6b387 -s ours
* commit '
cb6b387ada3637832e188b63c811a2c298474140':
Simpleperf: add test for reporting callgraph of shared libraries in apk file.
Change-Id: Ie1dd4341b355d7e864845f906d6af2bd1c5c037f
Yabin Cui [Sat, 19 Mar 2016 01:47:43 +0000 (18:47 -0700)]
Simpleperf: add test for reporting callgraph of shared libraries in apk file.
Also add comment for how to generate each perf.data in testdata/.
Add --log <leve> argument in unit test to help debugging.
Bug:
26962895
Change-Id: Iaa5a81cd8da5174d5b5b4e7847811e2432bf0db8
(cherry picked from commit
8f680f60dc800bec880c5c35bfbc1ac36165e1f3)
Julien Desprez [Tue, 29 Mar 2016 18:59:59 +0000 (18:59 +0000)]
Merge "Update binder benchmark to use google-benchmark" into nyc-dev
am:
43d1014
* commit '
43d10141f1654a130f761741a62445b5dcb3456a':
Update binder benchmark to use google-benchmark
Change-Id: I756ff78046d40e2ab068892021fa698e14910cde
Julien Desprez [Tue, 29 Mar 2016 18:55:25 +0000 (18:55 +0000)]
Merge "Update binder benchmark to use google-benchmark" into nyc-dev
Tim Murray [Tue, 29 Mar 2016 18:43:20 +0000 (18:43 +0000)]
Fix pagecache live stats.
am:
f660240
* commit '
f6602403e98e6e88e336d1849e1291fac30bb31a':
Fix pagecache live stats.
Change-Id: I1a9e33137422cd7f49779daf33adc4b3888c7339
Yabin Cui [Tue, 29 Mar 2016 18:30:28 +0000 (18:30 +0000)]
Merge "Simpleperf: add test for reporting callgraph of shared libraries in apk file." am:
6dd31f4
am:
8cc4b35
* commit '
8cc4b3584497c6637db174ee5e40b3d1f296349f':
Simpleperf: add test for reporting callgraph of shared libraries in apk file.
Change-Id: I78f724ffd0696481eb4a4f05be8211c491992fb5
Yabin Cui [Tue, 29 Mar 2016 18:24:21 +0000 (18:24 +0000)]
Merge "Simpleperf: add test for reporting callgraph of shared libraries in apk file."
am:
6dd31f4
* commit '
6dd31f4a3fda4dc6a49bcda1fb67052bc478c3fb':
Simpleperf: add test for reporting callgraph of shared libraries in apk file.
Change-Id: Idf654af8196cd42fdc292f38fda66ea785560982
Yabin Cui [Tue, 29 Mar 2016 18:18:47 +0000 (18:18 +0000)]
Merge "Simpleperf: add test for reporting callgraph of shared libraries in apk file."
Tim Murray [Tue, 29 Mar 2016 18:12:33 +0000 (11:12 -0700)]
Fix pagecache live stats.
Broke this while adding app filtering.
Change-Id: Ie9d4ae3b7f99169a15c04b9e2bc11d1cb2a62a95
Julien Desprez [Tue, 29 Mar 2016 15:22:30 +0000 (16:22 +0100)]
Update binder benchmark to use google-benchmark
Bug:
26449138
Change-Id: Ie91d114bf669c686f618c252e58feff4c853ef91
Yabin Cui [Mon, 28 Mar 2016 23:10:22 +0000 (23:10 +0000)]
Merge "Simpleperf: remove dependency on global current_arch." into nyc-dev
am:
7c4bbdc
* commit '
7c4bbdc60586231e9601c6b199ec68317269ddd6':
Simpleperf: remove dependency on global current_arch.
Yabin Cui [Mon, 28 Mar 2016 17:47:52 +0000 (17:47 +0000)]
Merge "Simpleperf: remove dependency on global current_arch." into nyc-dev
Yabin Cui [Sat, 19 Mar 2016 01:47:43 +0000 (18:47 -0700)]
Simpleperf: add test for reporting callgraph of shared libraries in apk file.
Also add comment for how to generate each perf.data in testdata/.
Add --log <leve> argument in unit test to help debugging.
Bug:
26962895
Change-Id: Iaa5a81cd8da5174d5b5b4e7847811e2432bf0db8
Yabin Cui [Sat, 26 Mar 2016 22:19:29 +0000 (22:19 +0000)]
simpleperf: don\'t looking for _text symbol in /proc/kallsyms.
am:
9fbb28c
* commit '
9fbb28cc4a05cbc9d571664cc31896899011bcde':
simpleperf: don't looking for _text symbol in /proc/kallsyms.
Yabin Cui [Fri, 18 Mar 2016 19:30:31 +0000 (12:30 -0700)]
Simpleperf: remove dependency on global current_arch.
When running unit tests on arm64 devices:
[OK] ReportCommandTest.dwarf_callgraph
[OK] record_cmd.dwarf_callchain_sampling.
ERROR: can't unwind data recorded on a different architecture.
It is because ReportCommandtest.dwarf_callgraph opens a perf.data
recorded on x86_64, and changes current_arch. It causes a problem when
the test record_cmd.dwarf_callchain_sampling calls libbacktrace built
on aarch64. Athough it doesn't make the test fail, we should fix this.
Bug:
27860749
Change-Id: I2cd70369a769ef2199cab2302b8b824369be0907
(cherry picked from commit
48460892306fbc232d7623b1aa5be1aefdc1a8a7)
Yabin Cui [Sat, 26 Mar 2016 00:43:43 +0000 (17:43 -0700)]
simpleperf: don't looking for _text symbol in /proc/kallsyms.
simpleperf looks for _text symbol in /proc/kallsyms to get
kernel address space information. But that info is no longer
needed. As some kernels don't have _text symbol, we should
remove the corresponding code.
Bug:
27814103
Change-Id: I4eb9869b58c51846c99b1204f304cd107a0eb354
(cherry picked from commit
7134f388ccdccb4a5e3025254002a85333a72a70)
Yabin Cui [Sat, 26 Mar 2016 03:12:01 +0000 (03:12 +0000)]
Merge "simpleperf: don\'t looking for _text symbol in /proc/kallsyms."
am:
7f5999a
* commit '
7f5999aa3c78cd0f09dba7ebb041406fc34d0bfb':
simpleperf: don't looking for _text symbol in /proc/kallsyms.
Yabin Cui [Sat, 26 Mar 2016 03:05:11 +0000 (03:05 +0000)]
Merge "simpleperf: don't looking for _text symbol in /proc/kallsyms."
Yabin Cui [Sat, 26 Mar 2016 00:43:43 +0000 (17:43 -0700)]
simpleperf: don't looking for _text symbol in /proc/kallsyms.
simpleperf looks for _text symbol in /proc/kallsyms to get
kernel address space information. But that info is no longer
needed. As some kernels don't have _text symbol, we should
remove the corresponding code.
Bug:
27814103
Change-Id: I4eb9869b58c51846c99b1204f304cd107a0eb354
dcashman [Wed, 23 Mar 2016 16:53:48 +0000 (16:53 +0000)]
Merge "aslr_test: Fix typo."
am:
eb40ab9
* commit '
eb40ab9e3501acd0153a3483d90bf1e6d890583f':
aslr_test: Fix typo.
Daniel Cashman [Wed, 23 Mar 2016 14:10:57 +0000 (14:10 +0000)]
Merge "aslr_test: Fix typo."
dcashman [Tue, 22 Mar 2016 23:42:25 +0000 (23:42 +0000)]
aslr_test: Fix typo.
am:
b543b4e
* commit '
b543b4ed380bd3571f23225b216ad82860d281ee':
aslr_test: Fix typo.
dcashman [Tue, 22 Mar 2016 23:08:26 +0000 (16:08 -0700)]
aslr_test: Fix typo.
(cherry-pick of internal commit:
b543b4ed380bd3571f23225b216ad82860d281ee)
Bug:
26512380
Change-Id: I3e92b3ac7412a14ef875297310541fccd1774c03
dcashman [Tue, 22 Mar 2016 23:08:26 +0000 (16:08 -0700)]
aslr_test: Fix typo.
Bug:
26512380
Change-Id: Ia65986700f198a0f09db4a45a7d1bde173e557e6
Yabin Cui [Mon, 21 Mar 2016 19:57:29 +0000 (19:57 +0000)]
Update simpleperf for LLVM rebase to r256229.
am:
a5d2920 -s ours
* commit '
a5d29203685774a9ef8c188d69d7f4cac69578e4':
Update simpleperf for LLVM rebase to r256229.
Yabin Cui [Wed, 9 Mar 2016 22:48:52 +0000 (14:48 -0800)]
Update simpleperf for LLVM rebase to r256229.
Bug:
26987366
(cherry picked from commit
07cdff03ffb5e69d73979e8c2f8585314751ee17)
Change-Id: I15f2c3ad2f3cbc6239f3ffe42dbc09da2b703d3a
Yabin Cui [Sat, 19 Mar 2016 01:18:16 +0000 (01:18 +0000)]
Merge "Simpleperf: support reading symbols from .gnu_debugdata."
am:
ea4a5a4
* commit '
ea4a5a44c8748a7763fe64446b7da54dc69ca4fe':
Simpleperf: support reading symbols from .gnu_debugdata.
Yabin Cui [Sat, 19 Mar 2016 00:38:36 +0000 (00:38 +0000)]
Merge "Simpleperf: support reading symbols from .gnu_debugdata."
Yabin Cui [Sat, 19 Mar 2016 00:13:51 +0000 (00:13 +0000)]
Merge "Simpleperf: insert testdata into simpleperf_unit_test for target build."
am:
87f9b00
* commit '
87f9b00d59998a64729138aadf8898a8bb431151':
Simpleperf: insert testdata into simpleperf_unit_test for target build.
Yabin Cui [Sat, 19 Mar 2016 00:13:50 +0000 (00:13 +0000)]
Merge "Simpleperf: remove dependency on global current_arch."
am:
87c5e41
* commit '
87c5e41fd5b384a40d8717d4cd418b82cd74f7c4':
Simpleperf: remove dependency on global current_arch.
Yabin Cui [Sat, 19 Mar 2016 00:03:51 +0000 (00:03 +0000)]
Merge "Simpleperf: insert testdata into simpleperf_unit_test for target build."
Yabin Cui [Sat, 19 Mar 2016 00:03:37 +0000 (00:03 +0000)]
Merge "Simpleperf: remove dependency on global current_arch."
Yabin Cui [Fri, 18 Mar 2016 04:18:53 +0000 (21:18 -0700)]
Simpleperf: support reading symbols from .gnu_debugdata.
As in https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html,
elf files can store mini debug information in .gnu_debugdata.
Bug:
27744639
Change-Id: If4a53a4a1332824388ee309ac63a008dc5cf8d5c
Yabin Cui [Fri, 18 Mar 2016 19:30:31 +0000 (12:30 -0700)]
Simpleperf: remove dependency on global current_arch.
When running unit tests on arm64 devices:
[OK] ReportCommandTest.dwarf_callgraph
[OK] record_cmd.dwarf_callchain_sampling.
ERROR: can't unwind data recorded on a different architecture.
It is because ReportCommandtest.dwarf_callgraph opens a perf.data
recorded on x86_64, and changes current_arch. It causes a problem when
the test record_cmd.dwarf_callchain_sampling calls libbacktrace built
on aarch64. Athough it doesn't make the test fail, we should fix this.
Change-Id: I2cd70369a769ef2199cab2302b8b824369be0907
Yabin Cui [Fri, 18 Mar 2016 20:48:42 +0000 (13:48 -0700)]
Simpleperf: insert testdata into simpleperf_unit_test for target build.
Before this change, we need to download testdata/ to device to run
unit tests. By inserting testdata into unit test elf file, we no
longer need to dowload testdata/ or add -t option to run unit tests
on device.
Change-Id: I888def6d55f893768dd8917083eead869b78c24b
Yabin Cui [Fri, 18 Mar 2016 22:30:39 +0000 (22:30 +0000)]
Merge "Update simpleperf for LLVM rebase to r256229."
am:
96fdd92
* commit '
96fdd9223bf3d35f0b559fc6582271ffea81cd02':
Update simpleperf for LLVM rebase to r256229.
Pirama Arumuga Nainar [Fri, 18 Mar 2016 21:54:50 +0000 (21:54 +0000)]
Merge "Update simpleperf for LLVM rebase to r256229."
Felipe Leme [Thu, 17 Mar 2016 23:00:32 +0000 (23:00 +0000)]
Added -q flag to ignore errors.
am:
a5aa8f9
* commit '
a5aa8f9583aec9fcfba38161cb31b6ae2b588313':
Added -q flag to ignore errors.
Felipe Leme [Thu, 17 Mar 2016 21:56:34 +0000 (14:56 -0700)]
Added -q flag to ignore errors.
dumpstate calls showmap for each pid, and since most of them are empty,
it ends up polluting logcat with entries like:
03-17 14:49:05.974 12160 12160 E dumpstate: command '/system/xbin/su
root showmap -q 9867' failed: No such file or directory
BUG:
26906985
Change-Id: I18d86adefe3f4b248f672732460d1145103e5828
dcashman [Wed, 16 Mar 2016 18:59:54 +0000 (18:59 +0000)]
Merge "Correct aslr_test minimum arm value."
am:
47ea8ee
* commit '
47ea8eeab1ad047432fcecf5b9abb2d015ee66ed':
Correct aslr_test minimum arm value.
Daniel Cashman [Wed, 16 Mar 2016 16:07:46 +0000 (16:07 +0000)]
Merge "Correct aslr_test minimum arm value."
dcashman [Tue, 15 Mar 2016 22:14:20 +0000 (15:14 -0700)]
Correct aslr_test minimum arm value.
Default mmap_rnd_bits value is now equal to the maximum supported (16)
on arm, not the minimum, 8. Adjust the test criteria to match this.
(cherry-pick of internal commit:
6d7b862b59743b64500b9b079c90cc50d556ecdf)
Bug:
27680571
Change-Id: I2017bf3b77b9513b0c8a797b6fe3dc6aef8ef431
dcashman [Tue, 15 Mar 2016 22:59:36 +0000 (22:59 +0000)]
Correct aslr_test minimum arm value.
am:
6d7b862b59
* commit '
6d7b862b59743b64500b9b079c90cc50d556ecdf':
Correct aslr_test minimum arm value.
dcashman [Tue, 15 Mar 2016 22:14:20 +0000 (15:14 -0700)]
Correct aslr_test minimum arm value.
Default mmap_rnd_bits value is now equal to the maximum supported (16)
on arm, not the minimum, 8. Adjust the test criteria to match this.
Bug:
27680571
Change-Id: I16f2c3120c92ca9ea537f445ba24ebd8172d613f
dcashman [Mon, 14 Mar 2016 18:06:20 +0000 (18:06 +0000)]
Merge "Migrate aslr test to gtest."
am:
9da1eef4a4
* commit '
9da1eef4a48a58e41252a2837e0caeadd65033bc':
Migrate aslr test to gtest.