From 5b2bed1d05a2b24866e8e8010670a1ca0a91e266 Mon Sep 17 00:00:00 2001 From: Matthew Kotila Date: Tue, 1 Aug 2023 14:56:38 -0700 Subject: [PATCH] Add missing --profile-export-file help description and cli docs description (#374) --- src/c++/perf_analyzer/command_line_parser.cc | 8 ++++++++ src/c++/perf_analyzer/docs/cli.md | 7 +++++++ 2 files changed, 15 insertions(+) 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