Re: [PATCH v1 2/9] perf util: Define a structure for runtime shadow metrics stats

From: Jiri Olsa
Date: Tue Nov 21 2017 - 10:18:12 EST


On Mon, Nov 20, 2017 at 10:43:37PM +0800, Jin Yao wrote:

SNIP

> + STAT_SMI_NUM,
> + STAT_APERF,
> + STAT_MAX
> +};
> +
> +struct runtime_stat {
> + struct rblist value_list;
> +};
> +
> struct perf_stat_config {
> enum aggr_mode aggr_mode;
> bool scale;
> FILE *output;
> unsigned int interval;
> + struct runtime_stat *stats;
> + int stat_num;

s/stat_num/stats_num/ or s/stats/stat/

thanks,
jirka