From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933938AbdBQN3r (ORCPT ); Fri, 17 Feb 2017 08:29:47 -0500 Received: from mail.kernel.org ([198.145.29.136]:33190 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933818AbdBQN3q (ORCPT ); Fri, 17 Feb 2017 08:29:46 -0500 Date: Fri, 17 Feb 2017 10:29:39 -0300 From: Arnaldo Carvalho de Melo To: Taeung Song Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , perf group , LKML , Ingo Molnar , Peter Zijlstra Subject: Re: [Suggestion/Problems] perf annoate: Some problems related to the source code view and Improvement of it with line numbers Message-ID: <20170217132939.GA4109@kernel.org> References: <5c703d64-3ef4-3d43-bf99-f14c5fc4cdac@gmail.com> <20170215132411.GF4020@kernel.org> <963c309b-ca3a-e5a7-30f3-e0a521e5c3e5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Feb 17, 2017 at 11:33:29AM +0900, Taeung Song escreveu: > Hi, Arnaldo :) > > Regarding perf annotate: > > 1) Problem : wrong line numbers on perf-annotate (both stdio and TUI) > 2) Problem : wrong sum of overhead(percent) matching source lines > 3) Suggestion : new option showing only source code per function > with overhead info (to be more readable :) ) > > I'll send the patchset for them, maybe it'll a bit take time. > But I won't be long.. Concentrate on the first, send the patch, while waiting for review, work on the second, and so on :-) - Arnaldo > Thanks, > Taeung > > On 02/15/2017 11:24 PM, Taeung Song wrote: > > > > > > On 02/15/2017 10:24 PM, Arnaldo Carvalho de Melo wrote: > > > Em Wed, Feb 15, 2017 at 09:34:51PM +0900, Taeung Song escreveu: > > > > > Hi all :) > > > > > > > > > > I found some problems about showing line numbers of perf-annotate. > > > > > and I have a suggestion about perf-annotate. > > > > > > > > > > Sure, I have a plan to send the patchset about that. > > > > > But I'd like to know other opinions about that before sending the > > > > patchset. > > > > > :) > > > Humm, TLDR, please try to find one problem, describe it precisely, show > > > before and after results (in the changeset message), and send it, rinse, > > > repeat. > > > > > > For instance, if the line numbers are different in --stdio and --tui, > > > that is a problem, state that, show the output (as you did below), put > > > it in a patch, send it. > > > > > > > Okey it was too long. > > > > I'll separate the contents into simple parts > > and send a patch with things you said :) > > for easy review. > > > > Thanks, > > Taeung