perf report: Add a tip about source line numbers with overhead
PATCH v2 1/1 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.
--- tools/perf/Documentation/tips.txt | 1 + 1 file changed, 1 insertion(+)
tools/perf/Documentation/tips.txt +1 -0
@@ -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
Signature · 1 line
2.7.4
tip-bot for Kim SeonYoung
merge bot[tip:perf/urgent] perf report/top: Add a tip about source line numbers with overhead
perf report/top: Add a tip about source line numbers with overhead
Commit-ID: 8649b6434ebc184e632a510c4121899481409c15 Gitweb: http://git.kernel.org/tip/8649b6434ebc184e632a510c4121899481409c15 Author: Kim SeonYoung <[email protected]> AuthorDate: Thu, 29 Sep 2016 17:16:42 -0700 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 5 Oct 2016 19:47:55 -0300
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.
--- tools/perf/Documentation/tips.txt | 1 + 1 file changed, 1 insertion(+)
tools/perf/Documentation/tips.txt +1 -0
@@ -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