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