From 89d616ee0aa966d6e86a0ef5ffc8b8e9e20bc5c5 Mon Sep 17 00:00:00 2001 From: Kim SeonYoung Date: Thu, 29 Sep 2016 14:00:53 -0700 Subject: [PATCH] perf report: 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 explain the feature of --sort srcline. Signed-off-by: Kim SeonYoung Cc: Namhyung Kim Cc: Jiri Olsa Cc: Taeung Song --- tools/perf/Documentation/tips.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/Documentation/tips.txt b/tools/perf/Documentation/tips.txt index 5950b5a24efd..0d79eb104749 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 If you prefer Intel style assembly, try: perf annotate -M intel For hierarchical output, try: perf report --hierarchy +Show source files and line numbers in sequence of overhead, try: perf report -s srcline