diff --git a/src/c++/perf_analyzer/command_line_parser.cc b/src/c++/perf_analyzer/command_line_parser.cc index 6f858b184..c35fb6325 100644 --- a/src/c++/perf_analyzer/command_line_parser.cc +++ b/src/c++/perf_analyzer/command_line_parser.cc @@ -148,6 +148,7 @@ CLParser::Usage(const std::string& msg) std::cerr << std::endl; std::cerr << "IV. OTHER OPTIONS: " << std::endl; std::cerr << "\t-f " << std::endl; + std::cerr << "\t--profile-export-file " << std::endl; std::cerr << "\t-H " << std::endl; std::cerr << "\t--streaming" << std::endl; std::cerr << "\t--grpc-compression-algorithm " @@ -608,6 +609,13 @@ CLParser::Usage(const std::string& msg) "this option. By default, the result is not recorded in a file.", 9) << std::endl; + std::cerr << std::setw(9) << std::left << " --profile-export-file: " + << FormatMessage( + "Specifies the path that the profile export will be " + "generated at. By default, the profile export will not be " + "generated.", + 9) + << std::endl; std::cerr << std::setw(9) << std::left << " -H: " << FormatMessage( diff --git a/src/c++/perf_analyzer/docs/cli.md b/src/c++/perf_analyzer/docs/cli.md index 5b050f5db..d1bf0c784 100644 --- a/src/c++/perf_analyzer/docs/cli.md +++ b/src/c++/perf_analyzer/docs/cli.md @@ -529,6 +529,13 @@ Specifies the path that the latency report file will be generated at. When `-f` is not specified, a latency report will not be generated. +#### `--profile-export-file ` + +Specifies the path that the profile export will be generated at. + +When `--profile-export-file` is not specified, a profile export will not be +generated. + #### `--verbose-csv` Enables additional information being output to the CSV file generated by Perf