瀏覽代碼

perf tools: Document relation of per-thread event count feature

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>
Namhyung Kim 10 年之前
父節點
當前提交
1f91d5fd03
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 2 1
      tools/perf/Documentation/perf-record.txt
  2. 2 1
      tools/perf/Documentation/perf-report.txt

+ 2 - 1
tools/perf/Documentation/perf-record.txt

@@ -147,7 +147,8 @@ OPTIONS
 
 
 -s::
 -s::
 --stat::
 --stat::
-	Per thread counts.
+	Record per-thread event counts.  Use it with 'perf report -T' to see
+	the values.
 
 
 -d::
 -d::
 --data::
 --data::

+ 2 - 1
tools/perf/Documentation/perf-report.txt

@@ -34,7 +34,8 @@ OPTIONS
 
 
 -T::
 -T::
 --threads::
 --threads::
-	Show per-thread event counters
+	Show per-thread event counters.  The input data file should be recorded
+	with -s option.
 -c::
 -c::
 --comms=::
 --comms=::
 	Only consider symbols in these comms. CSV that understands
 	Only consider symbols in these comms. CSV that understands