From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934936AbcI2Waf (ORCPT ); Thu, 29 Sep 2016 18:30:35 -0400 Received: from mail.kernel.org ([198.145.29.136]:42118 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932813AbcI2Wa2 (ORCPT ); Thu, 29 Sep 2016 18:30:28 -0400 Date: Thu, 29 Sep 2016 19:30:20 -0300 From: Arnaldo Carvalho de Melo To: Kim SeonYoung Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Jiri Olsa , Namhyung Kim , Taeung Song Subject: Re: [PATCH] perf report: Add a tip about source line numbers with overhead Message-ID: <20160929223020.GD29214@kernel.org> References: <1475186433-6233-1-git-send-email-adamas0414@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1475186433-6233-1-git-send-email-adamas0414@gmail.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.7.0 (2016-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Cc: Namhyung Kim > Cc: Jiri Olsa > 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 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 > 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