[PATCH] perf report/top: Add a tip about source line matching

2017-11-17 Thread Hyeim Yang
Cc: Jiri Olsa 
Cc: Namhyung Kim 
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 db0ca30..b60616a 100644
--- a/tools/perf/Documentation/tips.txt
+++ b/tools/perf/Documentation/tips.txt
@@ -32,3 +32,4 @@ Order by the overhead of source file name and line number: 
perf report -s srclin
 System-wide collection from all CPUs: perf record -a
 Show current config key-value pairs: perf config --list
 Show user configuration overrides: perf config --user --list
+Print matching source lines (may be slow): perf annotate --print-line 
-- 
2.7.4



[PATCH v2] perf report/top: Add a tip about source line matching.

2017-11-20 Thread Hyeim Yang
Cc: Jiri Olsa 
Cc: Namhyung Kim 
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 db0ca30..cab8fae 100644
--- a/tools/perf/Documentation/tips.txt
+++ b/tools/perf/Documentation/tips.txt
@@ -32,3 +32,4 @@ Order by the overhead of source file name and line number: 
perf report -s srclin
 System-wide collection from all CPUs: perf record -a
 Show current config key-value pairs: perf config --list
 Show user configuration overrides: perf config --user --list
+Print matching source lines (may be slow): perf annotate --print-line --stdio 

-- 
2.7.4