Skip to contentSkip to conversation

perf_counter tools: report: Add help text for --sort

tip:perfcounters/core tip-bot for Ingo Molnar 1 participant 1 message May 28, 2009 Documentation

lore
Share & tools
lore
#0 lore raw
Commit-ID:  63299f057fbce47da895e8865cba7e9c3eb01a20
Gitweb:     http://git.kernel.org/tip/63299f057fbce47da895e8865cba7e9c3eb01a20
Author:     Ingo Molnar <[email protected]>
AuthorDate: Thu, 28 May 2009 10:52:00 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Thu, 28 May 2009 10:53:40 +0200

perf_counter tools: report: Add help text for --sort

Cc Mike Galbraith <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Corey Ashford <[email protected]>
Cc Marcelo Tosatti <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc John Kacur <[email protected]>

LKML-Reference: <new-submission>

---
 Documentation/perf_counter/builtin-report.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Documentation/perf_counter/builtin-report.c +2 -1
index 506cde4..9fdf822 100644
@@ -1240,7 +1240,8 @@ static const struct option options[] = {
 	OPT_BOOLEAN('D', "dump-raw-trace", &dump_trace,
 		    "dump raw trace in ASCII"),
 	OPT_STRING('k', "vmlinux", &vmlinux, "file", "vmlinux pathname"),
-	OPT_STRING('s', "sort", &sort_order, "foo", "bar"),
+	OPT_STRING('s', "sort", &sort_order, "key[,key2...]",
+		   "sort by key(s): pid, comm, dso, symbol. Default: pid,symbol"),
 	OPT_END()
 };