From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935809AbcJFWoR (ORCPT ); Thu, 6 Oct 2016 18:44:17 -0400 Received: from terminus.zytor.com ([198.137.202.10]:46516 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935210AbcJFWoJ (ORCPT ); Thu, 6 Oct 2016 18:44:09 -0400 Date: Thu, 6 Oct 2016 15:43:33 -0700 From: tip-bot for Kim SeonYoung Message-ID: Cc: tglx@linutronix.de, adamas0414@gmail.com, mingo@kernel.org, linux-kernel@vger.kernel.org, hpa@zytor.com, taeung@kosslab.kr, namhyung@kernel.org, acme@redhat.com, jolsa@kernel.org, peterz@infradead.org Reply-To: jolsa@kernel.org, peterz@infradead.org, acme@redhat.com, namhyung@kernel.org, taeung@kosslab.kr, hpa@zytor.com, linux-kernel@vger.kernel.org, adamas0414@gmail.com, tglx@linutronix.de, mingo@kernel.org In-Reply-To: <1475194602-5596-1-git-send-email-adamas0414@gmail.com> References: <1475194602-5596-1-git-send-email-adamas0414@gmail.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/urgent] perf report/top: Add a tip about source line numbers with overhead Git-Commit-ID: 8649b6434ebc184e632a510c4121899481409c15 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 8649b6434ebc184e632a510c4121899481409c15 Gitweb: http://git.kernel.org/tip/8649b6434ebc184e632a510c4121899481409c15 Author: Kim SeonYoung AuthorDate: Thu, 29 Sep 2016 17:16:42 -0700 Committer: Arnaldo Carvalho de Melo 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 Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Taeung Song Link: http://lkml.kernel.org/r/1475194602-5596-1-git-send-email-adamas0414@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- 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 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