OSDN Git Service

simpleperf: improve managing temp files.
authorYabin Cui <yabinc@google.com>
Wed, 7 Mar 2018 23:47:15 +0000 (15:47 -0800)
committerYabin Cui <yabinc@google.com>
Fri, 9 Mar 2018 01:48:34 +0000 (17:48 -0800)
commitc68e66dcf067c052319c8da13a6a49ff06481fa5
tree2b64e44d2fb90072733eff8053917093c6290ac5
parent674e6e8de2211b2856377e229c348762e82c695e
simpleperf: improve managing temp files.

Instead of relying on callers to delete temp files, support managing
all temp files in ScopedTempFiles.

Bug: http://b/73127105
Test: run simpleperf_unit_test and simpleperf manually.
Change-Id: Ib73065754657320ebd244f676e3f851544ff2718
simpleperf/CallChainJoiner.cpp
simpleperf/CallChainJoiner_test.cpp
simpleperf/cmd_debug_unwind.cpp
simpleperf/cmd_record.cpp
simpleperf/dso.cpp
simpleperf/dso.h
simpleperf/environment.cpp
simpleperf/environment.h
simpleperf/environment_test.cpp