summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2021-12-11 00:29:30 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-12-11 00:29:30 +0000
commitf82db748270eccb06741955c1246a22041751c37 (patch)
treef39b31d587877f59a9b2265b9714e991cacfb257
parent3ef7bc611b77c27b76b7fe083a328d71c73c04f4 (diff)
parent453a0c335bdca9baffa5619e36a1ab11f88e531c (diff)
downloadextras-f82db748270eccb06741955c1246a22041751c37.tar.gz
Merge "simpleperf: make help msg of --sort option more explicit." am: 453a0c335b
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/1918456 Change-Id: Idbe8f65f9e79d552a5f8ac2281be872d55c9fd51
-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"