All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Kim SeonYoung <adamas0414@gmail.com>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>,
	Taeung Song <taeung@kosslab.kr>
Subject: Re: [PATCH] perf report: Add a tip about  source line numbers with overhead
Date: Thu, 29 Sep 2016 19:30:20 -0300	[thread overview]
Message-ID: <20160929223020.GD29214@kernel.org> (raw)
In-Reply-To: <1475186433-6233-1-git-send-email-adamas0414@gmail.com>

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

      reply	other threads:[~2016-09-29 22:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160929223020.GD29214@kernel.org \
    --to=acme@kernel.org \
    --cc=adamas0414@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    --cc=taeung@kosslab.kr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.