All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf report: Add a tip about  source line numbers with overhead
@ 2016-09-29 22:00 Kim SeonYoung
  2016-09-29 22:30 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 2+ messages in thread
From: Kim SeonYoung @ 2016-09-29 22:00 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..0d79eb1 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
+Show source files and line numbers in sequence of overhead, try: perf report -s srcline
-- 
2.7.4

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

* Re: [PATCH] perf report: Add a tip about  source line numbers with overhead
  2016-09-29 22:00 [PATCH] perf report: Add a tip about source line numbers with overhead Kim SeonYoung
@ 2016-09-29 22:30 ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2016-09-29 22:30 UTC (permalink / raw)
  To: Kim SeonYoung
  Cc: linux-kernel, Ingo Molnar, Peter Zijlstra, Jiri Olsa,
	Namhyung Kim, Taeung Song

Em Thu, Sep 29, 2016 at 03:00:33PM -0700, Kim SeonYoung escreveu:
> 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..0d79eb1 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
> +Show source files and line numbers in sequence of overhead, try: perf report -s srcline

Maybe:

Order by the overhead of source file name and line number: 'perf report -s srcline'

- Arnaldo

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

end of thread, other threads:[~2016-09-29 22:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29 22:00 [PATCH] perf report: Add a tip about source line numbers with overhead Kim SeonYoung
2016-09-29 22:30 ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.