Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1716098

Re: [PATCH v3 5/5] perf annotate browser: Circulate percent, total period and samples view

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Taeung Song <treeze.taeung@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 5/5] perf annotate browser: Circulate percent, total period and samples view
Date Mon, 21 Aug 2017 07:50:02 +0200
Message-ID <ugNL4-eO-11@gated-at.bofh.it> (permalink)
References <ufL8D-13v-37@gated-at.bofh.it> <ufQrH-4YI-77@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=mmWJMwn9bPOXbOFHC4yhyAxTvKHsvgD9cGwTUA3OaH0=; b=Qli7cpWvua58tssxT3JJWL7fXJ+3OCiNvp5XAp++/Nq57EmgePvFnz0OmyTvXQ1pQC HW6KQcS1WszcHouMlL530ZuKB5tVFF5UbjPZWiu2ZTgerWh/pQ+lS3Fv2ZjOI7GAGGLV D8EzX5EzeKmEYlYguQcD3aeyRYaEt0X7RVHC2MF+mW+7T8aK3n/cw10oW1lN2SC6njCd Dxo98Fh7GXth77hhqitJlg0mh4J/eB3Ip3LVcKf+TYjzubeul/YdweWlGxsMq7BjBzwU SH2MBMXzt+LL2Qox1Fin/T+lMBtIGsLRnSK2uQZLANmaWwZogaaHaGoD6roat6FT3cfp tTqQ==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mmWJMwn9bPOXbOFHC4yhyAxTvKHsvgD9cGwTUA3OaH0=; b=iBlCFZnfEm0Fj2McGYTZHhg/bvAhKiWaqYKOxeIrl/de3KRwtbbYAu5QnASWl/ZXsR fwZsBsei1hwE83BD6AN5soHT3i5CnF6Nl76EqR2wpkTY/pNHg0pqAAA+b73OsgWikta3 RmrpycZf+H3MzxQx3tk66XoGsB/6yPBRiDqhzDUx1W6rMwM9gAxvxkNtJZbXtg7U7083 cKyHRGRw0nscXVxRp2ByMvbNW8UY2A1g/NAb3BHxqjRpeuSHT50YqtuvP2BylOnYF1kJ 3CiBrH+rvtb+agnbBgKuqIZ0Oydo84TWOaOm1hulP/6CmID2N0hawVSGux8Sq0Noz4wD HyBg==
X-Gm-Message-State AHYfb5hsDXPOWhS9F1TJpqRP/izjcwqO0BxNSram80cxd4ZR8HVZPavo 09FCcZRmRcZ5+g==
X-Received by 10.98.48.69 with SMTP id w66mr16257430pfw.214.1503294437198; Sun, 20 Aug 2017 22:47:17 -0700 (PDT)
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Language en-US
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 49
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org, taeung@kosslab.kr, Namhyung Kim <namhyung@kernel.org>, Milian Wolff <milian.wolff@kdab.com>, Jiri Olsa <jolsa@redhat.com>
X-Original-Date Mon, 21 Aug 2017 14:47:09 +0900
X-Original-Message-ID <1136b710-2012-fc5b-cee6-7b4b82e742ba@gmail.com>
X-Original-References <1503046028-5691-1-git-send-email-treeze.taeung@gmail.com> <20170818142314.GJ10891@kernel.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1716098

Show key headers only | View raw



On 08/18/2017 11:23 PM, Arnaldo Carvalho de Melo wrote:
> Em Fri, Aug 18, 2017 at 05:47:08PM +0900, Taeung Song escreveu:
>> With a existing 't' hotkey, support the three view based on percent,
>> total period and number of samples on the annotate TUI browser,
>> circulating them like below:
>>
>>    Percent -> Period -> Samples -> Percent ...
>>
>> Suggested-by: Namhyung Kim <namhyung@kernel.org>
>> Cc: Milian Wolff <milian.wolff@kdab.com>
>> Cc: Jiri Olsa <jolsa@redhat.com>
>> Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
>> ---
> 
> Ok, here I removed this part, that is not documented in the patch nor in
> the 'h' help screen, if you think it should be considered, please
> resubmit it with a proper explanation:

I'm really sorry. The case 'e' code is a residue..
I missed removing the code.
Thank you for indicating my mistakes.

Do I resend this patchkit based on your changes ?
Or, will you modify it by yourself ?

Thanks,
Taeung

> 
> diff --git a/tools/perf/ui/browsers/annotate.c b/tools/perf/ui/browsers/annotate.c
> index e82e6c5df83b..ba0aee576a2b 100644
> --- a/tools/perf/ui/browsers/annotate.c
> +++ b/tools/perf/ui/browsers/annotate.c
> @@ -921,12 +921,6 @@ static int annotate_browser__run(struct annotate_browser *browser,
>   				annotate_browser__opts.show_total_period = true;
>   			annotate_browser__update_addr_width(browser);
>   			continue;
> -		case 'e':
> -			annotate_browser__opts.show_total_period = false;
> -			annotate_browser__opts.show_nr_samples =
> -				!annotate_browser__opts.show_nr_samples;
> -			annotate_browser__update_addr_width(browser);
> -			continue;
>   		case K_LEFT:
>   		case K_ESC:
>   		case 'q':
> 

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 5/5] perf annotate browser: Circulate percent, total period and samples view Taeung Song <treeze.taeung@gmail.com> - 2017-08-18 10:50 +0200
  Re: [PATCH v3 5/5] perf annotate browser: Circulate percent, total  period and samples view Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-08-18 16:30 +0200
    Re: [PATCH v3 5/5] perf annotate browser: Circulate percent, total  period and samples view Taeung Song <treeze.taeung@gmail.com> - 2017-08-21 07:50 +0200
      Re: [PATCH v3 5/5] perf annotate browser: Circulate percent, total  period and samples view Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-08-21 21:20 +0200
  [tip:perf/core] perf annotate browser: Circulate percent,  total-period and nr-samples view tip-bot for Taeung Song <tipbot@zytor.com> - 2017-08-22 12:30 +0200

csiph-web