mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] perf report: Add a tip about  source line numbers with overhead
@ 2016-09-30  0:16 Kim SeonYoung
  2016-10-06 22:43 ` [tip:perf/urgent] perf report/top: " tip-bot for Kim SeonYoung
  0 siblings, 1 reply; 2+ messages in thread
From: Kim SeonYoung @ 2016-09-30  0:16 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Ingo Molnar, Peter Zijlstra, Jiri Olsa,
	Namhyung Kim, Taeung Song, Kim SeonYoung

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: Seonyoung Kim <adamas0414@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Taeung Song <taeung@kosslab.kr>
---
 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 5950b5a..b031124 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
-- 
2.7.4

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip:perf/urgent] perf report/top: Add a tip about source line numbers with overhead
  2016-09-30  0:16 [PATCH v2] perf report: Add a tip about source line numbers with overhead Kim SeonYoung
@ 2016-10-06 22:43 ` tip-bot for Kim SeonYoung
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Kim SeonYoung @ 2016-10-06 22:43 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: tglx, adamas0414, mingo, linux-kernel, hpa, taeung, namhyung,
	acme, jolsa, peterz

Commit-ID:  8649b6434ebc184e632a510c4121899481409c15
Gitweb:     http://git.kernel.org/tip/8649b6434ebc184e632a510c4121899481409c15
Author:     Kim SeonYoung <adamas0414@gmail.com>
AuthorDate: Thu, 29 Sep 2016 17:16:42 -0700
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
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.

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>
---
 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 5950b5a..b031124 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-06 22:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-30  0:16 [PATCH v2] perf report: Add a tip about source line numbers with overhead Kim SeonYoung
2016-10-06 22:43 ` [tip:perf/urgent] perf report/top: " tip-bot for Kim SeonYoung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®