Re: [PATCH v3 4/5] perf annotate browser: Support --show-nr-samples option

Taeung Song
2017-08-21T05:35:01Z

On 08/18/2017 11:17 PM, Arnaldo Carvalho de Melo wrote:
> Em Fri, Aug 18, 2017 at 05:47:03PM +0900, Taeung Song escreveu:
>> Cc: Namhyung Kim <namhyung@kernel.org>
>> Cc: Jiri Olsa <jolsa@redhat.com>
>> Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
>
> Ok, now that check for !--stdio is lifted and replaced with:
>
> - if (symbol_conf.show_nr_samples && !annotate.use_stdio) {
> - pr_err("--show-nr-samples is only available in --stdio mode at this time\n");
> + if (symbol_conf.show_nr_samples && annotate.use_gtk) {
> + pr_err("--show-nr-samples is not available in --gtk mode at this time\n");
> return ret;
> }
>
> - Arnaldo
>

I got it :)

Thanks,
Taeung