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>
Thu, 3 May 2018 23:55:17 +0000 (16:55 -0700)
commit6f14272775fdf15ea8d7d616bc75ce6103a2226b
tree47dbf657429a70097a50346ca270fba6c7ad99da
parentca4e5e87e5bf18698638b43a4b0a954e1f900028
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
(cherry picked from commit c68e66dcf067c052319c8da13a6a49ff06481fa5)
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