Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1438274imm; Thu, 19 Jul 2018 01:27:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfYE/TpaPIpig6OsbeYKWrczwcKKw56Y1H1pzxAayhq0xkfalIAIsBJj078xlHzdKOT2EFV X-Received: by 2002:a63:291:: with SMTP id 139-v6mr9101982pgc.365.1531988844982; Thu, 19 Jul 2018 01:27:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531988844; cv=none; d=google.com; s=arc-20160816; b=QM72yGNn2piOdfOCANrgwz0xTMPuwpuyAR78TypzbP6548bNsgoiBA4g1g+UOyCqnA al8wPCp6zhOHcQ4LMOx2QoRrtOn7L+d+1T7lqmoOLtlaWZWPt+OgB+HqnXRrOTm/rQ+P KWntpGO63WefkIZuJo5wJY3JGDPSuazYbqspzIGWXDgNH2OJGMDpO7C8NvtpEby/IFE6 uskMygY4jPx5O1E9rUe7Uvd04Nd0J5LOrGiGrjsJZNxWMPE14IkuD18mARlP4f6R1khu AD2p6bqUWkyBGIOXYYf5MfU6wxoNSODMIUH1d5AFwvHizu8sYERxDdvXMIdtjsfujGgS l5eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Bto/uogMmRH5lQ5DrlFfBPywewv994JzDwZxfdk+228=; b=JecGtvbW3Xa1oYQNP2mNrm7t3jmYjtIykfb7sCL/s8igTl6xYgUIFr9RKQqbQHUeTX gL0paXSHf5aZH4F3N7ra2btOXKnUMkVC03ibqtPbkZv8ncjTF9JGDffyNaYKLIZNhuK1 YkUwvlhWq6mYIWbyLiGkmnCXiXlnTBMtmZYXHxPAiaqkB0FftB4cPDRb7/o0bC6sb9nR 23Uh4l2UUZhMv7ZPnqKSZhuMg9RA7TybKWqbAt/nONUgkSU/OyPkh+AFEmujergCHMDz oCW1OPMmn3UPce9zFNNwpLwpkcaviZA6BTll+2FPhwfTTjvKJnyeyACvlHvJgoYvhYj0 pn/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9-v6si5229518plk.130.2018.07.19.01.27.10; Thu, 19 Jul 2018 01:27:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731481AbeGSJHk (ORCPT + 99 others); Thu, 19 Jul 2018 05:07:40 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:46294 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726494AbeGSJHk (ORCPT ); Thu, 19 Jul 2018 05:07:40 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6DBF687AAA; Thu, 19 Jul 2018 08:25:40 +0000 (UTC) Received: from krava (unknown [10.43.17.196]) by smtp.corp.redhat.com (Postfix) with SMTP id 9D5F9111AF0C; Thu, 19 Jul 2018 08:25:39 +0000 (UTC) Date: Thu, 19 Jul 2018 10:25:39 +0200 From: Jiri Olsa To: Stephane Eranian Cc: Jiri Olsa , LKML , Arnaldo Carvalho de Melo Subject: Re: [RFC] perf annotate: option to report global percentage Message-ID: <20180719082539.GB18667@krava> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 19 Jul 2018 08:25:40 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 19 Jul 2018 08:25:40 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jolsa@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 18, 2018 at 02:55:14PM -0700, Stephane Eranian wrote: > Hi Jiri, > > As far as I know, once you go into annotate mode, via perf report TUI > mode, the percentage you see per instruction is relative to the > function. I would like the option to display the total percentage, > i..e, the importance of the instruction for the entire run. Right now, > if I want that, I need to do function_percentage * insn_percentage by > hand. This is not convenient. Having a key toggle would be very > useful, worst case a cmdline option. > > What do you think? hi, that should be simple to add, we already have the 'F' in the main browser window to toggle among full/filtered scale I'll try to add something similar for annotation window jirka