From 2221e3bbde1bf81099eb299efe8f61ec71879086 Mon Sep 17 00:00:00 2001 From: Wei Jin Date: Wed, 21 May 2014 18:35:19 -0700 Subject: 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 --- runtime/parsed_options.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/parsed_options.cc') 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"); -- cgit v1.1