OSDN Git Service

Add profman tool: responsible to process profiles
authorCalin Juravle <calin@google.com>
Mon, 1 Feb 2016 12:06:18 +0000 (12:06 +0000)
committerCalin Juravle <calin@google.com>
Fri, 19 Feb 2016 20:39:29 +0000 (20:39 +0000)
commitd81c289e58f4ced8ec7674fd377c356669f97227
treefc4c7dd28dff83038eb81f8c488f4dc54c35b59c
parent4ba85a6b887d3ffc1627ba3e7e9b74522ba926bb
Add profman tool: responsible to process profiles

This pulls out profile parsing from dex2oat into a separate tool.
Some additional refactoring:
- better return codes
- dex2oat now accepts only one profile file

This is the first step towards support secondary dex files and
extracting profiles out of the code_cache directory.

Bug: 26719109
Bug: 26563023
Change-Id: I364dad7e3beb22ef71c372739d5bcc490ae23270
17 files changed:
Android.mk
build/Android.gtest.mk
compiler/Android.mk
compiler/profile_assistant.h [deleted file]
dex2oat/dex2oat.cc
profman/Android.mk [new file with mode: 0644]
profman/profile_assistant.cc [moved from compiler/profile_assistant.cc with 51% similarity]
profman/profile_assistant.h [new file with mode: 0644]
profman/profile_assistant_test.cc [moved from compiler/profile_assistant_test.cc with 53% similarity]
profman/profman.cc [new file with mode: 0644]
runtime/base/scoped_flock.cc
runtime/base/unix_file/fd_file.cc
runtime/base/unix_file/fd_file.h
runtime/jit/offline_profiling_info.cc
runtime/jit/offline_profiling_info.h
runtime/utils.cc
runtime/utils.h