diff options
author | Andreas Gampe <agampe@google.com> | 2018-03-14 23:13:28 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2018-03-14 23:19:21 -0700 |
commit | 5a8ea8c619132b48d279be5fd7761538caf02ec9 (patch) | |
tree | c0101626b1fc5831df8be232458b7ec68f45c214 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | c27ebbaa8fb1e97f7324748bff15e2665ecf44f2 (diff) |
Frameworks: Fix system server profiling
Avoid a race to close the profiling file descriptor.
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
Change-Id: Ib506ce38ac1ac7c0b91079ba9b35aca6ae289d22
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions