Mark Salyzyn
91a7685e65
Merge changes Iefbea3b1,Ieb924b6d am: bb51fbc4d4
...
am: 9d4203aae1
* commit '9d4203aae178d23509e312c0db544fec1e8e6d7e':
liblog: add android_log_timestamp() private function
liblog: logcat: add epoch and monotonic format modifiers
2015-10-29 23:13:04 +00:00
Mark Salyzyn
9d4203aae1
Merge changes Iefbea3b1,Ieb924b6d
...
am: bb51fbc4d4
* commit 'bb51fbc4d4b311ae315e4d7dd174167ebeadc2a8':
liblog: add android_log_timestamp() private function
liblog: logcat: add epoch and monotonic format modifiers
2015-10-29 23:05:33 +00:00
Mark Salyzyn
bb51fbc4d4
Merge changes Iefbea3b1,Ieb924b6d
...
* changes:
liblog: add android_log_timestamp() private function
liblog: logcat: add epoch and monotonic format modifiers
2015-10-29 23:00:14 +00:00
Mark Salyzyn
500afc7532
liblog: add android_log_timestamp() private function
...
Change-Id: Iefbea3b1be2f97cfdeb35e5330e5495e0337215b
2015-10-29 14:23:42 -07:00
Mark Salyzyn
4cbed02e44
liblog: logcat: add epoch and monotonic format modifiers
...
- '-v epoch' prints seconds since Jan 1 1970
- '-v monotonic' print cpu seconds since start of device
- '-T sssss.mmm...' as alternate tail time format
NB: monotonic is a best estimate and may be out by a few ms
given the synchronization source clue accuracy.
Bug: 23668800
Change-Id: Ieb924b6d3817669c7e53beb9c970fb626eaad460
2015-10-29 14:23:42 -07:00
Dan Willemsen
492c0035f9
Merge "Use GetBuildTime from libchrome instead of __DATE__" am: 4d18ae9301
...
am: 529fa1867c
* commit '529fa1867c3dd59473b00f13a08044374e44f0e4':
Use GetBuildTime from libchrome instead of __DATE__
2015-10-29 21:03:02 +00:00
Dan Willemsen
529fa1867c
Merge "Use GetBuildTime from libchrome instead of __DATE__"
...
am: 4d18ae9301
* commit '4d18ae9301029271ddd86f4b311c97a130ad5044':
Use GetBuildTime from libchrome instead of __DATE__
2015-10-29 20:58:46 +00:00
Dan Willemsen
4d18ae9301
Merge "Use GetBuildTime from libchrome instead of __DATE__"
2015-10-29 20:53:38 +00:00
Dan Willemsen
faa566d29f
Use GetBuildTime from libchrome instead of __DATE__
...
So that this daemon doesn't change on every build, use the system build
date from libchrome (which reads ro.build.date). That way we don't have
to update this daemon for every OTA.
Bug: 24204119
Change-Id: I136d53e5e4ebb9430a57dace66198d8d704d7ca3
2015-10-29 13:02:42 -07:00
Christopher Ferris
0dac031b03
Fix incorrect check of descsz value. am: d917514bd6 am: 69406d904a
...
am: 3f5fdc3522
* commit '3f5fdc35228b4bf9c86a91a35fc73a06d14391c5':
Fix incorrect check of descsz value.
2015-10-29 19:23:54 +00:00
Christopher Ferris
3f5fdc3522
Fix incorrect check of descsz value. am: d917514bd6
...
am: 69406d904a
* commit '69406d904abffcfd5addf14dc96584f73ab04ff5':
Fix incorrect check of descsz value.
2015-10-29 19:20:52 +00:00
Christopher Ferris
69406d904a
Fix incorrect check of descsz value.
...
am: d917514bd6
* commit 'd917514bd6b270df431ea4e781a865764d406120':
Fix incorrect check of descsz value.
2015-10-29 19:12:37 +00:00
Elliott Hughes
f85d6cd804
Merge "Don\'t use VLAs in adb." am: 24704399cd
...
am: ebd5badd84
* commit 'ebd5badd8405ede63f622453bb69d991ebf29583':
Don't use VLAs in adb.
2015-10-27 22:57:34 +00:00
Alex Vakulenko
c3ad9985ed
Merge "core: Rename libchromeos into libbrillo" am: 6ac83e416f
...
am: 3ac10737b3
* commit '3ac10737b31f45524ed36fab148809df42f436c8':
core: Rename libchromeos into libbrillo
2015-10-27 22:57:28 +00:00
Elliott Hughes
ebd5badd84
Merge "Don\'t use VLAs in adb."
...
am: 24704399cd
* commit '24704399cdd58a396831fce2ba678642bd3a8ba5':
Don't use VLAs in adb.
2015-10-27 22:52:26 +00:00
Alex Vakulenko
3ac10737b3
Merge "core: Rename libchromeos into libbrillo"
...
am: 6ac83e416f
* commit '6ac83e416febedaee228e970f723a25868a98518':
core: Rename libchromeos into libbrillo
2015-10-27 22:52:20 +00:00
Elliott Hughes
24704399cd
Merge "Don't use VLAs in adb."
2015-10-27 22:47:05 +00:00
Alex Vakulenko
6ac83e416f
Merge "core: Rename libchromeos into libbrillo"
2015-10-27 22:46:51 +00:00
Elliott Hughes
6d92997ec4
Don't use VLAs in adb.
...
This makes no measurable difference to the sync time; "adb sync" of
everything on /system for a Nexus 9 still takes 20s.
Change-Id: Ifa2626f7453937e43856b9c4ee06e1f5db0aa273
2015-10-27 15:46:41 -07:00
Steve Fung
6b6b0f753e
Merge "crash_reporter: Make report log more useful" am: f7416174ca
...
am: 94dc5e17bd
* commit '94dc5e17bdb16bf024f3f616b730e9219d9a7dcb':
crash_reporter: Make report log more useful
2015-10-27 22:38:58 +00:00
Steve Fung
94dc5e17bd
Merge "crash_reporter: Make report log more useful"
...
am: f7416174ca
* commit 'f7416174ca64d43e2b272c46320cb7e117b4d8b4':
crash_reporter: Make report log more useful
2015-10-27 22:31:50 +00:00
Steve Fung
f7416174ca
Merge "crash_reporter: Make report log more useful"
2015-10-27 22:18:59 +00:00
Steve Fung
d88f6a8ac2
Merge "crash_sender: Properly handle curl errors" am: ef3c85a027
...
am: 19343ebddf
* commit '19343ebddf144307aabab1a474715ffff83e66bb':
crash_sender: Properly handle curl errors
2015-10-27 22:08:03 +00:00
Steve Fung
19343ebddf
Merge "crash_sender: Properly handle curl errors"
...
am: ef3c85a027
* commit 'ef3c85a027fa0c68e247fdc7853325ff5da325d5':
crash_sender: Properly handle curl errors
2015-10-27 22:02:50 +00:00
Steve Fung
ef3c85a027
Merge "crash_sender: Properly handle curl errors"
2015-10-27 21:56:06 +00:00
Steve Fung
270f508b50
crash_reporter: Make report log more useful
...
Convert the crash reporter upload log to be json objects.
Report the product_id in the crash report upload log. Also add
the exec name to the log to make it easier finding specific
crash reports if multiple binaries are crashing.
Bug: 25121166
Change-Id: I48ad88fcb0bb00b4a21dc6f2aa54f94cead971ea
2015-10-27 14:45:27 -07:00
Steve Fung
918b936f58
crash_sender: Properly handle curl errors
...
When the crash server returns an error code, correctly handle
it as a curl error.
Bug: 25295034
Change-Id: I75986a099cfcf90e5d7f2e9acf5616a164b5fc36
2015-10-27 14:28:01 -07:00
Alex Vakulenko
26aef373a6
core: Rename libchromeos into libbrillo
...
BUG: 24872993
Change-Id: Ia47ad51140f7e384822eea9d5de46c9f51ceda11
2015-10-27 11:46:37 -07:00
David Pursell
e0beea7e91
Merge "adb: fix -Tt options to match ssh." am: 76e9236a42
...
am: f856b39141
* commit 'f856b39141fec5b1d165216d265f237fcdcaf2f2':
adb: fix -Tt options to match ssh.
2015-10-27 15:48:39 +00:00
David Pursell
f856b39141
Merge "adb: fix -Tt options to match ssh."
...
am: 76e9236a42
* commit '76e9236a42d8652f46cc690e4fdb7636d5e8386f':
adb: fix -Tt options to match ssh.
2015-10-27 15:45:33 +00:00
David Pursell
76e9236a42
Merge "adb: fix -Tt options to match ssh."
2015-10-27 15:39:33 +00:00
David Pursell
08a27094d9
adb: fix -Tt options to match ssh.
...
ssh has slightly more sophisticated -Tt options that we want to match.
This CL changes -Tt behavior to match ssh so that we allocate a remote
PTY in these cases:
-T: never.
: if stdin is a terminal and user wants an interactive shell.
-t: if stdin is a terminal (otherwise print a warning message).
-t -t: always.
Now this will work as expected:
$ adb shell < my_script.sh
Also corrects a small unrelated bug with escape sequences so that only
a single tilde is accepted for the disconnect sequence.
Bug: http://b/24565284
Change-Id: Idab57ac98d81233b45c2613fe64ceb4398add961
2015-10-26 10:10:03 -07:00
Elliott Hughes
f103a8a6d8
Merge "Fix adb sync/pull/push error reporting." am: b42e7e8f05
...
am: d75b1ff0d3
* commit 'd75b1ff0d33d115d75ad5c591831130abc7ac0d0':
Fix adb sync/pull/push error reporting.
2015-10-26 16:42:37 +00:00
Elliott Hughes
d75b1ff0d3
Merge "Fix adb sync/pull/push error reporting."
...
am: b42e7e8f05
* commit 'b42e7e8f05d4ad3aa0fc3cfcc997684a4446c7b4':
Fix adb sync/pull/push error reporting.
2015-10-26 16:37:04 +00:00
Elliott Hughes
b42e7e8f05
Merge "Fix adb sync/pull/push error reporting."
2015-10-26 16:30:46 +00:00
Elliott Hughes
8b43c3e65a
Fix adb sync/pull/push error reporting.
...
I fixed the server side to send detailed error reports, but the client-side
code for pull was broken because it had already read the "FAIL" header before
calling the general error reporting code that expects to be able to read
the header. This meant we'd always report that we failed to read the failure
message.
Also add a couple of missing "\n"s, make sure every error message is prefixed
by "adb: ", and remove a useless path length check that would silently ignore
over-long paths rather than relying on SendRequest to detect and report the
problem.
Bug: http://b/6205106
Change-Id: I23862ececf03b761115ffa3f7725b7e1cecb48c7
2015-10-23 22:27:11 -07:00
Josh Gao
ba4087edde
Merge "adb: Mask SIGTTIN so that I/O works when backgrounded." am: 69ccb9532c
...
am: 04c64dba9f
* commit '04c64dba9fe42110a1ed45bda5f8faa24715d75f':
adb: Mask SIGTTIN so that I/O works when backgrounded.
2015-10-24 01:48:43 +00:00
Josh Gao
04c64dba9f
Merge "adb: Mask SIGTTIN so that I/O works when backgrounded."
...
am: 69ccb9532c
* commit '69ccb9532cb822685d27142a5117d881be21ab01':
adb: Mask SIGTTIN so that I/O works when backgrounded.
2015-10-24 01:43:23 +00:00
Josh Gao
69ccb9532c
Merge "adb: Mask SIGTTIN so that I/O works when backgrounded."
2015-10-24 01:32:06 +00:00
Evgenii Stepanov
ec6ff936b0
Merge "Disable container overflow detect on target." am: 151e49726b
...
am: 5562351b50
* commit '5562351b50fbbcda030ddfffcb3b2dbef82bcdc9':
Disable container overflow detect on target.
2015-10-23 22:14:52 +00:00
Evgenii Stepanov
5562351b50
Merge "Disable container overflow detect on target."
...
am: 151e49726b
* commit '151e49726bf743bfbd7e44695f9d673735e62119':
Disable container overflow detect on target.
2015-10-23 22:10:27 +00:00
Josh Gao
8dcdb57daf
adb: Mask SIGTTIN so that I/O works when backgrounded.
...
SIGTTIN gets sent to the process when we attempt to read from
stdin when we're in the background, which stops the process by
default. Mask the signal so that the read returns -1 with errno
set to EIO, instead.
Change-Id: I4ae626b0670c05a1a05165539b9eed709e83d536
2015-10-23 15:04:33 -07:00
Evgenii Stepanov
151e49726b
Merge "Disable container overflow detect on target."
2015-10-23 22:03:52 +00:00
Evgenii Stepanov
f3009f21d5
Disable container overflow detect on target.
...
Container overflow annotations may cause false positives in partially
instrumented binaries.
Bug: 25228125, 25212198
Change-Id: Ic587d41698c02e306dece4ad7c6a2a8810c52dbd
2015-10-23 14:57:47 -07:00
Elliott Hughes
a82d93a141
Merge "Lose df to toybox." am: 0fd0946393
...
am: df2f91ceb7
* commit 'df2f91ceb7030433b15713ce6cca48bcba1a8c3f':
Lose df to toybox.
2015-10-23 19:27:23 +00:00
Elliott Hughes
df2f91ceb7
Merge "Lose df to toybox."
...
am: 0fd0946393
* commit '0fd0946393710f1478a046460fca18b8dfac5a88':
Lose df to toybox.
2015-10-23 19:22:51 +00:00
Elliott Hughes
0fd0946393
Merge "Lose df to toybox."
2015-10-23 19:19:15 +00:00
Elliott Hughes
cca6019108
Lose df to toybox.
...
Change-Id: I4c8e6c1071779914969cc7f5a80fe6248b508405
2015-10-23 11:09:53 -07:00
Dan Albert
e506932fe9
Merge "Don\'t use libstdc++." am: f4e2045319
...
am: a9d3ab44e5
* commit 'a9d3ab44e54129d92ef75488c28bd7f8c33cde72':
Don't use libstdc++.
2015-10-23 16:16:22 +00:00
Dan Albert
a9d3ab44e5
Merge "Don\'t use libstdc++."
...
am: f4e2045319
* commit 'f4e204531933027000bd58a5a3366510fb471a27':
Don't use libstdc++.
2015-10-23 16:13:12 +00:00