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

From: Taeung Song
Date: Mon Aug 21 2017 - 01:35:13 EST




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@xxxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Signed-off-by: Taeung Song <treeze.taeung@xxxxxxxxx>

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