OSDN Git Service
Thierry Strudel [Tue, 8 Dec 2015 22:59:46 +0000 (14:59 -0800)]
librank: fix pm_memusage_t init and layout
pm_memusage_t variables must be initialized to 0 or call initializer.
Bug:
26083907
Change-Id: I62882be13de9c546e73bcdc24ec43ed0d5251db1
Martijn Coenen [Fri, 4 Dec 2015 16:22:15 +0000 (17:22 +0100)]
Showmap: show swap.
Bug:
26019993
Change-Id: I50a22a6be958dc336da0a1942989a164bb489937
Thierry Strudel [Sat, 21 Nov 2015 02:07:15 +0000 (18:07 -0800)]
procrank: add proportional swap accounting
Shared pages are reported in each of the sharing process swapped pages.
Compute a proportional swap usage to get a meaningful value of what each
process has in swap. Report also process unique pages swapped out.
In case ZRAM is used compute the compression ration and report the
actual RAM use of the swapped pages.
Bug:
25392275
Change-Id: I3a28c7812a09a02e1a604593615f5c6ad0340f9f
Thierry Strudel [Fri, 20 Nov 2015 20:45:09 +0000 (12:45 -0800)]
procrank: Fix some printf alignements
Bug:
25392275
Change-Id: I8ea4d01310190c34b68d3f3140ea336ad82df665
Yu Liu [Thu, 18 Jun 2015 17:46:29 +0000 (10:46 -0700)]
Swap column in procrank not reported with swap enabled
Bug:
25392275
Change-Id: I6d2a0b03abba555b3667f6ccf12896caeecf27aa
Joshua Schwarz [Thu, 15 Oct 2015 21:36:52 +0000 (21:36 +0000)]
am
e7863296: DO NOT MERGE Update rand_emmc_perf makefile. am:
3c1f6644bf -s ours
* commit '
e78632961167670b89b797a23426d0c51d4b5592':
DO NOT MERGE Update rand_emmc_perf makefile.
Joshua Schwarz [Thu, 15 Oct 2015 21:31:38 +0000 (21:31 +0000)]
DO NOT MERGE Update rand_emmc_perf makefile.
am:
3c1f6644bf -s ours
* commit '
3c1f6644bfcd810356154670866f7434f986d940':
DO NOT MERGE Update rand_emmc_perf makefile.
Andriy Naborskyy [Thu, 15 Oct 2015 19:09:50 +0000 (19:09 +0000)]
am
d258e0fd: am
83eeed92: emmc test: fix counter overflow
* commit '
d258e0fd390ac8536d0405589bd0519327721da3':
emmc test: fix counter overflow
Andriy Naborskyy [Thu, 15 Oct 2015 19:04:57 +0000 (19:04 +0000)]
am
83eeed92: emmc test: fix counter overflow
* commit '
83eeed92430fc3f14c21cfc43d11fcecef6e8285':
emmc test: fix counter overflow
Andriy Naborskyy [Thu, 15 Oct 2015 17:33:52 +0000 (10:33 -0700)]
emmc test: fix counter overflow
Fix iops counter overflow that is observed with smaller write size
Bug:
24099467
Change-Id: Ibb1001bde4b68cabf4d0bced6df553f4f772685a
Joshua Schwarz [Thu, 15 Oct 2015 00:21:10 +0000 (17:21 -0700)]
DO NOT MERGE Update rand_emmc_perf makefile.
Change-Id: I4f0416508c3c144e6b44eee4a9dcc78c770dfb8e
Adam Langley [Wed, 2 Sep 2015 22:45:12 +0000 (15:45 -0700)]
Prepare for BoringSSL update.
This change tweaks things as needed so that the code will compile
against both the BoringSSL that's currently in Android and a version
from upstream. The BORINGSSL_201509 define is temporary to allow the
switch to happen without breaking the build and a followup change will
remove it.
In this case, we backed off on removing |ERR_print_errors|, despite it
being a wart in the layering of the code.
(cherry picked from commit
7a688f6e8774920cb8cfc52bf2e3c16976e8ff23)
Change-Id: I2f2f567cfc37fe2d5a69742302c5a92d289b814f
Gopinath [Tue, 15 Sep 2015 21:22:52 +0000 (21:22 +0000)]
Gopinath [Tue, 15 Sep 2015 20:05:35 +0000 (20:05 +0000)]
Gopinath [Tue, 15 Sep 2015 18:27:13 +0000 (11:27 -0700)]
64bit emmc fix
Generating both 32bit and 64bit varaints for emmc
Change-Id: Iefb38576fc6a2c516b13f10e24828b373410d942
Gopinath [Wed, 26 Aug 2015 17:48:32 +0000 (17:48 +0000)]
am
58cd4204: am
c7d19e4d: Adding 64 bit emmc_rand_perf
* commit '
58cd4204135501f59059763e699ea3df6430c828':
Adding 64 bit emmc_rand_perf
Gopinath [Wed, 26 Aug 2015 17:40:34 +0000 (17:40 +0000)]
am
c7d19e4d: Adding 64 bit emmc_rand_perf
* commit '
c7d19e4da5e54231a54abf31afdc4531114a184b':
Adding 64 bit emmc_rand_perf
Gopinath [Tue, 25 Aug 2015 23:16:09 +0000 (16:16 -0700)]
Adding 64 bit emmc_rand_perf
Genrating 32bit and 64bit variant in local/tmp
Change-Id: Ia9a640eab5bfc428d00af4ae0ada6184d946108a
Paul Lawrence [Thu, 16 Jul 2015 15:59:01 +0000 (15:59 +0000)]
am
dd22cb33: Actually encrypt stuff
* commit '
dd22cb338ad59a4766e9ee47936f1e10b386e128':
Actually encrypt stuff
Paul Lawrence [Thu, 16 Jul 2015 14:54:52 +0000 (07:54 -0700)]
Actually encrypt stuff
Fix really dumb error in checkin
https://googleplex-android-review.git.corp.google.com/#/c/728542
This did the opposite of what I want
Bug:
22502319
Change-Id: I502c9b62d127e6221bbc5ff1a209cb0312ec943f
Paul Lawrence [Wed, 15 Jul 2015 23:13:24 +0000 (23:13 +0000)]
am
65df483a: Don\'t encrypt lost+found
* commit '
65df483af2efcb2ab9fd82ae53f9aeaa55f0cebd':
Don't encrypt lost+found
Paul Lawrence [Wed, 15 Jul 2015 22:22:03 +0000 (15:22 -0700)]
Don't encrypt lost+found
ext4 encryption doesn't like it, and the kernel crashes.
Also fix a formatting error in logs.
Bug:
22478103
Change-Id: Ia25f4b0c1c9eeb20e39b795c7827c5bd1a11cb6a
Yabin Cui [Mon, 13 Jul 2015 23:34:11 +0000 (23:34 +0000)]
am
96f2bc51: am
e7da7e9b: Simpleperf: remove abort in child process.
* commit '
96f2bc51002a59fb77711a2a38e014cf13ac010c':
Simpleperf: remove abort in child process.
Paul Crowley [Mon, 13 Jul 2015 22:35:00 +0000 (22:35 +0000)]
am
fa584713: Merge changes If63f439d,I697ec4ef into mnc-dr-dev
* commit '
fa584713c935572966cf86529bbba9e011e001e9':
Add keyctl_revoke
Improve error logging.
Paul Crowley [Mon, 13 Jul 2015 22:34:54 +0000 (22:34 +0000)]
am
d3548a38: Merge "Add e4crypt_set_user_crypto_policies, calls vdc setusercryptopolicies" into mnc-dr-dev
* commit '
d3548a38a524f6f5ccddd87f806054fbb71da434':
Add e4crypt_set_user_crypto_policies, calls vdc setusercryptopolicies
Yabin Cui [Mon, 13 Jul 2015 22:30:39 +0000 (22:30 +0000)]
am
e7da7e9b: Simpleperf: remove abort in child process.
* commit '
e7da7e9b27ca050a12efa36207ea6b9218cc684d':
Simpleperf: remove abort in child process.
Paul Crowley [Mon, 13 Jul 2015 21:11:20 +0000 (21:11 +0000)]
Merge changes If63f439d,I697ec4ef into mnc-dr-dev
* changes:
Add keyctl_revoke
Improve error logging.
Paul Crowley [Mon, 13 Jul 2015 20:52:27 +0000 (20:52 +0000)]
Merge "Add e4crypt_set_user_crypto_policies, calls vdc setusercryptopolicies" into mnc-dr-dev
Paul Crowley [Mon, 13 Jul 2015 15:11:35 +0000 (15:11 +0000)]
am
ccaca5cb: Merge "Don\'t apply default encryption to /data/user, it should get per-user encryption." into mnc-dr-dev
* commit '
ccaca5cb8971837afe96f5b2940d266a95efd564':
Don't apply default encryption to /data/user, it should get per-user encryption.
Paul Crowley [Sun, 12 Jul 2015 18:47:58 +0000 (18:47 +0000)]
Merge "Don't apply default encryption to /data/user, it should get per-user encryption." into mnc-dr-dev
Yabin Cui [Sat, 11 Jul 2015 01:02:01 +0000 (18:02 -0700)]
Simpleperf: remove abort in child process.
Bug:
22328419
Change-Id: I3521a246929c10dc1eb9c9dac75240197b5b0a40
Thierry Strudel [Fri, 10 Jul 2015 18:57:34 +0000 (18:57 +0000)]
am
b89e81dc: fs_config: align with new explicit fs_config target_out parameter
* commit '
b89e81dcb9bfa707912d9e370949b250367b0998':
fs_config: align with new explicit fs_config target_out parameter
Thierry Strudel [Thu, 9 Jul 2015 23:31:39 +0000 (16:31 -0700)]
fs_config: align with new explicit fs_config target_out parameter
Bug:
21989305
Bug:
22048934
Change-Id: I82c16c70a776e13b3365672b2820ee965525de9a
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Paul Crowley [Mon, 6 Jul 2015 15:54:28 +0000 (16:54 +0100)]
Add keyctl_revoke
Change-Id: If63f439d831aa384acd45fde98312923f9c2e561
Paul Crowley [Thu, 28 May 2015 15:45:52 +0000 (16:45 +0100)]
Add e4crypt_set_user_crypto_policies, calls vdc setusercryptopolicies
Bug:
19704432
(cherry picked from commit
09d3fdffad0ccbed36f0ece966e85aed23c626d7)
Change-Id: Ib7ef9365063ed69774169b22071f2a42d2f5ef21
Paul Crowley [Thu, 28 May 2015 15:45:52 +0000 (16:45 +0100)]
Improve error logging.
Bug:
19704432
Change-Id: I697ec4ef879b522d073e5eacc49665479f082ae9
Paul Crowley [Wed, 6 May 2015 14:28:35 +0000 (15:28 +0100)]
Don't apply default encryption to /data/user, it should get per-user
encryption.
Bug:
19704432
(cherry-picked from commit
0050336a0a19019a68374b9eef51e00d6b242f57)
Change-Id: I646f3408ccc06f580d62a2f90f7b895288585396
Zhengyin Qian [Tue, 7 Jul 2015 17:57:25 +0000 (17:57 +0000)]
am
b1f954d1: Merge "Add a system tool - ANRdaemon" into cw-d-mr1-dev
* commit '
b1f954d105a4604487194be94233dd7b8d049d51':
Add a system tool - ANRdaemon
Zhengyin Qian [Tue, 7 Jul 2015 17:19:34 +0000 (17:19 +0000)]
Merge "Add a system tool - ANRdaemon" into cw-d-mr1-dev
Zhengyin Qian [Fri, 19 Jun 2015 04:37:41 +0000 (21:37 -0700)]
Add a system tool - ANRdaemon
This is a daemon to help analyze ANR due to CPU starvation by logging system activity before such an event happens. The daemon uses debugfs underlying for logging.
Change-Id: I5c7c78e88e1dda9c392502f2a41d1e47f06bb89b
Mohamad Ayyash [Wed, 24 Jun 2015 23:30:30 +0000 (23:30 +0000)]
am
c05f5e7a: am
cc919ca1: mksquashfsimage.sh: Add forward slash for SRC_DIR
* commit '
c05f5e7a8fa5de4224b34534ac41cee19d8939a3':
mksquashfsimage.sh: Add forward slash for SRC_DIR
Mohamad Ayyash [Wed, 24 Jun 2015 23:30:29 +0000 (23:30 +0000)]
am
61cde7e4: am
eefe2f9e: mksquashfsimge.sh: Support creating a sparse image
* commit '
61cde7e4843af7590e5ea06a80d67ca5a6dfc616':
mksquashfsimge.sh: Support creating a sparse image
Simon Wilson [Wed, 24 Jun 2015 23:22:44 +0000 (16:22 -0700)]
resolved conflicts for merge of
ee3d4d49 to mnc-dev
Change-Id: Ibfa043e2a7400e659f0355bcd139352b02a058e9
Mohamad Ayyash [Wed, 24 Jun 2015 23:14:28 +0000 (23:14 +0000)]
Merge "mksquashfsimge.sh: Support creating a sparse image" into mnc-dev
Mohamad Ayyash [Wed, 24 Jun 2015 23:13:59 +0000 (23:13 +0000)]
Merge "mksquashfsimage.sh: Add forward slash for SRC_DIR" into mnc-dev
Mohamad Ayyash [Wed, 24 Jun 2015 22:52:13 +0000 (22:52 +0000)]
am
cc919ca1: mksquashfsimage.sh: Add forward slash for SRC_DIR
* commit '
cc919ca13a0c076a75faef80f6b1a7636801aab3':
mksquashfsimage.sh: Add forward slash for SRC_DIR
Mohamad Ayyash [Wed, 24 Jun 2015 22:52:11 +0000 (22:52 +0000)]
am
eefe2f9e: mksquashfsimge.sh: Support creating a sparse image
* commit '
eefe2f9eb99eac4d2e2195a42a146f899516e874':
mksquashfsimge.sh: Support creating a sparse image
Simon Wilson [Wed, 24 Jun 2015 22:48:03 +0000 (22:48 +0000)]
am
b4cf7b30: Add switches for compressor
* commit '
b4cf7b309e8d8dc2ebbc6501ef205091322ab659':
Add switches for compressor
Mohamad Ayyash [Wed, 24 Jun 2015 20:04:29 +0000 (13:04 -0700)]
mksquashfsimage.sh: Add forward slash for SRC_DIR
There is a bug in mksquashfs that fails to interpret symlink dirs unless
they have a forward slash
Change-Id: I64df07d99858a792e1d7af5d11234fe8b75f91ae
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Mohamad Ayyash [Wed, 24 Jun 2015 20:04:29 +0000 (13:04 -0700)]
mksquashfsimage.sh: Add forward slash for SRC_DIR
There is a bug in mksquashfs that fails to interpret symlink dirs unless
they have a forward slash
Change-Id: I64df07d99858a792e1d7af5d11234fe8b75f91ae
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Mohamad Ayyash [Wed, 24 Jun 2015 17:36:40 +0000 (10:36 -0700)]
mksquashfsimge.sh: Support creating a sparse image
Change-Id: Idc28996028e666f929c032e5380312b7b28faa91
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Mohamad Ayyash [Wed, 24 Jun 2015 17:36:40 +0000 (10:36 -0700)]
mksquashfsimge.sh: Support creating a sparse image
Change-Id: Idc28996028e666f929c032e5380312b7b28faa91
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Mohamad Ayyash [Thu, 18 Jun 2015 23:29:02 +0000 (23:29 +0000)]
am
720fd497: am
01e42b24: Introduce squashfs-utils that includes helper functions
* commit '
720fd497f2fa1ea9c2621b5632ccf999dc8ed086':
Introduce squashfs-utils that includes helper functions
Mohamad Ayyash [Thu, 18 Jun 2015 23:29:01 +0000 (23:29 +0000)]
am
802cb097: resolved conflicts for merge of
eca016eb to lmp-mr1-ub-dev
* commit '
802cb097b4d8cfcb7681808026307d07eec93ba5':
Introduce mksquashfsimage.sh
Mohamad Ayyash [Thu, 18 Jun 2015 23:24:34 +0000 (23:24 +0000)]
am
01e42b24: Introduce squashfs-utils that includes helper functions
* commit '
01e42b24c9b56b3ca88a2cf563a8c695d5a74534':
Introduce squashfs-utils that includes helper functions
Mohamad Ayyash [Thu, 18 Jun 2015 23:19:06 +0000 (16:19 -0700)]
resolved conflicts for merge of
eca016eb to lmp-mr1-ub-dev
Simon Wilson [Wed, 17 Jun 2015 19:36:53 +0000 (12:36 -0700)]
Add switches for compressor
Change-Id: I297321db3996d07e9eba3edc0b2837c8d221ab1a
Mohamad Ayyash [Thu, 2 Apr 2015 02:25:28 +0000 (19:25 -0700)]
Introduce squashfs-utils that includes helper functions
For example: extracting filesystem size from superblock
Change-Id: I97c79d80ebb767a977c8ca27f7e0877b5ead8fdc
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Mohamad Ayyash [Tue, 3 Mar 2015 20:33:48 +0000 (12:33 -0800)]
Introduce mksquashfsimage.sh
Change-Id: I2b916ef3ef60b40f506e1f1be59482f7b071cdb2
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Paul Lawrence [Fri, 12 Jun 2015 20:06:21 +0000 (13:06 -0700)]
Retry polling to prevent failures
Change-Id: I182ee7f70c5a96bbcdb0fc9e35df67c45a937757
Than McIntosh [Wed, 10 Jun 2015 15:47:01 +0000 (11:47 -0400)]
Record device screen state and system load (from /proc/loadavg).
Bug: http://b/
19483574
(cherry picked from commit
ebb946827ffbbb7df4c41be262a627c02bd95888)
Change-Id: I2a00e1fb075131e7d7d1a45c196ab0ac414e39c0
Jeff Vander Stoep [Wed, 10 Jun 2015 21:05:13 +0000 (21:05 +0000)]
Merge "Remove selinux/android.h from host tools" into mnc-dev
Jeff Vander Stoep [Wed, 13 May 2015 21:29:15 +0000 (14:29 -0700)]
Remove selinux/android.h from host tools
For tools built for both host and device, only include if not host.
(cherry-picked from commit
6bc4a54fdbd926c032ed5c99f8b5c69f624c6312)
Change-Id: Ie102bd7575d2cf5eef3f95e6063c2970d143dac8
Ying Wang [Tue, 9 Jun 2015 22:33:59 +0000 (22:33 +0000)]
Merge "Exclude verify_boot_signature from Mac build." into mnc-dev
Ying Wang [Tue, 9 Jun 2015 22:26:35 +0000 (15:26 -0700)]
Exclude verify_boot_signature from Mac build.
verify_boot_signature doesn't build on Mac currently.
Temporarily exclude it from Mac build.
Bug:
21669400
Change-Id: I7b978adafefb700d65f6fc10f69c949fce94c236
Todd Kjos [Tue, 9 Jun 2015 00:48:08 +0000 (17:48 -0700)]
fix chrome activity name in systemapps.sh
the activity name for chrome changed recently which broke
systemapps.sh for some devices/builds. This change removes
the dependance on the chrome activity name in systemapps.sh
Change-Id: I7f194a5c60221650300b6ab0df526f5bdf4b7f79
Todd Kjos [Fri, 5 Jun 2015 21:56:54 +0000 (14:56 -0700)]
Add -W option to systemapps.sh
Changes the wait time between apps. Example; "./systemapps.sh -W 1.2"
Change-Id: I3769aa93ebbcd129de2f3fa3df99720e1d83b2f9
Todd Kjos [Fri, 5 Jun 2015 21:32:36 +0000 (21:32 +0000)]
Merge "Enhancements to workload scripts" into mnc-dev
Todd Kjos [Fri, 5 Jun 2015 20:28:46 +0000 (13:28 -0700)]
Enhancements to workload scripts
- display frame latencies (90th/95th/99th) for recents and systemapps
- allow device type to be specified to capture
- workaround for am hang when starting chrome on volantis
- bullhead support for recentfling
New output of "recentfling.sh":
Fling recents...
Frames: 772 latency: 19/22/34 Janks: 131(16%)
New output of "systemapps.sh -T":
App Start(ms) Iter(ms) Jank Latency
gmail 1090 2168 69(72%) 65/75/88
hangouts 1757 2758 60(82%) 69/111/114
chrome 0 997 59(64%) 68/77/84
youtube 3533 4834 140(48%) 70/93/150
play 1868 3147 92(62%) 89/106/182
home 0 1125 210(15%) 62/84/129
TOTAL 8248 35052
Change-Id: If4fc94ab0188dae2afabfbf696be06b6ddf55ce1
Paul Lawrence [Wed, 3 Jun 2015 21:18:17 +0000 (14:18 -0700)]
Move crypt commands to a different listener in vold
In order to prevent this bug from happening, we must allow vold cryptfs
commands to complete while a long running mount is underway.
While waiting for vold to be changed to a binder interface, we will simply
create two listeners, one for cryptfs and one for everything else.
Bug:
19197175
Change-Id: Id87764ed68c169fc6b94ea4f4f7a51a7ec9c7564
Paul Lawrence [Fri, 1 May 2015 12:24:04 +0000 (05:24 -0700)]
DO NOT MERGE New faster file open kernel
(chery-picked from commit
b01dc1c52ec0a4ec5e07a18ffb5b105a997cc329)
Bug:
18151196
Change-Id: Icdb3d9afa1db125102d01cd06f45dbc99ca78021
Paul Lawrence [Tue, 5 May 2015 18:06:43 +0000 (11:06 -0700)]
DO NOT MERGE Use default key permissions for ext4enc
(cherry-picked from commit
478a01d6f2081f7807b99774d005fee373847f23)
As per discussion default permissions are the correct ones.
Note that since we use logon keys, they cannot be read outside
the kernel.
Note also that we limit who can read/write keys in selinux policy.
Bug:
18151196
Change-Id: I15dc0de92643ae1472b0cde79c464fb3e1a1d453
Paul Lawrence [Wed, 15 Apr 2015 21:11:07 +0000 (14:11 -0700)]
DO NOT MERGE Enable properties in ext4enc
(cherry-picked from commit
829e6413348e1d1569b32a604484b4ace3083776)
Enables OwnerInfo and pattern suppression
Change-Id: I4a7d71c9a750d5ed996ab1937bd5a81da480a2b3
Paul Lawrence [Fri, 10 Apr 2015 14:47:30 +0000 (07:47 -0700)]
DO NOT MERGE New ext4enc kernel switching from xattrs to ioctl
(cherry-picked from commit
9f53fb4abca1ee3af7b537c95445161db4b81f86)
This is one of three changes to enable this functionality:
https://android-review.googlesource.com/#/c/146259/
https://android-review.googlesource.com/#/c/146264/
https://android-review.googlesource.com/#/c/146265/
Bug:
18151196
Change-Id: I05b96f49b8848e82484a500e4536bdb4d2cdd635
Paul Lawrence [Tue, 28 Apr 2015 22:13:04 +0000 (22:13 +0000)]
DO NOT MERGE Securely encrypt the master key
(cherry-picked from commit
377cd1957172c19ee21baa3d6bda0840f1ce020d)
Move all key management into vold
Reuse vold's existing key management through the crypto footer
to manage the device wide keys.
Use ro.crypto.type flag to determine crypto type, which prevents
any issues when running in block encrypted mode, as well as speeding
up boot in block or no encryption.
This is one of four changes to enable this functionality:
https://android-review.googlesource.com/#/c/148586/
https://android-review.googlesource.com/#/c/148604/
https://android-review.googlesource.com/#/c/148606/
https://android-review.googlesource.com/#/c/148607/
Bug:
18151196
Change-Id: I7a4ef3f3a937c45ff18f17c9ad1398293a8630f3
Than McIntosh [Thu, 21 May 2015 18:44:34 +0000 (14:44 -0400)]
Perfprofd: various changes related to config parameters.
Details:
- turn "max unprocessed profiles" into a configurable parameter.
- use a longer default collection interval
- reread config file on very iteration through the main loop,
so as to incorporate new parameters written by the upload service
Bug: http://b/
19483574
Change-Id: I1ecacbdeccf26f09ddd8387aef0f2587483eb967
(cherry picked from commit
f353d8bf370eab2117e6259630f5540f12b361b0)
Todd Kjos [Thu, 28 May 2015 15:27:00 +0000 (08:27 -0700)]
Fix hang when starting chrome
Stop using the activity string and always use theverge.com
Change-Id: I22efebe83e8baffecd2a8510ec75c9269f1c24ef
Todd Kjos [Wed, 20 May 2015 19:47:00 +0000 (12:47 -0700)]
Scripts to automate simple workloads for testing
DO NOT MERGE (already in master)
The initial set of scripts:
recentsfling.sh : start a set of apps, switch to recents and fling
systemapps.sh : start a set of apps, and then loop to move them
to the forground, checking whether the app had
been LMK'd or required direct reclaims
feedly-chrome.sh : automate a feedly, chrome
workflow making sure both stay in memory
Change-Id: I40f0862623ea0963bb0eaed3a585b41b69bbbbc7
Elliott Hughes [Sat, 16 May 2015 00:20:47 +0000 (17:20 -0700)]
Don't use TEMP_FAILURE_RETRY with close in system/extras.
Bug: http://b/
20501816
Change-Id: I32123049314a30a255fdf1a76a0e00bd35ac8801
(cherry picked from commit
454b989922c7fb8e1411d06ee26ad7c4e6bc2abe)
Yabin Cui [Thu, 14 May 2015 02:22:42 +0000 (02:22 +0000)]
Merge "Dump build_id feature in `simpleperf record`." into mnc-dev
Yabin Cui [Wed, 6 May 2015 02:58:07 +0000 (19:58 -0700)]
Dump build_id feature in `simpleperf record`.
Bug:
19483574
Change-Id: Ie2acd8a157bca9ad3c01a2e4b37e139aba89670f
(cherry picked from commit
8f6225147c5b6cb2159a7f5cb0dab952ee0759df)
Yabin Cui [Thu, 14 May 2015 02:15:48 +0000 (02:15 +0000)]
Merge "Dump kernel/modules/thread mmap information in `simpleperf record`." into mnc-dev
Yabin Cui [Tue, 5 May 2015 03:27:57 +0000 (20:27 -0700)]
Dump kernel/modules/thread mmap information in `simpleperf record`.
Bug:
19483574
Change-Id: Ia65cb12804a6dffa440501736a6229b2f7248958
(cherry picked from commit
7d59bb49fb47fbc82ef5c77d7aebf7174fd996e1)
Yabin Cui [Thu, 14 May 2015 02:10:22 +0000 (02:10 +0000)]
Merge "Implement simpleperf record/dumprecord subcommands." into mnc-dev
Yabin Cui [Tue, 28 Apr 2015 22:54:13 +0000 (15:54 -0700)]
Implement simpleperf record/dumprecord subcommands.
(cherry picked from commit
9759e1b1ce76185aa539aeea2fb1cbd8382156e7)
Bug:
19483574
Change-Id: Id879713a75c2d3a6289d8847b95ee0bb4a2cc8a0
Dehao Chen [Thu, 7 May 2015 20:16:35 +0000 (13:16 -0700)]
Add sequence number to encoded perf.data file.
Bug:
19483574
(cherry picked from commit
f4605017b29dd98232af9385e71079a3ba0297f1)
Change-Id: I0ca00ce1a4695f2543da3a24987e9cbbeb22cc09
Adam Langley [Mon, 11 May 2015 19:17:25 +0000 (12:17 -0700)]
system/extra: include more of what you use.
This is a reland of
aa24bc89b78a5981df7618bdef78b7b49ffad14d which was
reverted in
291e20dab39783c7074191ff2d2de9b86465c10f because it broke
the git_master-gpl builder.
This version of the change uses crypto.h as a proxy for mem.h because
it'll work in both BoringSSL and OpenSSL.
(cherry picked from commit
a83adf6354f3073a1938ffcd6cadd5c357856de5)
Bug:
21085331
Change-Id: I9e4c9e4d459c2e31f74180b3a3b2ab139ab76e80
Dehao Chen [Tue, 5 May 2015 22:03:48 +0000 (15:03 -0700)]
Separate the destination directory to /data/misc/perfprofd.
Remove reading of aux-config.
Bug:
19483574
(cherry picked from commit
58bade36c738ed96137cfcc8d15f0505f085b5ae)
Change-Id: I019540197561d13d99640a8ff7042c20b58d9b9f
Dehao Chen [Mon, 4 May 2015 23:08:00 +0000 (16:08 -0700)]
Change the encoded file's mode to be readable by GMS core.
Bug:
19483574
(cherry picked from commit
adc45b2517a336e152aaa8ffbf19a505547f7d77)
Change-Id: I0ec40f7571d9b400bc37f2ebe7a268d1cb8dfe82
Dehao Chen [Thu, 30 Apr 2015 17:54:26 +0000 (10:54 -0700)]
Update simpleperf path to /system/xbin/simpleperf.
Change-Id: Ib326b1669553146e028c8354bb5077176d150616
(cherry picked from commit
35bb6be739761482fa7e72214d2aedf2623cbb9a)
Than McIntosh [Wed, 29 Apr 2015 18:48:32 +0000 (14:48 -0400)]
Switch perfprofd from using full to lite version of protobuf library.
Change-Id: Ie4cf7cd2e6e4f90bcdba39200c856c219b710065
(cherry picked from commit
124dd4262f2a2c8e55fdb81af9981b1f949a9686)
Dehao Chen [Wed, 29 Apr 2015 20:31:48 +0000 (13:31 -0700)]
Default the config file to NULL for perfprofd, so that we will not see error in logcat when config file is not specified.
Change-Id: Ib6a442726b687f8aaec27dee30962cf3cc820918
(cherry picked from commit
bfd3af43e88249e763185005cf1db3cca4a3e6ed)
Dehao Chen [Mon, 27 Apr 2015 22:34:09 +0000 (15:34 -0700)]
Build simpleperf in user-debug mode, and put it in /system/xbin/.
(cherry picked from commit
d455de47298ada7e3532104a8e3312822a940906)
Change-Id: I53aa95e0c34957262bc9ebf3c2dff40bfee6867e
Dehao Chen [Mon, 27 Apr 2015 22:25:39 +0000 (15:25 -0700)]
Build perfprofd and its libraries in userdebug mode only, and store it in /system/xbin/
(cherry picked from commit
2a1e7e814c9cb300c22132763a1817c04907e75b)
Change-Id: Ie893f20cd8b103d5eabdc57a13a6c6d9cf35d27d
Colin Cross [Fri, 24 Apr 2015 22:42:36 +0000 (22:42 +0000)]
am
7117efce: Merge "fix possible buffer overrun in librank"
* commit '
7117efced82fcb4d3658161d765bfc964ab930f4':
fix possible buffer overrun in librank
Colin Cross [Fri, 24 Apr 2015 21:58:46 +0000 (21:58 +0000)]
Merge "fix possible buffer overrun in librank"
Yabin Cui [Thu, 23 Apr 2015 23:44:29 +0000 (23:44 +0000)]
am
ffc011b6: Merge "Implement simpleperf stat subcommand."
* commit '
ffc011b651535c46225630f5b73a798d86c1f52e':
Implement simpleperf stat subcommand.
Yabin Cui [Thu, 23 Apr 2015 23:01:30 +0000 (23:01 +0000)]
Merge "Implement simpleperf stat subcommand."
Yabin Cui [Tue, 21 Apr 2015 01:07:17 +0000 (18:07 -0700)]
Implement simpleperf stat subcommand.
Also add some simple unit-tests.
Change-Id: Ic30a2d4a879e028a8c82babbaf82e322fc49a838
Than McIntosh [Thu, 23 Apr 2015 02:17:57 +0000 (02:17 +0000)]
am
8103fad7: Merge "Second round of changes to \'perf\' profile collection daemon."
* commit '
8103fad7c4f71b9ea7b27f624d7c40153132da2b':
Second round of changes to 'perf' profile collection daemon.