Commit graph

22730 commits

Author SHA1 Message Date
Treehugger Robot
ee39961311 Merge "logpersist: incorporate size and buffer tunables" am: a87467d
am: af2c43a

* commit 'af2c43abbbfce0dfe1a2fdb38d0abf705e0f5b73':
  logpersist: incorporate size and buffer tunables

Change-Id: I11a1f98e6b0c7e39cfb658a45ddcf9f3772a2985
2016-04-18 17:04:40 +00:00
Mark Salyzyn
af2c43abbb Merge "logpersist: incorporate size and buffer tunables"
am: a87467d

* commit 'a87467d767b0523fca5f8fcfda9a2afb59e8df4f':
  logpersist: incorporate size and buffer tunables

Change-Id: If38fc3ede8cd1c6e0683a5c5153b91c02d218355
2016-04-18 16:59:20 +00:00
Treehugger Robot
a87467d767 Merge "logpersist: incorporate size and buffer tunables" 2016-04-18 16:48:33 +00:00
Mark Salyzyn
2e210e4650 logpersist: incorporate size and buffer tunables
- Add hidden -n and -b flags that propagate to the underlying
  logcat command. Publish aliases in help as --size and --buffer.
- Add --clear for start command so it clears before starting
- shell script bloating up to deal with option validation and
  provide ERROR: and WARNING: advice.

ToDo:

- Deprecate shell script and replace with Eng and Userdebug
  only Developer Options, before it becomes too powerful
  or bloated to force us to rewrite an expendable like this
  into C++.

Bug: 28120456
Change-Id: I0dff8acaa1e5c929454760cfa2801924956bc25d
2016-04-18 08:54:39 -07:00
Yabin Cui
1a3ce9b3a6 Merge "adb: add reconnect command." am: 643bc36
am: 1dd696a

* commit '1dd696a52687106d9926374d18895a911cc6fd28':
  adb: add reconnect command.

Change-Id: Ibfdfe1675a8d3627d4fb8eef3592b9b836dc4d19
2016-04-16 02:00:33 +00:00
Yabin Cui
1dd696a526 Merge "adb: add reconnect command."
am: 643bc36

* commit '643bc369ef8dbeeb22ee87bfa04eb3621ffa16a2':
  adb: add reconnect command.

Change-Id: I4cf54a13d4fc31578d9b7f7084d92974e69c8d2a
2016-04-16 01:58:03 +00:00
Yabin Cui
643bc369ef Merge "adb: add reconnect command." 2016-04-16 01:50:54 +00:00
Treehugger Robot
b2b2240074 Merge "Fix include-what-you-use problem in android-pubkey.c." am: ba430e3
am: c49e943

* commit 'c49e943109099034a4f26d43e0711b37d3f02196':
  Fix include-what-you-use problem in android-pubkey.c.

Change-Id: I741614f9622718161ca991a44036391d72203410
2016-04-16 00:08:59 +00:00
David Benjamin
c49e943109 Merge "Fix include-what-you-use problem in android-pubkey.c."
am: ba430e3

* commit 'ba430e363427cb99af3afe06baec9360150255b2':
  Fix include-what-you-use problem in android-pubkey.c.

Change-Id: Iec27f1ba8e3c38874e20c377718c76c6885de4f1
2016-04-16 00:06:35 +00:00
Treehugger Robot
ba430e3634 Merge "Fix include-what-you-use problem in android-pubkey.c." 2016-04-16 00:01:39 +00:00
David Benjamin
2257f6baf5 Fix include-what-you-use problem in android-pubkey.c.
This fixes a problem building against BoringSSL master.

Change-Id: Ib052c6a59454126a83e32e9a43391470aca7356a
2016-04-15 17:44:05 -04:00
Mark Salyzyn
63ad6a1ad6 logcat: apct test failures
am: 3c535de  -s ours

* commit '3c535de75e3da05e32e69dfcdd6a864dbdc451fd':
  logcat: apct test failures

Change-Id: Ieb68a345a206ca5fa3e1c5182e00980553306a10
2016-04-15 18:34:13 +00:00
James Hawkins
fe8aaf10c7 Merge "bootstat: Calculate and log the time_since_last_boot metric." am: 1607ea6
am: db20ad1

* commit 'db20ad1222661f3e486a19791476ce0189cdfcac':
  bootstat: Calculate and log the time_since_last_boot metric.

Change-Id: I11f52f086adf2faa363f681534566943f2252f00
2016-04-15 16:51:54 +00:00
James Hawkins
db20ad1222 Merge "bootstat: Calculate and log the time_since_last_boot metric."
am: 1607ea6

* commit '1607ea64cbdeea766c05d033afe0c65ea978b399':
  bootstat: Calculate and log the time_since_last_boot metric.

Change-Id: I643c0847a75e4ba02db17ea5e4c716f6fcc7b28d
2016-04-15 16:48:43 +00:00
James Hawkins
1607ea64cb Merge "bootstat: Calculate and log the time_since_last_boot metric." 2016-04-15 16:46:52 +00:00
Mark Salyzyn
3c535de75e logcat: apct test failures
(cherry pick from 3842b1a5f6)

Change-Id: I100a5071c059fe9fa85bbdc33db552b16d7bdf60
2016-04-15 16:38:42 +00:00
James Hawkins
2d8b3e66c6 bootstat: Calculate and log the time_since_last_boot metric.
Bug: 28163811
Change-Id: I2e1350531f6a0fc891c270cfdfca6c8ad63f8040
2016-04-15 08:44:01 -07:00
Yabin Cui
95b017dd56 libbacktrace: only build libbacktrace_offline static library.
am: 578bc03

* commit '578bc039dc66e8ddaf186d901f9d043e506e1950':
  libbacktrace: only build libbacktrace_offline static library.

Change-Id: I717799865400eb3bdabd6ce05c49fe9db323792e
2016-04-15 03:05:40 +00:00
Yabin Cui
3424eaa01d Merge "libbacktrace: only build libbacktrace_offline static library." am: f20e4b1
am: b150324

* commit 'b1503248f4baa28ed739948a51da370bf40037ea':
  libbacktrace: only build libbacktrace_offline static library.

Change-Id: I903f82a38022f7094b70bc8e4d59ac5098456571
2016-04-14 21:38:12 +00:00
Yabin Cui
578bc039dc libbacktrace: only build libbacktrace_offline static library.
As device may not have libbacktrace_offline shared library, simpleperf
no longer rely on it. So there is no reason to keep libbacktrace_offline
shared library.

Bug: 28152982
Change-Id: If8e31b1434646dbbfed60264eb25f034bc5d6946
(cherry picked from commit 51e607056d)
2016-04-14 14:37:37 -07:00
Yabin Cui
b1503248f4 Merge "libbacktrace: only build libbacktrace_offline static library."
am: f20e4b1

* commit 'f20e4b1b710d01fca7bfc41739058ef22c44e0f3':
  libbacktrace: only build libbacktrace_offline static library.

Change-Id: I6e00010154f97deefb9bcb9901b807e833eab9fb
2016-04-14 21:34:14 +00:00
Yabin Cui
f20e4b1b71 Merge "libbacktrace: only build libbacktrace_offline static library." 2016-04-14 21:14:55 +00:00
Daniel Rosenberg
0c13b942ea Fix overflow in path building am: 6ea6c04 am: 9c44027 am: 4830087 am: ad431d2 am: 20bf84e am: 0b35da7 am: 945228b am: aa7db31 am: cebac70 am: 5e7d964 am: 251e360
am: f80d64f

* commit 'f80d64f9d1503d12e1d643f39cabbabbd2d74dda':
  Fix overflow in path building

Change-Id: I884bd007e253bafcd1f05df47367e8bf4befd929
2016-04-14 20:11:52 +00:00
Daniel Rosenberg
f80d64f9d1 Fix overflow in path building am: 6ea6c04 am: 9c44027 am: 4830087 am: ad431d2 am: 20bf84e am: 0b35da7 am: 945228b am: aa7db31 am: cebac70 am: 5e7d964
am: 251e360

* commit '251e3609a485950de59d3aef08959f24a81f9e65':
  Fix overflow in path building

Change-Id: Icd03d8477acf5cd30fd034ed50deba6f1ee7a361
2016-04-14 20:01:24 +00:00
Daniel Rosenberg
251e3609a4 Fix overflow in path building am: 6ea6c04 am: 9c44027 am: 4830087 am: ad431d2 am: 20bf84e am: 0b35da7 am: 945228b am: aa7db31 am: cebac70
am: 5e7d964

* commit '5e7d964871fe7217bc9042adc181232a4e3c1f38':
  Fix overflow in path building

Change-Id: I2318464de6db3c058022f042c57840124f72a5e8
2016-04-14 19:58:14 +00:00
Daniel Rosenberg
5e7d964871 Fix overflow in path building am: 6ea6c04 am: 9c44027 am: 4830087 am: ad431d2 am: 20bf84e am: 0b35da7 am: 945228b am: aa7db31
am: cebac70

* commit 'cebac700aa133744b2b0b586d71d38d7de64f45a':
  Fix overflow in path building

Change-Id: I4d15a213045eb9293638ed1bafcb3137c7994fce
2016-04-14 19:54:47 +00:00
Daniel Rosenberg
cebac700aa Fix overflow in path building am: 6ea6c04 am: 9c44027 am: 4830087 am: ad431d2 am: 20bf84e am: 0b35da7 am: 945228b
am: aa7db31

* commit 'aa7db31fbd39d90e387b71c41e87a0d37b98882c':
  Fix overflow in path building

Change-Id: Id971b55ed73ad4f6b7160f4e9c014e5007d92262
2016-04-14 19:51:41 +00:00
Daniel Rosenberg
aa7db31fbd Fix overflow in path building am: 6ea6c04 am: 9c44027 am: 4830087 am: ad431d2 am: 20bf84e am: 0b35da7
am: 945228b

* commit '945228bdde777ad3aa814d480d37513db24699fb':
  Fix overflow in path building

Change-Id: I6bf39ad97ffeaf70c347fad4166ba239f93f5449
2016-04-14 19:48:22 +00:00
Daniel Rosenberg
945228bdde Fix overflow in path building am: 6ea6c04 am: 9c44027 am: 4830087 am: ad431d2 am: 20bf84e
am: 0b35da7

* commit '0b35da7165e9b78a5e35200bac3df4b2c6bc7c36':
  Fix overflow in path building

Change-Id: I07a7bb64ae3174fb8f36cfa1d3651473e5b2f6bf
2016-04-14 19:44:46 +00:00
Daniel Rosenberg
0b35da7165 Fix overflow in path building am: 6ea6c04 am: 9c44027 am: 4830087 am: ad431d2
am: 20bf84e

* commit '20bf84eca094e813fa445b60d22bcf0c27148cd4':
  Fix overflow in path building

Change-Id: Ia4639f0a0dbcb848a6d9c59319c12cd9bd952c8f
2016-04-14 19:41:32 +00:00
Daniel Rosenberg
20bf84eca0 Fix overflow in path building am: 6ea6c04 am: 9c44027 am: 4830087
am: ad431d2

* commit 'ad431d2e2e15cc47b78fa62e4ab362bfdaa77070':
  Fix overflow in path building

Change-Id: Ifa2970afd2862bef780904f2b91a307c16f7a7b8
2016-04-14 19:37:48 +00:00
Daniel Rosenberg
ad431d2e2e Fix overflow in path building am: 6ea6c04 am: 9c44027
am: 4830087

* commit '4830087b3755b4c3498880369ccbe918aa136cd0':
  Fix overflow in path building

Change-Id: Ie2044be5b1c31b1fe128c90eda1c5df169dc0a3d
2016-04-14 19:34:33 +00:00
Daniel Rosenberg
4830087b37 Fix overflow in path building am: 6ea6c04
am: 9c44027

* commit '9c440272192d600c72659da5bfbe0c2e0a133cfe':
  Fix overflow in path building

Change-Id: Idb39dfc88adb854ffbc3bd40be0d28409248fc85
2016-04-14 19:31:17 +00:00
Daniel Rosenberg
9c44027219 Fix overflow in path building
am: 6ea6c04

* commit '6ea6c04ca695e0f0b6bcf3ea4529b9fd74fee8e4':
  Fix overflow in path building

Change-Id: Ia4388b694ddb12083e0d5a67a3a5f3f5bba2fb12
2016-04-14 19:27:58 +00:00
Yabin Cui
51e607056d libbacktrace: only build libbacktrace_offline static library.
As device may not have libbacktrace_offline shared library, simpleperf
no longer rely on it. So there is no reason to keep libbacktrace_offline
shared library.

Bug: 28152982
Change-Id: If8e31b1434646dbbfed60264eb25f034bc5d6946
2016-04-14 10:31:08 -07:00
Treehugger Robot
ef0c4b3dbf Merge "logd: switch from android_ids to getpwuid" am: 9a3e238
am: 3c1cd70

* commit '3c1cd7022cc3081e7e11343500afd7648cbd3275':
  logd: switch from android_ids to getpwuid

Change-Id: I442ec46a3491858241d94d6f2a67de49f0808019
2016-04-14 16:16:16 +00:00
Mark Salyzyn
3c1cd7022c Merge "logd: switch from android_ids to getpwuid"
am: 9a3e238

* commit '9a3e238a6052204ff44b81ea06b6a0874e2acff9':
  logd: switch from android_ids to getpwuid

Change-Id: Ief9baf28b1bfc062d205fd75f871323a28d6e1a8
2016-04-14 16:12:51 +00:00
Treehugger Robot
9a3e238a60 Merge "logd: switch from android_ids to getpwuid" 2016-04-14 16:06:08 +00:00
Elliott Hughes
2131fd91a8 Merge "Remove libmincrypt." am: d93e7ca
am: 98ab3c0

* commit '98ab3c0ae7b47318e561f12cc11ebe81a459e62e':
  Remove libmincrypt.

Change-Id: I7f86494922cbc21ffe152dfd5bf1767edfc1468e
2016-04-14 15:29:14 +00:00
Elliott Hughes
98ab3c0ae7 Merge "Remove libmincrypt."
am: d93e7ca

* commit 'd93e7cacef54a2c7ab26071fca3982f6e60fd47c':
  Remove libmincrypt.

Change-Id: I7f8a0208aa0d3204ffd248041a14861d19636adc
2016-04-14 15:26:03 +00:00
Elliott Hughes
d93e7cacef Merge "Remove libmincrypt." 2016-04-14 15:19:06 +00:00
Mark Salyzyn
b8a95bd3c9 logd: switch from android_ids to getpwuid
Bug: 27999086
Change-Id: I7f4e68b21f58789b4dcada04f9c27f5722940c02
2016-04-14 15:14:46 +00:00
Daniel Rosenberg
790a7793bf Merge "Add nofail fstab option" am: e992831
am: c375b37  -s ours

* commit 'c375b37c3a130c78dc9b7a467398d561faf10c50':
  Add nofail fstab option

Change-Id: I22fbaf70d411a71abddda93bf83b078a45615eaf
2016-04-14 00:48:01 +00:00
Daniel Rosenberg
c375b37c3a Merge "Add nofail fstab option"
am: e992831

* commit 'e99283103bbd06a2b8a40971ed161d9d0518f79e':
  Add nofail fstab option

Change-Id: Iada8393491847037b33e7de4ac5ccf3b7e9eba6f
2016-04-14 00:21:23 +00:00
Daniel Rosenberg
e99283103b Merge "Add nofail fstab option" 2016-04-14 00:12:44 +00:00
Josh Gao
ee85c8dbaa adb: after adb root, wait for the device in any state.
am: 9ea7795

* commit '9ea7795d38e92d8d01135fdfe7e9a0b74a65e5c8':
  adb: after `adb root`, wait for the device in any state.

Change-Id: I0adaa15e7c055e1d79e0dd65e3e3888d8f575444
2016-04-13 22:21:10 +00:00
Josh Gao
317471e03e adb: add support for \'wait-for-any\'.
am: 5863fb6

* commit '5863fb61e142ec8494443ba341e240f9fe86934b':
  adb: add support for 'wait-for-any'.

Change-Id: I31d2078c24e53adea9b2667b498c4c11db6a655a
2016-04-13 22:21:09 +00:00
Josh Gao
b7f359c4dd adb: make \'wait-for-{recovery,sideload,bootloader} work.
am: 3d8df3c  -s ours

* commit '3d8df3cb2a80676b35a0641c03e1164eb876883f':
  adb: make 'wait-for-{recovery,sideload,bootloader} work.

Change-Id: I3590cb9e8b3045fb298fd7a8f434d9175dde4989
2016-04-13 22:21:09 +00:00
Mark Salyzyn
e81eab9f0c Merge changes I7ebb6146,I0b42736c,I5331acde am: df7c1ed
am: 453139a

* commit '453139a2a00d1e81919539ea32cd7a897182b973':
  logcat: expand -n, -r and -b
  logcat: allow comma-separate list of buffers
  logcat: Adjust help to make it more meaningful

Change-Id: I0b4c2b76f17ed4d6497df6357b7cd4728a5d3b40
2016-04-13 21:48:58 +00:00
Mark Salyzyn
453139a2a0 Merge changes I7ebb6146,I0b42736c,I5331acde
am: df7c1ed

* commit 'df7c1ed3a06c60d77865ff8d71b2f30ca94693a7':
  logcat: expand -n, -r and -b
  logcat: allow comma-separate list of buffers
  logcat: Adjust help to make it more meaningful

Change-Id: I2341e07713e14e1e449bf41a194e306526246959
2016-04-13 21:45:32 +00:00