Andreas Gampe
4f68924d8b
Frameworks: Fix system server profiling
Avoid a race to close the profiling file descriptor.
(cherry picked from commit 5a8ea8c619)
Bug: 74883338
Test: m
Test: am profile start `pid system_server` /data/local/tmp/test.trace && sleep 5s && am profile stop `pid system_server` && adb pull /data/local/tmp/test.trace && [[ $(find test.trace -size +1K) ]] && echo Success
Merged-In: Ib506ce38ac1ac7c0b91079ba9b35aca6ae289d22
Change-Id: Ib506ce38ac1ac7c0b91079ba9b35aca6ae289d22
2018-03-15 15:48:58 -07:00
..
2018-02-02 19:34:26 -08:00
2018-02-16 15:40:27 -08:00
2018-02-16 20:45:41 +00:00
2018-03-15 15:48:58 -07:00
2018-03-15 12:01:33 -07:00
2018-03-05 17:27:05 -08:00
2018-03-01 14:46:15 -08:00
2018-03-15 10:13:34 +00:00
2018-03-06 13:31:30 -08:00
2018-03-14 12:01:01 -07:00
2018-03-14 23:42:21 +00:00
2018-03-14 21:27:11 -04:00
2018-03-13 22:39:59 +09:00
2018-02-04 00:44:02 +00:00
2018-03-12 18:27:02 +00:00
2018-03-06 09:08:29 -05:00
2018-02-16 20:45:22 +00:00
2018-03-15 12:24:02 +00:00
2018-03-12 23:27:15 +00:00
2018-03-15 14:34:16 +00:00
2018-03-12 21:35:25 +00:00
2018-02-23 12:53:55 -08:00
2018-03-07 18:30:27 +00:00
2018-02-12 17:30:02 -08:00
2018-03-13 18:47:46 +00:00
2018-03-15 21:01:49 +00:00
2018-03-14 22:59:22 +00:00
2018-03-14 16:05:53 -07:00