summaryrefslogtreecommitdiff
path: root/tools/perf/Documentation/tips.txt
diff options
context:
space:
mode:
authorKim SeonYoung <adamas0414@gmail.com>2016-09-30 03:16:42 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-10-06 01:47:55 +0300
commit8649b6434ebc184e632a510c4121899481409c15 (patch)
tree7fc427511057e4bf810a99beae1526501a737eb7 /tools/perf/Documentation/tips.txt
parentdcfc3a6740d372ebe203dae2c5852ff45f9ef793 (diff)
downloadlinux-8649b6434ebc184e632a510c4121899481409c15.tar.xz
perf report/top: Add a tip about source line numbers with overhead
There is a existing tip as below. If you have debuginfo enabled, try: perf report -s sym,srcline However this tip only describe a condition to use --sort sym,scrline options. So there is lack of explanation in the tip. I think that it would be better to add a tip that exactly explains the feature of --sort srcline. Signed-off-by: Seonyoung Kim <adamas0414@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Taeung Song <taeung@kosslab.kr> Link: http://lkml.kernel.org/r/1475194602-5596-1-git-send-email-adamas0414@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/tips.txt')
-rw-r--r--tools/perf/Documentation/tips.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/Documentation/tips.txt b/tools/perf/Documentation/tips.txt
index 5950b5a24efd..b0311248407f 100644
--- a/tools/perf/Documentation/tips.txt
+++ b/tools/perf/Documentation/tips.txt
@@ -28,3 +28,4 @@ To change sampling frequency to 100 Hz: perf record -F 100
See assembly instructions with percentage: perf annotate <symbol>
If you prefer Intel style assembly, try: perf annotate -M intel
For hierarchical output, try: perf report --hierarchy
+Order by the overhead of source file name and line number: perf report -s srcline