commit | 06636d0bbfed7d4bba138c8f7d79921a646fe0f4 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Fri Aug 05 15:31:33 2016 -0700 |
committer | Yabin Cui <yabinc@google.com> | Fri Aug 05 15:48:42 2016 -0700 |
tree | 5dc03205cb9c3607ec3d45a827d7b4cdca0fcc5e | |
parent | 9ec492a979bf53295e5d615cc00a76e074c51bd7 [diff] |
simpleperf: fix record file writer. When running `run-as [package_name] ./simpleperf record...` on device, simpleperf doesn't have permission to create temporary file in /data/local/tmp. So create temporary files in the same directory as perf.data instead. Bug: http://b/30649868 Change-Id: I48178d4eb421be8d8636721ac3b29b98fa673b5d Test: run simpleperf_unit_test.