[PATCH v8 2/7] perf config: Add macros assigning key-value pairs to default_config_item

2016-09-04 Thread Taeung Song
In near future, default_config_item arrays will be added (e.g. const struct default_config_item colors_config_items[]) To simply assign config key-value pairs to default_config_item, add macros that are CONF_VAR() and CONF_*_VAR() for each type. Cc: Namhyung Kim Cc: Jiri

[PATCH v8 2/7] perf config: Add macros assigning key-value pairs to default_config_item

2016-09-04 Thread Taeung Song
In near future, default_config_item arrays will be added (e.g. const struct default_config_item colors_config_items[]) To simply assign config key-value pairs to default_config_item, add macros that are CONF_VAR() and CONF_*_VAR() for each type. Cc: Namhyung Kim Cc: Jiri Olsa Cc: Wang Nan Cc: