summaryrefslogtreecommitdiff
path: root/simpleperf/cmd_report.cpp
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2021-12-10 14:27:01 -0800
committerYabin Cui <yabinc@google.com>2021-12-10 14:29:05 -0800
commit12277fa6f3e4f276eb08d8b5c08c1084d2026da9 (patch)
treef39b31d587877f59a9b2265b9714e991cacfb257 /simpleperf/cmd_report.cpp
parentf7b67fdfebd33fd6ddf09261d3dfab6aaadeeff7 (diff)
downloadextras-12277fa6f3e4f276eb08d8b5c08c1084d2026da9.tar.gz
simpleperf: make help msg of --sort option more explicit.
Bug: none Test: simpleperf_unit_test Change-Id: If3bf72b333ee6b067f3b4d914b5ced10aacdc22d
Diffstat (limited to 'simpleperf/cmd_report.cpp')
-rw-r--r--simpleperf/cmd_report.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/simpleperf/cmd_report.cpp b/simpleperf/cmd_report.cpp
index 04803838..522687cd 100644
--- a/simpleperf/cmd_report.cpp
+++ b/simpleperf/cmd_report.cpp
@@ -392,9 +392,9 @@ class ReportCommand : public Command {
"--percent-limit <percent> Set min percentage in report entries and call graphs.\n"
"--pids pid1,pid2,... Report only for selected pids.\n"
"--raw-period Report period count instead of period percentage.\n"
-"--sort key1,key2,... Select keys used to sort and print the report. The\n"
-" appearance order of keys decides the order of keys used\n"
-" to sort and print the report.\n"
+"--sort key1,key2,... Select keys used to group samples into report entries. Samples having\n"
+" the same key values are aggregated into one report entry. Each report\n"
+" entry is printed in one row, having columns to show key values.\n"
" Possible keys include:\n"
" pid -- process id\n"
" tid -- thread id\n"