OSDN Git Service
Jaap Jan Meijer [Wed, 5 Oct 2016 23:15:09 +0000 (01:15 +0200)]
Merge remote-tracking branch 'cm/cm-14.0' into cm-14.0-x86
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
Luca Stefani [Thu, 25 Aug 2016 07:16:26 +0000 (09:16 +0200)]
ext4_utils: Add NO_SECURE_DISCARD boardconfig option
* In N CFLAGS in device tress are prohibited
Change-Id: Iea6a4145d1e460d61115b7d6f5a754996c7c9b28
Luca Stefani [Thu, 25 Aug 2016 10:38:35 +0000 (12:38 +0200)]
Revert "Fix build for static lib and executable"
This reverts commit
534d40029f18c6498975a4dbc60df4875634d62b.
Change-Id: I4e6b5cd9a78f7cfa80ba7499f6990623d9085b1c
Tom Marshall [Mon, 14 Dec 2015 19:20:47 +0000 (11:20 -0800)]
ext4_utils: Fix warning when compiling C++ code
* Fixes "#warning: macro min is incompatible with C++. #undefing min"
Change-Id: I2d7a0fd6c7babd0abd5e4c0ece55432f9ea37e95
Ricardo Cerqueira [Mon, 11 Jul 2016 22:59:48 +0000 (23:59 +0100)]
verity: Split the signer arguments correctly
verity_signer can reach the metadata generator with arguments,
which weren't being accounted for when popen'ing the subprocess.
Split the already-existing command string instead of re-generating
the list.
Ref CYNGNOS-3156
Change-Id: Ib8be4312d8e53f00f7378d2eb470de70e8a0495f
Ricardo Cerqueira [Mon, 4 Jul 2016 15:36:17 +0000 (16:36 +0100)]
verity: Let the tools ask for a password if needed
verity keys can be passworded. Let the password prompts and input
come up in cases of scripted signing, so that the password can
be input. While we're at it, make the password prompt print out
the key that is being requested.
This is roughly equivalent to change Icf69ba1e58bf1f91979eaf1d3b91cb202782e8fd
to signapk in build/
Ref CYNGNOS-3156
Change-Id: I4d9cab891b7c4179198ff3f139d25650ee933e53
luca020400 [Tue, 12 Apr 2016 12:30:48 +0000 (14:30 +0200)]
f2fs_utils: Update for f2fs-tools 1.6.1
This reverts commit
0c8a8e101ab5927867417083edc45796967a4e84.
Change-Id: Ia18ecde3b9a94920eb849f6d3ccae2f45d02a48a
luca020400 [Mon, 11 Apr 2016 21:58:23 +0000 (23:58 +0200)]
f2fs_utils: Alloc f2fs_journal
* Fixes encryption
Change-Id: I542ae946bdc44d9c2e9c2dcfd50bbbf40f647b4b
Ethan Chen [Mon, 11 Apr 2016 20:56:48 +0000 (13:56 -0700)]
Revert "f2fs_utils: Update for f2fs-tools 1.6.1"
This reverts commit
95085beeace4cc3c67ca7b66d74c3f1a5c2e678b.
Change-Id: I362611a342c9febdacfce9a488ba281b9ab284ae
luca020400 [Mon, 4 Apr 2016 17:37:15 +0000 (19:37 +0200)]
f2fs_utils: Update for f2fs-tools 1.6.1
Change-Id: Ief41fb8c502227a40afcac100602b7f99490dc7c
Chih-Hung Hsieh [Fri, 12 Feb 2016 19:16:19 +0000 (11:16 -0800)]
Fix memory leak of dirbuf.
BUG:
26962062
Change-Id: I5fae9eed5b154205a6780fb28c59fccf0b5b16ec
lei wang wang [Mon, 24 Aug 2015 07:47:36 +0000 (15:47 +0800)]
fix bug in mkf2fs tool calculation of f2fs filesystem length
Change-Id: Ifb1f5e70da1faf626ddd9af311556c56ca5cff12
Ankit Gupta [Wed, 23 Dec 2015 22:16:37 +0000 (14:16 -0800)]
bootsignature: includes dt image size for signed boot image
BootSignature truncates the bootimage since dt image size wasn't
considered while calculating the signable bootimage size and thus
target fails to boot. This patch includes the device tree size in
the boot image and prevents it from truncating it and makes the
target boot fine.
Issue-id: YAM-27
Change-Id: Ieaa396159130875768231602cd58eb865d222872
Koushik Dutta [Sat, 1 Jan 2011 23:58:13 +0000 (15:58 -0800)]
mkimage for OMAP
Change-Id: I72ff818d78a877ee8198904919d51577b9aa0c57
Tom Marshall [Tue, 11 Nov 2014 23:15:43 +0000 (15:15 -0800)]
Fix build for static lib and executable
This seems to have been missed in
aad1acc
Change-Id: I9973743dbd91dbf29691118a577f2588da8ec403
Ricardo Cerqueira [Fri, 7 Nov 2014 01:21:24 +0000 (01:21 +0000)]
f2fs_utils: Add a static libf2fs_sparseblock for minvold
Change-Id: Id0947eb304cabbe59c21b8c2e2b81a03cceed619
David Ferguson [Fri, 8 Jun 2012 01:00:41 +0000 (21:00 -0400)]
ext4_utils: add BoardConfig define to suppress EMMC-corrupting wipe command
If BOARD_SUPPRESS_EMMC_WIPE is true, the EMMC wipe command will not be
issued. This works around a bug in some firmware revisions of Samsung EMMC's
that permanently damages the device when the wipe command is issued.
For affected devices with kernel source, MMC_CAP_ERASE should be removed
from the kernel instead.
This is only part of the solution but it does handle the "flashing CM9
for the first time on an unsafe kernel" situation.
Change-Id: Ie4e31f9268a65218e5d344ae3068b021790fc33c
Keith Mok [Thu, 3 Sep 2015 18:36:51 +0000 (11:36 -0700)]
Add darwin support for the host tools
There is some symbol name conflict in the make_f2fs and the library
it loaded which darwin and linux handle that in a different way.
Remove the symbol name conflicts as cannot find a way to set symbol
resolving priority in darwin.
Change-Id: Iabe5c1b594daacd65b9ec2f694a2b5ab5575cfce
Dan Pasanen [Sun, 9 Nov 2014 22:43:22 +0000 (16:43 -0600)]
extras: remove su, we have our own
Change-Id: I18e9819efc3e7aed56e4fb19b0fa4f4bf4bd902e
Matt Mower [Sun, 4 Jan 2015 04:11:46 +0000 (22:11 -0600)]
Extras: gitignore su
Change-Id: Iff5a1a6962ee1633f833f5dd998e62ecf6e5f0af
Steve Kondik [Sat, 16 Nov 2013 15:36:33 +0000 (07:36 -0800)]
ext4_utils: Yet another MMC discard pain in the ass
* Secure discard on this device is painfully slow. Use regular
discard until the issue is sorted out.
Change-Id: Ib8ccb12829385aa267253f772e243bef8850f455
Chih-Wei Huang [Tue, 8 Mar 2016 09:14:34 +0000 (17:14 +0800)]
mkuserimg.sh: set default size according to the $SRC_DIR size
Add extra size by the $SRC_DIR size plus 10%.
Chih-Wei Huang [Mon, 19 May 2014 16:38:35 +0000 (00:38 +0800)]
su: disable the legacy su completely
The Android Automerger [Tue, 28 Jun 2016 07:04:19 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev
Yabin Cui [Mon, 27 Jun 2016 23:00:20 +0000 (16:00 -0700)]
Simpleperf: fix flaky tests.
Simpleperf stat/record command may need 1 second to set security.perf_harden
property. So the monitored child threads should run longer than 1 second.
Bug:
29763505
Change-Id: I9bf6dcba03f3fc5c91130f38a08ce0062e104103
Mohamad Ayyash [Wed, 15 Jun 2016 22:53:55 +0000 (15:53 -0700)]
mksquashfsimage.sh: Make disable-4k-align a paramter
BUG:
29388879
Change-Id: I6ede2273419ba986d08decc0540741c54ed736b1
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Mohamad Ayyash [Thu, 16 Jun 2016 16:24:33 +0000 (16:24 +0000)]
Merge "mksquashfsimage.sh: Make disable-4k-align a paramter" into nyc-dev
The Android Automerger [Thu, 16 Jun 2016 07:04:45 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev
Mohamad Ayyash [Wed, 15 Jun 2016 22:53:55 +0000 (15:53 -0700)]
mksquashfsimage.sh: Make disable-4k-align a paramter
BUG:
29388879
Change-Id: I6ede2273419ba986d08decc0540741c54ed736b1
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Mohamad Ayyash [Wed, 15 Jun 2016 16:03:08 +0000 (16:03 +0000)]
Merge changes from topic 'squashfs_ota_incrementals' into nyc-dev
* changes:
Disable fragments and duplicates detection for squashfs
mksquashfsimage.sh: Add support for passing block map files
Mohamad Ayyash [Tue, 24 May 2016 20:53:53 +0000 (13:53 -0700)]
Disable fragments and duplicates detection for squashfs
They don't play nicely with generating block maps. Fragments reduce
performance. A later patch will add workaround for duplicate detection.
BUG:
22322817
Change-Id: I01c731202ef7a2450b5d1beca627a0158c9cc3b4
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Mohamad Ayyash [Mon, 13 Jun 2016 21:45:31 +0000 (14:45 -0700)]
mksquashfsimage.sh: Add support for passing block map files
BUG:
22322817
Change-Id: I7e17f6ad3a503ee97f7a81a1a8382cff47a913c6
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
The Android Automerger [Sun, 12 Jun 2016 07:05:22 +0000 (00:05 -0700)]
merge in nyc-release history after reset to nyc-dev
Yabin Cui [Sat, 11 Jun 2016 03:53:11 +0000 (03:53 +0000)]
Merge "simpleperf: restore perf_harden after simpleperf cts test." into nyc-dev
Yabin Cui [Fri, 10 Jun 2016 19:15:11 +0000 (12:15 -0700)]
simpleperf: restore perf_harden after simpleperf cts test.
Bug:
29264324
Change-Id: Ia78ef924f049630968d222729cf3c1f378105b8a
(cherry picked from commit
5896132e00c7e49d2468d7ebd5372654df29b872)
Yabin Cui [Wed, 1 Jun 2016 22:39:39 +0000 (15:39 -0700)]
simpleperf: check perf event limit.
The property security.perf_harden is added in https://android-review.googlesource.com/#/c/233736/5. And simpleperf needs to notice that.
Bug:
29054680
Change-Id: I5f1593f5b389d182a56c4bf3bd438a1dc2b66686
(cherry picked from commit
ebf79f3a65c81ef0f8cd7a3b875771be88157fcc)
The Android Automerger [Tue, 7 Jun 2016 07:04:36 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev
Erik Kline [Mon, 6 Jun 2016 21:57:12 +0000 (06:57 +0900)]
Do not build multinetwork tools when targeting the PDK
Bug:
29071416
Change-Id: Ie39cad3151907aabbf523895d6cde37b82ff29a2
Sami Tolvanen [Fri, 3 Jun 2016 20:56:07 +0000 (13:56 -0700)]
libfec: return raw and corrected verity metadata signatures
Since it's not possible for libfec to identify whether the signature
field was successfully corrected, return both and allow the caller to
validate either signature.
Bug:
28943429
Change-Id: Ie913c21ba1d07d6df4c6feeb7226b2ec963f4d19
The Android Automerger [Tue, 31 May 2016 07:03:53 +0000 (00:03 -0700)]
merge in nyc-release history after reset to nyc-dev
Erik Kline [Fri, 22 Jan 2016 00:07:44 +0000 (09:07 +0900)]
Add multinetwork debugging tools, dnschk and httpurl
Bug:
19537384
Bug:
27199751
Bug:
28719525
Change-Id: Ie983ec12ac6c550fa76c89cd44343220688a99b4
The Android Automerger [Sun, 29 May 2016 07:06:00 +0000 (00:06 -0700)]
merge in nyc-release history after reset to nyc-dev
Zhengyin Qian [Fri, 27 May 2016 17:58:00 +0000 (17:58 +0000)]
ANRdaemon: add README and a bash script to easily get trace. am:
9e90477a67
am:
4b7f0b27a2
* commit '
4b7f0b27a267e5e10894bbf438dec15e534e4cc4':
ANRdaemon: add README and a bash script to easily get trace.
Change-Id: I0ea20dd173cfaef70df4d07672810ca233fcb5f2
Zhengyin Qian [Fri, 27 May 2016 17:57:56 +0000 (17:57 +0000)]
ANRdaemon: add a few new trace options and poke all userland services am:
5b42895d33
am:
ecb5849a5d
* commit '
ecb5849a5d8cc59828c66910f2096ac44e455ca3':
ANRdaemon: add a few new trace options and poke all userland services
Change-Id: Id35a4a5d9ccab90c0ab661e835fcd55787efa09a
Zhengyin Qian [Fri, 27 May 2016 17:57:53 +0000 (17:57 +0000)]
ANRdaemon: increase the CPU threshold resolution to 0.01% am:
6d25c0bd81
am:
c33bbcd4c7
* commit '
c33bbcd4c7a2700f28af68a8673bec71ec92aacc':
ANRdaemon: increase the CPU threshold resolution to 0.01%
Change-Id: Ib6cc29b5ac94344c9c7a9766b6548563da060888
Zhengyin Qian [Fri, 27 May 2016 17:50:50 +0000 (17:50 +0000)]
ANRdaemon: add README and a bash script to easily get trace.
am:
9e90477a67
* commit '
9e90477a678b5b5fa6ac6dd7e78770746d6c50bf':
ANRdaemon: add README and a bash script to easily get trace.
Change-Id: Ief3f17421cc970a6b8676921b414d093c43ea880
Zhengyin Qian [Fri, 27 May 2016 17:50:49 +0000 (17:50 +0000)]
ANRdaemon: add a few new trace options and poke all userland services
am:
5b42895d33
* commit '
5b42895d33d72e74e3e3446e1d43fc541fbf404f':
ANRdaemon: add a few new trace options and poke all userland services
Change-Id: Ic1eac97f0b965cc8f1e2b73f26456975150acb48
Zhengyin Qian [Fri, 27 May 2016 17:50:48 +0000 (17:50 +0000)]
ANRdaemon: increase the CPU threshold resolution to 0.01%
am:
6d25c0bd81
* commit '
6d25c0bd81eee66810339d5db3d1ecd48691d229':
ANRdaemon: increase the CPU threshold resolution to 0.01%
Change-Id: I4b8feac7f8908943ae543f096e97896e50963697
Zhengyin Qian [Mon, 9 May 2016 18:40:18 +0000 (11:40 -0700)]
ANRdaemon: add README and a bash script to easily get trace.
Bug:
28989601
Change-Id: I5c9b819a6b05003e68d26bfacccf4c539ddab7ae
Zhengyin Qian [Tue, 26 Apr 2016 22:14:27 +0000 (15:14 -0700)]
ANRdaemon: add a few new trace options and poke all userland services
Bug:
28989601
Change-Id: Ic0fdb6e0601d5e0a285d42cd9fe1a3d8d6f86286
Zhengyin Qian [Tue, 26 Apr 2016 18:57:16 +0000 (11:57 -0700)]
ANRdaemon: increase the CPU threshold resolution to 0.01%
Bug:
28989601
Change-Id: If2a305bd14e8bd7c22115cbca668bd7777d0e7d2
The Android Automerger [Wed, 11 May 2016 07:04:17 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev
Paul Crowley [Wed, 27 Apr 2016 17:24:40 +0000 (10:24 -0700)]
Fail with an error if we can't read the policy for encryption
The absence of a policy reference in the unencrypted directory now
causes e4crypt_set_directory_policy to fail with an error. Callers
should call e4crypt_is_native (now moved into here) before calling this.
Bug:
28318405
Change-Id: I209292aba3abad3b19105c9afe2b84e8b3dd6874
The Android Automerger [Mon, 2 May 2016 23:54:55 +0000 (16:54 -0700)]
merge in nyc-release history after reset to nyc-dev
The Android Automerger [Mon, 2 May 2016 22:20:58 +0000 (15:20 -0700)]
merge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 1 May 2016 07:04:32 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev
Mohamad Ayyash [Fri, 29 Apr 2016 18:14:02 +0000 (11:14 -0700)]
Incr Ext4: Properly merge block_allocation lists
BUG:
27698960
Change-Id: Ia31b8319e0d1c8644ae1798116007a4b35c39e9b
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Mohamad Ayyash [Fri, 29 Apr 2016 04:49:01 +0000 (21:49 -0700)]
Incremental Ext4 Bug: prevent out of bound boundary allocations
This happens around the boundary of block groups where a slightly
different block boundary is set based on size of filesystem which means
allocations based on a previous filesystem layout need to verify they're
not crossing that new bounday
BUG:
27698960
Change-Id: I45d444b4477f14f71e8f17144523505a7525b4e2
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
The Android Automerger [Tue, 19 Apr 2016 07:04:33 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 17 Apr 2016 07:04:38 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev
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>
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)
The Android Automerger [Mon, 11 Apr 2016 23:00:54 +0000 (16:00 -0700)]
merge in nyc-release history after reset to nyc-dev
The Android Automerger [Mon, 11 Apr 2016 21:47:54 +0000 (14:47 -0700)]
merge in nyc-release history after reset to nyc-dev
The Android Automerger [Mon, 11 Apr 2016 19:01:54 +0000 (12:01 -0700)]
merge in nyc-release history after reset to nyc-dev
The Android Automerger [Mon, 11 Apr 2016 18:44:18 +0000 (11:44 -0700)]
merge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 10 Apr 2016 07:05:29 +0000 (00:05 -0700)]
merge in nyc-release history after reset to nyc-dev
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>
The Android Automerger [Thu, 7 Apr 2016 07:04:41 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev
Julien Desprez [Wed, 6 Apr 2016 13:40:56 +0000 (14:40 +0100)]
Use default path for mmapPerf binaries
Change-Id: Ic6994988152942e162e0b977afe48144b4d8bb32
Julien Desprez [Tue, 5 Apr 2016 17:29:52 +0000 (18:29 +0100)]
Convert mmapPerf to google-benchmark
Bug:
24272167
Change-Id: I831c9d26495e77e041a9461ddbafc70d7d11f9b7
The Android Automerger [Tue, 5 Apr 2016 07:04:03 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev
Jaewan Kim [Mon, 4 Apr 2016 15:32:24 +0000 (00:32 +0900)]
Make squashfs work on BSD and macOS
Change-Id: Ie025a3d70237a7a959203d8cd066d05acf9e94b2
The Android Automerger [Mon, 4 Apr 2016 19:15:48 +0000 (12:15 -0700)]
merge in nyc-release history after reset to nyc-dev
The Android Automerger [Mon, 4 Apr 2016 18:59:47 +0000 (11:59 -0700)]
merge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 3 Apr 2016 07:05:03 +0000 (00:05 -0700)]
merge in nyc-release history after reset to nyc-dev
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
The Android Automerger [Wed, 30 Mar 2016 07:04:45 +0000 (00:04 -0700)]
merge in nyc-release history after reset to 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
(cherry picked from commit
8f680f60dc800bec880c5c35bfbc1ac36165e1f3)
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: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
The Android Automerger [Tue, 29 Mar 2016 07:04:51 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev
Yabin Cui [Mon, 28 Mar 2016 17:47:52 +0000 (17:47 +0000)]
Merge "Simpleperf: remove dependency on global current_arch." into nyc-dev
The Android Automerger [Sun, 27 Mar 2016 07:05:47 +0000 (00:05 -0700)]
merge in nyc-release history after reset to nyc-dev
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)
The Android Automerger [Wed, 23 Mar 2016 07:03:55 +0000 (00:03 -0700)]
merge in nyc-release history after reset to nyc-dev
dcashman [Tue, 22 Mar 2016 23:08:26 +0000 (16:08 -0700)]
aslr_test: Fix typo.
Bug:
26512380
Change-Id: Ia65986700f198a0f09db4a45a7d1bde173e557e6
The Android Automerger [Tue, 22 Mar 2016 07:03:46 +0000 (00:03 -0700)]
merge in nyc-release history after reset to nyc-dev
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
The Android Automerger [Sun, 20 Mar 2016 07:03:51 +0000 (00:03 -0700)]
merge in nyc-release history after reset to nyc-dev
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
The Android Automerger [Wed, 16 Mar 2016 07:02:27 +0000 (00:02 -0700)]
merge in nyc-release history after reset to nyc-dev
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
The Android Automerger [Tue, 15 Mar 2016 07:02:48 +0000 (00:02 -0700)]
merge in nyc-release history after reset to nyc-dev
Daniel Cashman [Mon, 14 Mar 2016 17:38:58 +0000 (17:38 +0000)]
Merge "Migrate aslr test to gtest." into nyc-dev
The Android Automerger [Sun, 13 Mar 2016 08:03:20 +0000 (00:03 -0800)]
merge in nyc-release history after reset to nyc-dev