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

From: Jin, Yao
Date: Tue Nov 21 2017 - 22:12:00 EST




On 11/21/2017 11:18 PM, Jiri Olsa wrote:
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


Fine, I will update according to your suggestion.

Thanks
Jin Yao