diff options
author | Yabin Cui <yabinc@google.com> | 2020-08-05 19:51:36 +0000 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2020-08-06 18:48:35 +0000 |
commit | 075dd1876248e2746542f644e59e331900586cfc (patch) | |
tree | d0771a16a55c1fc32422333bf4a312d1bb0c4473 /simpleperf/JITDebugReader.h | |
parent | 3c69332324978a62891160ed298bedacb18c4c0a (diff) | |
download | extras-075dd1876248e2746542f644e59e331900586cfc.tar.gz |
simpleperf: fix jit cache path in report cmd.
1. Separate app cache and zygote cache in ElfDso::GetReportPath().
2. Use GetReportPath() in --dsos option in report cmd.
So "[JIT app cache]" can be used to filter binaries.
Bug: 159155297
Test: run simpleperf_unit_test
Change-Id: Idc52bd1b2496aae30721a224d93621f776f2ae03
Diffstat (limited to 'simpleperf/JITDebugReader.h')
-rw-r--r-- | simpleperf/JITDebugReader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/simpleperf/JITDebugReader.h b/simpleperf/JITDebugReader.h index 167b0e9f..a6c9c030 100644 --- a/simpleperf/JITDebugReader.h +++ b/simpleperf/JITDebugReader.h @@ -36,6 +36,9 @@ namespace simpleperf { +inline constexpr const char* kJITAppCacheFile = "jit_app_cache"; +inline constexpr const char* kJITZygoteCacheFile = "jit_zygote_cache"; + // JITDebugInfo represents the debug info of a JITed Java method or a dex file. struct JITDebugInfo { enum { |