Josh Gao
9ce158b16d
adb: turn darwin/windows builds back on, hopefully fix them. am: a9c0ac0c46 am: e4e1ed0e5b am: ddf0740c08 am: 8b88eb368a -s ours am: 5c81df2726 am: f55e22a7d3 am: df519a87fb am: 7f523007a1 am: 5a91535d1f am: d4b7250550 am: b71782888f am: 8dac33914a am: 2a201fff82 am: a198e406c8
...
am: cbae93d213
Change-Id: Ib9fb5c73c40790e1d981e2bde78eacb6755d58d4
2016-11-15 00:02:47 +00:00
Josh Gao
cbae93d213
adb: turn darwin/windows builds back on, hopefully fix them. am: a9c0ac0c46 am: e4e1ed0e5b am: ddf0740c08 am: 8b88eb368a -s ours am: 5c81df2726 am: f55e22a7d3 am: df519a87fb am: 7f523007a1 am: 5a91535d1f am: d4b7250550 am: b71782888f am: 8dac33914a am: 2a201fff82
...
am: a198e406c8
Change-Id: Iaa94f991fc57b3541c70337bb84fb621412ac3f2
2016-11-14 23:54:47 +00:00
Josh Gao
a198e406c8
adb: turn darwin/windows builds back on, hopefully fix them. am: a9c0ac0c46 am: e4e1ed0e5b am: ddf0740c08 am: 8b88eb368a -s ours am: 5c81df2726 am: f55e22a7d3 am: df519a87fb am: 7f523007a1 am: 5a91535d1f am: d4b7250550 am: b71782888f am: 8dac33914a
...
am: 2a201fff82
Change-Id: Ic922ffbab5ee6041db0992fb486553057cb6bce4
2016-11-14 23:47:45 +00:00
Josh Gao
2a201fff82
adb: turn darwin/windows builds back on, hopefully fix them. am: a9c0ac0c46 am: e4e1ed0e5b am: ddf0740c08 am: 8b88eb368a -s ours am: 5c81df2726 am: f55e22a7d3 am: df519a87fb am: 7f523007a1 am: 5a91535d1f am: d4b7250550 am: b71782888f
...
am: 8dac33914a
Change-Id: I1210cc4b11463c37595e6fcc39812c754c969e84
2016-11-14 23:40:45 +00:00
Josh Gao
8dac33914a
adb: turn darwin/windows builds back on, hopefully fix them. am: a9c0ac0c46 am: e4e1ed0e5b am: ddf0740c08 am: 8b88eb368a -s ours am: 5c81df2726 am: f55e22a7d3 am: df519a87fb am: 7f523007a1 am: 5a91535d1f am: d4b7250550
...
am: b71782888f
Change-Id: I7f73c6df381e33c37a38a28af3079dbb453be042
2016-11-14 23:33:14 +00:00
Josh Gao
b71782888f
adb: turn darwin/windows builds back on, hopefully fix them. am: a9c0ac0c46 am: e4e1ed0e5b am: ddf0740c08 am: 8b88eb368a -s ours am: 5c81df2726 am: f55e22a7d3 am: df519a87fb am: 7f523007a1 am: 5a91535d1f
...
am: d4b7250550
Change-Id: Ifbf46403d2148b0d1f17209543ec759536562293
2016-11-14 23:25:45 +00:00
Josh Gao
d4b7250550
adb: turn darwin/windows builds back on, hopefully fix them. am: a9c0ac0c46 am: e4e1ed0e5b am: ddf0740c08 am: 8b88eb368a -s ours am: 5c81df2726 am: f55e22a7d3 am: df519a87fb am: 7f523007a1
...
am: 5a91535d1f
Change-Id: Ibe32d196decd8fd9abf235d57e55faa7fe6a797c
2016-11-14 23:18:15 +00:00
Josh Gao
5a91535d1f
adb: turn darwin/windows builds back on, hopefully fix them. am: a9c0ac0c46 am: e4e1ed0e5b am: ddf0740c08 am: 8b88eb368a -s ours am: 5c81df2726 am: f55e22a7d3 am: df519a87fb
...
am: 7f523007a1
Change-Id: If5a893cc71452d29ad9288d07877de969ccb6c2f
2016-11-14 23:10:43 +00:00
Josh Gao
7f523007a1
adb: turn darwin/windows builds back on, hopefully fix them. am: a9c0ac0c46 am: e4e1ed0e5b am: ddf0740c08 am: 8b88eb368a -s ours am: 5c81df2726 am: f55e22a7d3
...
am: df519a87fb
Change-Id: I373b7a84b76a1e08914cedc80f26a23496b38551
2016-11-14 23:03:13 +00:00
Josh Gao
df519a87fb
adb: turn darwin/windows builds back on, hopefully fix them. am: a9c0ac0c46 am: e4e1ed0e5b am: ddf0740c08 am: 8b88eb368a -s ours am: 5c81df2726
...
am: f55e22a7d3
Change-Id: Id5170a5b9e6ba4837b5811f0f812edfa886e3639
2016-11-14 22:55:42 +00:00
Josh Gao
f55e22a7d3
adb: turn darwin/windows builds back on, hopefully fix them. am: a9c0ac0c46 am: e4e1ed0e5b am: ddf0740c08 am: 8b88eb368a -s ours
...
am: 5c81df2726
Change-Id: I9b46995864508f85c00c6c3a99ebee86632f8402
2016-11-14 22:48:11 +00:00
Josh Gao
5c81df2726
adb: turn darwin/windows builds back on, hopefully fix them. am: a9c0ac0c46 am: e4e1ed0e5b am: ddf0740c08
...
am: 8b88eb368a -s ours
Change-Id: Ibcbd0507aa4978023ed0a444a66c93bf0fce98aa
2016-11-14 22:40:41 +00:00
Josh Gao
8b88eb368a
adb: turn darwin/windows builds back on, hopefully fix them. am: a9c0ac0c46 am: e4e1ed0e5b
...
am: ddf0740c08
Change-Id: I82ec8fe1bd14a0e80bd4cd57ca4958d5999eea3a
2016-11-14 22:26:10 +00:00
Josh Gao
ddf0740c08
adb: turn darwin/windows builds back on, hopefully fix them. am: a9c0ac0c46
...
am: e4e1ed0e5b
Change-Id: I36f3c0d34a64e7983a95607143e863d332e5324b
2016-11-14 22:18:39 +00:00
Josh Gao
e4e1ed0e5b
adb: turn darwin/windows builds back on, hopefully fix them.
...
am: a9c0ac0c46
Change-Id: Icc58ac512edaaa0a47dda375147a832214107556
2016-11-14 22:10:39 +00:00
Elliott Hughes
8e86ebf904
Merge "Switch ueventd to sendfile(2)." am: f77d8b0452 am: 85599ef5de
...
am: fafae8e0cb
Change-Id: Ic7ccbe24b577bdf112b93995fcfa9bac949ab0d1
2016-11-14 22:03:10 +00:00
Elliott Hughes
fafae8e0cb
Merge "Switch ueventd to sendfile(2)." am: f77d8b0452
...
am: 85599ef5de
Change-Id: Ic664e990780d98c3878ebf4bbb30de21024e52e1
2016-11-14 21:55:39 +00:00
Elliott Hughes
d366e92774
Merge "init start time tracking." am: 601bf9e7c9 am: eefaa1f250
...
am: 3c03125f14
Change-Id: I4459a5d1a6db0c2219ba1622cc5d603c104dff9e
2016-11-14 21:49:01 +00:00
Elliott Hughes
85599ef5de
Merge "Switch ueventd to sendfile(2)."
...
am: f77d8b0452
Change-Id: Iaf6d923bdf6f19e6c23fa6c4a80817fca59e6813
2016-11-14 21:48:38 +00:00
Elliott Hughes
3c03125f14
Merge "init start time tracking." am: 601bf9e7c9
...
am: eefaa1f250
Change-Id: I48d8ec69d0f6cad1ffbd152e253ae4ff4d0eaec9
2016-11-14 21:41:55 +00:00
Elliott Hughes
f77d8b0452
Merge "Switch ueventd to sendfile(2)."
2016-11-14 21:39:25 +00:00
Elliott Hughes
eefaa1f250
Merge "init start time tracking."
...
am: 601bf9e7c9
Change-Id: Idd707d4694a4339e26884fe72b8f0c08c4100daf
2016-11-14 21:34:24 +00:00
Elliott Hughes
601bf9e7c9
Merge "init start time tracking."
2016-11-14 21:21:00 +00:00
Josh Gao
a9c0ac0c46
adb: turn darwin/windows builds back on, hopefully fix them.
...
Bug: http://b/32292581
Change-Id: Ie5182165a122f7aed4a5728906f005cc7d54ddd1
2016-11-14 13:06:44 -08:00
Christopher Ferris
c6aeebb8fa
Merge "Revert "Use process_vm_readv to read memory."" am: f96e7446fd am: 430f61fd83
...
am: 7c1a4addbf
Change-Id: I7c4c573a6f93ab13f58397347284d1be032f9ca7
2016-11-14 20:42:35 +00:00
Christopher Ferris
7c1a4addbf
Merge "Revert "Use process_vm_readv to read memory."" am: f96e7446fd
...
am: 430f61fd83
Change-Id: Iff2ef0734678333b303ec88137956c7b74e8d4f3
2016-11-14 20:35:03 +00:00
Christopher Ferris
430f61fd83
Merge "Revert "Use process_vm_readv to read memory.""
...
am: f96e7446fd
Change-Id: Ib0a7f77fa7e3ed9ab2653e87e274d1a3eb032ab7
2016-11-14 20:27:33 +00:00
Christopher Ferris
f96e7446fd
Merge "Revert "Use process_vm_readv to read memory.""
2016-11-14 20:14:18 +00:00
Elliott Hughes
632e99a0d4
Switch ueventd to sendfile(2).
...
Bug: http://b/32826495
Test: booted and checked dmesg
Change-Id: Idfd813dfe6f512fdbc05b1411c7960e950e2f59b
2016-11-14 11:40:06 -08:00
Keun-young Park
18c26bcc1d
Merge "fix swapped min / max in priority parsing" am: 557359863c am: ec2d5d8f04
...
am: ca2714b02a
Change-Id: I3091ec4046b5d36d8b5ee0359a97a1ed0e0bed9e
2016-11-13 05:07:00 +00:00
Keun-young Park
ca2714b02a
Merge "fix swapped min / max in priority parsing" am: 557359863c
...
am: ec2d5d8f04
Change-Id: I900b742d6edf9f25039a4997e6e2d2f34849786a
2016-11-13 04:59:29 +00:00
Keun-young Park
ec2d5d8f04
Merge "fix swapped min / max in priority parsing"
...
am: 557359863c
Change-Id: Ie8bbb5add66b56ff8641f26a081fe185204b7cc1
2016-11-13 04:52:29 +00:00
Treehugger Robot
557359863c
Merge "fix swapped min / max in priority parsing"
2016-11-13 04:44:43 +00:00
Elliott Hughes
9605a945f7
init start time tracking.
...
With this change, init sets a property "init.start" to show the
CLOCK_BOOTTIME time at which init itself started, and for each service
an "init.svc.<name>.start" property to show the CLOCK_BOOTTIME time at
which that service was most recently started.
These times can be used by tools like bootstat to track boot time.
As part of this change, move init over to std::chrono. Also, rather than
make the command-line argument handling more complex, I've switched to
using an environment variable for communication between first- and
second-stage init, and added another environment variable to pass the
start time of the first stage through to the second stage.
Bug: http://b/32780225
Test: manual
Change-Id: Ia65a623e1866ea688b9a5433d6507926ce301dfe
2016-11-12 11:17:40 -08:00
Keun-young Park
dd34ca45ea
fix swapped min / max in priority parsing
...
- This error led into not handling highest priority,
which made zygote's priority boost no-op
bug: 32718256
Test: check init log during bootup
Change-Id: I959eb94912a9c1d95bfdb98ee675fdd12cf85699
2016-11-11 18:32:13 -08:00
Josh Gao
b747b42ec2
Merge "crasher: add option to wait for input before crashing." am: 84db3f19bc am: e1a06eef2a
...
am: 64ef152173
Change-Id: I93cad11b4ff1b1264ed5ef34731072580d807bae
2016-11-12 01:31:06 +00:00
Josh Gao
64ef152173
Merge "crasher: add option to wait for input before crashing." am: 84db3f19bc
...
am: e1a06eef2a
Change-Id: I705780410cd897150e560e584ddee082ede2a201
2016-11-12 01:24:06 +00:00
Josh Gao
e1a06eef2a
Merge "crasher: add option to wait for input before crashing."
...
am: 84db3f19bc
Change-Id: I448bf3e527cd7435f650345492a9df1711b91048
2016-11-12 01:17:04 +00:00
Treehugger Robot
84db3f19bc
Merge "crasher: add option to wait for input before crashing."
2016-11-12 01:04:41 +00:00
Josh Gao
100ce3910d
crasher: add option to wait for input before crashing.
...
This will be useful for tests that want to do things with crasher's pid
before it crashes.
Bug: http://b/30705528
Test: crasher wait-abort; crasher wait-thread-abort
Change-Id: I8ba826094dc304d6cd0e6ab088e5cfdb35d2007b
2016-11-11 14:29:13 -08:00
Christopher Ferris
fdb02f8b9c
Revert "Use process_vm_readv to read memory."
...
This reverts commit 279843e139 .
Bug: 32806783
Change-Id: I61df26d979a8139a571ff5a6442fb5499ca20547
Test: Verified that the stack and read data works with the revert.
2016-11-10 23:19:30 +00:00
Vineela Tummalapalli
98a2556d01
Merge "Implement Reboot bootloader via bootloader_message" am: e759c83bde am: d1b560c6f9
...
am: 5cd910acfc
Change-Id: Ia64156cb3b565b0cfc96ffe0734cddb3298e9445
2016-11-10 03:04:25 +00:00
Vineela Tummalapalli
5cd910acfc
Merge "Implement Reboot bootloader via bootloader_message" am: e759c83bde
...
am: d1b560c6f9
Change-Id: Ie57df293a41803c62cc8a9226c238047236b4592
2016-11-10 02:58:22 +00:00
Vineela Tummalapalli
d1b560c6f9
Merge "Implement Reboot bootloader via bootloader_message"
...
am: e759c83bde
Change-Id: Id0a0e9e9c10f3df206138f297d2acafa87dc4ebf
2016-11-10 02:52:23 +00:00
Treehugger Robot
e759c83bde
Merge "Implement Reboot bootloader via bootloader_message"
2016-11-10 02:43:08 +00:00
Wei Wang
e38cbb53ad
Merge "init: warn slow action" am: 5782f72711 am: d26107d939
...
am: 0d946cb931
Change-Id: Ia593b56b6e2a00ea8590fc32804ba3fd0cd494c6
2016-11-10 01:12:44 +00:00
Wei Wang
0d946cb931
Merge "init: warn slow action" am: 5782f72711
...
am: d26107d939
Change-Id: Ic47f75edabca831cbf3c18e575f83378722d2eb2
2016-11-10 01:07:11 +00:00
Wei Wang
d26107d939
Merge "init: warn slow action"
...
am: 5782f72711
Change-Id: Ia9c2f08e990d70f9afbe17efbb2646717e8d58f7
2016-11-10 01:01:14 +00:00
Treehugger Robot
5782f72711
Merge "init: warn slow action"
2016-11-10 00:53:04 +00:00
Tianjie Xu
80c7743bef
Merge "Start update_verifier in cache group" am: 8cbc89527c am: 081e1f3b13
...
am: 6be7829e4e
Change-Id: Id9f1b810f328639f4287e20017789db392ddd2df
2016-11-10 00:23:14 +00:00