Guang Zhu
c2fbcf6f67
add component metadata tag to CTS liblog test acses
...
am: de29bf4884
Change-Id: I4bc7c46b9498227ccd19c558fd821d80974bd404
2017-06-06 19:28:39 +00:00
Josh Gao
2d30a74181
Merge changes I6c6bf61b,I3fb0b3a8 am: 3160a25010
am: 9d7880fe96
...
am: 14f749c2c4
Change-Id: I626e726e1672da9cc1077677b0178e70dda1e923
2017-06-06 02:57:02 +00:00
Josh Gao
14f749c2c4
Merge changes I6c6bf61b,I3fb0b3a8 am: 3160a25010
...
am: 9d7880fe96
Change-Id: I3f339fdceaa146d5de54957ea35df38e4fc24472
2017-06-06 02:52:01 +00:00
Josh Gao
9d7880fe96
Merge changes I6c6bf61b,I3fb0b3a8
...
am: 3160a25010
Change-Id: Ida24fdd74569b2c57bdb0d3cdcfa486faf3cf3f2
2017-06-06 02:45:33 +00:00
Treehugger Robot
3160a25010
Merge changes I6c6bf61b,I3fb0b3a8
...
* changes:
adb: libusb: don't try to delete a usb_handle twice.
adb: don't hold queue lock while performing callbacks.
2017-06-06 02:39:40 +00:00
Guang Zhu
de29bf4884
add component metadata tag to CTS liblog test acses
...
Bug: 36140955
Bug: 35360169
Test: new unit test to ensure that all modules have this field
Change-Id: I352145965e8cd20371ccce3ba2b25f3a166bc3e8
Merged-In: Ifb7a14817265b4624f1dc6414b547c86aafcf4ac
2017-06-05 23:21:23 +00:00
Josh Gao
60b8c26520
adb: libusb: don't try to delete a usb_handle twice.
...
Previously, we would attempt to delete a usb_handle in both
device_disconnected and usb_close. If the one in device_disconnected
happened to happen first, usb_close would abort when it failed to find
the handle it was supposed to own.
Bug: http://b/62020217
Test: unplugging device on darwin
Change-Id: I6c6bf61bf89a4d9a23458c00b457080d3d6cc744
2017-06-05 15:11:53 -07:00
Josh Gao
664a618c06
adb: don't hold queue lock while performing callbacks.
...
Fix yet another source of deadlocks.
Bug: http://b/62020217
Test: unplugged device on darwin
Change-Id: I3fb0b3a84c56aed7d0da8ddba36e2d01fdb682ee
2017-06-05 14:54:45 -07:00
Mark Salyzyn
9698d08e05
Merge "liblog: add bool to android_log_event_list" am: d105aa8496
am: 16d6ed1845
...
am: e19946d27c
Change-Id: Ic0f19c3525896e92b88d2f9af69b760858b4c422
2017-06-05 17:51:46 +00:00
Mark Salyzyn
e19946d27c
Merge "liblog: add bool to android_log_event_list" am: d105aa8496
...
am: 16d6ed1845
Change-Id: I2ab2284780ec03716c476d09b7988d07eb18331d
2017-06-05 17:44:15 +00:00
Mark Salyzyn
16d6ed1845
Merge "liblog: add bool to android_log_event_list"
...
am: d105aa8496
Change-Id: I3b376d3d5c89fd16c4e5eac5afdb74981f372ee1
2017-06-05 17:39:47 +00:00
Treehugger Robot
d105aa8496
Merge "liblog: add bool to android_log_event_list"
2017-06-05 17:31:36 +00:00
Mark Salyzyn
e09e9a503e
liblog: add bool to android_log_event_list
...
Test: compile
Bug: 62241642
Change-Id: I977702456417ceec21be96ff8463a5ed047560ec
2017-06-05 07:50:13 -07:00
Christopher Ferris
b5d73cffef
Merge "Use demangle for function names." am: daa6602a86
am: 7f717dfc83
...
am: 56b004c350
Change-Id: I04c96c44d6dd72ab7acd8d8f4a76534e0d35e31b
2017-06-02 22:22:49 +00:00
Christopher Ferris
56b004c350
Merge "Use demangle for function names." am: daa6602a86
...
am: 7f717dfc83
Change-Id: I1d67a1f2395962c5fda76394447a2deb47481259
2017-06-02 22:19:15 +00:00
Christopher Ferris
7f717dfc83
Merge "Use demangle for function names."
...
am: daa6602a86
Change-Id: I045673de2c9ac70cdbe65ef56e0ee7b057d88e93
2017-06-02 22:16:45 +00:00
Christopher Ferris
daa6602a86
Merge "Use demangle for function names."
2017-06-02 22:10:02 +00:00
Tom Cherry
573287de3a
Merge "ueventd: parallelize uevent handling" am: 70431b1f22
am: ed75c00f72
...
am: 27fc35ace4
Change-Id: Ib243f67c5be0822805c457106f5b8ab7cd013989
2017-06-02 22:02:42 +00:00
Tom Cherry
27fc35ace4
Merge "ueventd: parallelize uevent handling" am: 70431b1f22
...
am: ed75c00f72
Change-Id: I6824f5d6330f7eac9b7e2421ae6e8f862a509a3f
2017-06-02 22:00:12 +00:00
Tom Cherry
ed75c00f72
Merge "ueventd: parallelize uevent handling"
...
am: 70431b1f22
Change-Id: Iddec3d673b1f18bc4b8520aafa01c22e0bcbabbf
2017-06-02 21:55:42 +00:00
Tom Cherry
70431b1f22
Merge "ueventd: parallelize uevent handling"
2017-06-02 21:47:57 +00:00
Tom Cherry
c583305ed7
ueventd: parallelize uevent handling
...
fork() subprocesses to handle uevents in parallel.
This reduces coldboot time on bullhead from ~446ms to ~230ms.
This reduces coldboot time on sailfish from ~690ms to ~360ms.
This reduces coldboot time on ryu from ~187ms to ~122ms.
Bug: 33785894
Test: boot bullhead x40, observe no major differences in /dev and /sys
Test: boot sailfish x40, observe no major differences in /dev and /sys
Test: boot ryu x40, observe no major differences in /dev and /sys
Test: boottime tests on bullhead and sailfish
Test: init unit tests
Change-Id: Ie2f63e000b8af78d187477d31fe109f20304d749
2017-06-02 21:45:56 +00:00
Christopher Ferris
7d0aea91c9
Use demangle for function names.
...
Bug: 62141808
Test: Ran unit tests, ran debuggerd -b on android processes.
Change-Id: I40f341bcb2b35dd0a020d245d6b6f2ed2df65481
2017-06-02 10:10:24 -07:00
Christopher Ferris
1109ce9b9f
Merge "Fix handling of _ZLXX." am: 9b537f24bd
am: a11394356c
...
am: 930e0c3ad4
Change-Id: I13bf64e4979c37fde8d903540c69deb028a97cbd
2017-06-02 15:15:34 +00:00
Christopher Ferris
d1019c33d7
Merge "Change RegsTmpl to RegsImpl." am: 2065a741cd
am: d34b599ec8
...
am: a32945f71a
Change-Id: If5f8b33dbeff59115888b0964c22e21a65ad7d06
2017-06-02 15:15:15 +00:00
Christopher Ferris
930e0c3ad4
Merge "Fix handling of _ZLXX." am: 9b537f24bd
...
am: a11394356c
Change-Id: I8c9b52fd9c25db639b36709bbfc95dc4470e56bd
2017-06-02 15:12:06 +00:00
Christopher Ferris
a32945f71a
Merge "Change RegsTmpl to RegsImpl." am: 2065a741cd
...
am: d34b599ec8
Change-Id: Ic0c1ad6466a548be140a122e7eb28884100fbb75
2017-06-02 15:11:44 +00:00
Christopher Ferris
a11394356c
Merge "Fix handling of _ZLXX."
...
am: 9b537f24bd
Change-Id: I19aaab318b88fcb2289eaa7bc1fe636072c5bc39
2017-06-02 15:09:38 +00:00
Christopher Ferris
d34b599ec8
Merge "Change RegsTmpl to RegsImpl."
...
am: 2065a741cd
Change-Id: Ib4050f99b4f452ed26aa41be0ca137656f610a7f
2017-06-02 15:09:14 +00:00
Christopher Ferris
9b537f24bd
Merge "Fix handling of _ZLXX."
2017-06-02 15:06:08 +00:00
Christopher Ferris
2065a741cd
Merge "Change RegsTmpl to RegsImpl."
2017-06-02 15:05:29 +00:00
Josh Gao
35708f6042
debuggerd_client: increase pipe buffer size to max.
...
am: a1c9e943c0
-s ours
Change-Id: Ia09d99ea6516d5187f38ad5d5acf3b11dd1ae64f
2017-06-02 04:44:14 +00:00
Josh Gao
324638a7ea
crash_dump: don't notify ActivityManager if it crashed.
...
am: 8126d2de3e
-s ours
Change-Id: I200746553a85103f10b1819d7cabc5dbc92762e2
2017-06-02 04:44:00 +00:00
Josh Gao
0d74a59261
crash_dump: clear the signal mask.
...
am: 615d939974
-s ours
Change-Id: Id6cee06d89ba1a6093744e0b79ee3a22dce0426e
2017-06-02 04:43:53 +00:00
Christopher Ferris
7b8e467192
Change RegsTmpl to RegsImpl.
...
Also clang-format modified Regs.cpp slightly.
Bug: 23762183
Test: Built and ran unit tests.
Change-Id: I1c7c1b01974ee3f35059c42b8e2aef24d46c81a7
2017-06-01 17:56:46 -07:00
Christopher Ferris
4504bba7d0
Fix handling of _ZLXX.
...
Mangled names of the form _ZLXX, where XX is a number is now properly
demangled.
Test: Ran new unit tests.
Change-Id: I89fbb36d2294c46da428c75bd1a2f39f69ac4b43
2017-06-01 17:37:09 -07:00
Josh Gao
86aeea69f2
Merge "adb: reunregress waiting for device on start-server." am: 72076d1aa7
am: 08a70ac6e5
...
am: 986ba5bbbb
Change-Id: I5db3903d12a686394f8ce94078b202a3a52d2d71
2017-06-02 00:34:04 +00:00
Christopher Ferris
36fc37106c
Merge "Add DwarfSection classes." am: 6a80c3e1a8
am: 5659a2b6fe
...
am: 1fc59234bf
Change-Id: Ic6ce7179ebd0b93bd1ef143b60a8d90b38ba4997
2017-06-02 00:28:41 +00:00
Josh Gao
986ba5bbbb
Merge "adb: reunregress waiting for device on start-server." am: 72076d1aa7
...
am: 08a70ac6e5
Change-Id: Ie379f49929c8b11544328694fd1a438e63da453d
2017-06-02 00:27:49 +00:00
Josh Gao
08a70ac6e5
Merge "adb: reunregress waiting for device on start-server."
...
am: 72076d1aa7
Change-Id: Ie00b2258e92e93b45e4c859cbec11a374b4f7557
2017-06-02 00:26:14 +00:00
Christopher Ferris
1fc59234bf
Merge "Add DwarfSection classes." am: 6a80c3e1a8
...
am: 5659a2b6fe
Change-Id: Ic1de0d9f88febb87c2485d964a85071b676ebde3
2017-06-02 00:25:54 +00:00
Christopher Ferris
5659a2b6fe
Merge "Add DwarfSection classes."
...
am: 6a80c3e1a8
Change-Id: I353f0d1fb1c3203134e8590a1ef7267407240bed
2017-06-02 00:22:25 +00:00
Treehugger Robot
72076d1aa7
Merge "adb: reunregress waiting for device on start-server."
2017-06-02 00:20:31 +00:00
Christopher Ferris
6a80c3e1a8
Merge "Add DwarfSection classes."
2017-06-02 00:15:13 +00:00
Josh Gao
a1c9e943c0
debuggerd_client: increase pipe buffer size to max.
...
If a process tries to dump itself (e.g. system_server during ANRs),
crash_dump will block trying to write to its pipe if it's not
sufficiently large. Increase the pipe size to the max, and add a test
to make sure that it's always at least 1MB (the default value).
Bug: http://b/38427757
Test: debuggerd_test
Merged-In: Iddb0cb1e5ce9e687efa9e94c2748a1edfe09f119
Change-Id: Iddb0cb1e5ce9e687efa9e94c2748a1edfe09f119
(cherry picked from commit 5675f3c321
)
2017-06-01 16:26:23 -07:00
Josh Gao
8126d2de3e
crash_dump: don't notify ActivityManager if it crashed.
...
Bug: http://b/38427757
Test: killall -ABRT system_server, plus added logging
Merged-In: Ic15e0b0870b1ec08a2f165ad0e5356afed02eece
Change-Id: Ic15e0b0870b1ec08a2f165ad0e5356afed02eece
(cherry picked from commit b0e51e388b
)
2017-06-01 16:26:10 -07:00
Josh Gao
615d939974
crash_dump: clear the signal mask.
...
crash_dump inherits its signal mask from the thread that forked it,
which always has all of its signals blocked, now that sigchain respects
sa_mask.
Manually clear the signal mask, and reduce the timeout to a
still-generous 2 seconds.
Bug: http://b/38427757
Test: manually inserted sleep in crash_dump
Merged-In: If1c9adb68777b71fb19d9b0f47d6998733ed8f52
Change-Id: If1c9adb68777b71fb19d9b0f47d6998733ed8f52
(cherry picked from commit e740250b9d
)
2017-06-01 16:25:39 -07:00
Josh Gao
ee634e478c
Merge changes Iddb0cb1e,Ic15e0b08,If1c9adb6 am: 2b17afc68d
am: f1477d7f43
...
am: e8f700611e
Change-Id: Idc9bc1ea27eabd51853b254141177407d607115d
2017-06-01 21:59:03 +00:00
Josh Gao
e8f700611e
Merge changes Iddb0cb1e,Ic15e0b08,If1c9adb6 am: 2b17afc68d
...
am: f1477d7f43
Change-Id: Ic37df35542dcb27b88401bb4efa59cb2113dbbd7
2017-06-01 21:56:28 +00:00
Josh Gao
f1477d7f43
Merge changes Iddb0cb1e,Ic15e0b08,If1c9adb6
...
am: 2b17afc68d
Change-Id: I893f4c95143638598fbc4ef48e6717d1616e3688
2017-06-01 21:53:29 +00:00