Skip to contentSkip to conversation

perf trace: Fix --filter-pids OPTION description

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message May 6, 2015 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  fa0e4ffe06f0823abdf6c401c340c08ba8977fad
Gitweb:     http://git.kernel.org/tip/fa0e4ffe06f0823abdf6c401c340c08ba8977fad
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Thu, 23 Apr 2015 11:59:20 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Wed, 29 Apr 2015 10:38:03 -0300

perf trace: Fix --filter-pids OPTION description

Cut't'paste error, fix it.

---
 tools/perf/builtin-trace.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/perf/builtin-trace.c +2 -2
index e124741..23fb081 100644
@@ -2668,8 +2668,8 @@ int cmd_trace(int argc, const char **argv, const char *prefix __maybe_unused)
 		    "trace events on existing process id"),
 	OPT_STRING('t', "tid", &trace.opts.target.tid, "tid",
 		    "trace events on existing thread id"),
-	OPT_CALLBACK(0, "filter-pids", &trace, "float",
-		     "show only events with duration > N.M ms", trace__set_filter_pids),
+	OPT_CALLBACK(0, "filter-pids", &trace, "CSV list of pids",
+		     "pids to filter (by the kernel)", trace__set_filter_pids),
 	OPT_BOOLEAN('a', "all-cpus", &trace.opts.target.system_wide,
 		    "system-wide collection from all CPUs"),
 	OPT_STRING('C', "cpu", &trace.opts.target.cpu_list, "cpu",