perf tools: Document relation of per-thread event count feature
authorNamhyung Kim <namhyung@kernel.org>
Sat, 9 May 2015 15:19:42 +0000 (00:19 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 May 2015 12:59:48 +0000 (09:59 -0300)
The 'perf record -s' and 'perf report -T' should be used together to see
per-thread event counts.  Document the relation of these commands.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1431184784-30525-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-record.txt
tools/perf/Documentation/perf-report.txt

index 57dd57bcef95a787b1908e63c1c937d9d74c3778..280533ebf9df43b933e517750c29c141dd3feddc 100644 (file)
@@ -147,7 +147,8 @@ OPTIONS
 
 -s::
 --stat::
-       Per thread counts.
+       Record per-thread event counts.  Use it with 'perf report -T' to see
+       the values.
 
 -d::
 --data::
index 27190ed06f9cda13e7da17bee76826e46e19b622..c33b69f3374fda01b6a9ee7dcca6b7bbb2f74e8c 100644 (file)
@@ -34,7 +34,8 @@ OPTIONS
 
 -T::
 --threads::
-       Show per-thread event counters
+       Show per-thread event counters.  The input data file should be recorded
+       with -s option.
 -c::
 --comms=::
        Only consider symbols in these comms. CSV that understands