diff options
author | Wei Jin <wejin@google.com> | 2014-05-21 18:35:19 -0700 |
---|---|---|
committer | Wei Jin <wejin@google.com> | 2014-05-21 18:35:19 -0700 |
commit | 2221e3bbde1bf81099eb299efe8f61ec71879086 (patch) | |
tree | 3f475e1ed0a818a308f2b00a0f5a5c4879608798 /runtime/parsed_options.cc | |
parent | 89bfb2be91b1b4db1ef62e82e9b9ae13dc975264 (diff) | |
download | art-2221e3bbde1bf81099eb299efe8f61ec71879086.zip art-2221e3bbde1bf81099eb299efe8f61ec71879086.tar.gz art-2221e3bbde1bf81099eb299efe8f61ec71879086.tar.bz2 |
Change profiler file name parsing option
This patch renames the option for profile output file name to -Xprofile-filename: to avoid conflicts.
Change-Id: I5ba1cf10a7763f083028b8262f9ce2421400c4f3
Signed-off-by: Wei Jin <wejin@google.com>
Diffstat (limited to 'runtime/parsed_options.cc')
-rw-r--r-- | runtime/parsed_options.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc index 2987393..4330d27 100644 --- a/runtime/parsed_options.cc +++ b/runtime/parsed_options.cc @@ -533,7 +533,7 @@ bool ParsedOptions::Parse(const Runtime::Options& options, bool ignore_unrecogni Trace::SetDefaultClockSource(kProfilerClockSourceWall); } else if (option == "-Xprofile:dualclock") { Trace::SetDefaultClockSource(kProfilerClockSourceDual); - } else if (StartsWith(option, "-Xprofile:")) { + } else if (StartsWith(option, "-Xprofile-filename:")) { if (!ParseStringAfterChar(option, ':', &profile_output_filename_)) { return false; } @@ -786,7 +786,7 @@ void ParsedOptions::Usage(const char* fmt, ...) { UsageMessage(stream, " -Xmethod-trace\n"); UsageMessage(stream, " -Xmethod-trace-file:filename"); UsageMessage(stream, " -Xmethod-trace-file-size:integervalue\n"); - UsageMessage(stream, " -Xprofile=filename\n"); + UsageMessage(stream, " -Xprofile-filename:filename\n"); UsageMessage(stream, " -Xprofile-period:integervalue\n"); UsageMessage(stream, " -Xprofile-duration:integervalue\n"); UsageMessage(stream, " -Xprofile-interval:integervalue\n"); |