commit | 38b6a9093eb0035273ca15c2005b0f79ffb98b1c | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Dec 06 14:15:48 2017 -0800 |
committer | Yabin Cui <yabinc@google.com> | Wed Dec 06 14:59:40 2017 -0800 |
tree | 2b5b71d56a9bfecce7548393c36c5bedb2dc823f | |
parent | 24e764f6682f93a9d47e6780d80fbf04ab047199 [diff] |
simpleperf: create tempfile in the same dir as recording file. perfprofd doesn't have permission to create file at /data/local/tmp. So switch simpleperf record cmd to create temp file in the directory storing recording file, where it should always have permission. Bug: http://b/70232908 Test: run simpleperf_unit_test. Change-Id: I982c1b6c1fcc6723a686fad60bac66756376e8f7