[PATCH v8 1/7] perf config: Introduce default_config_section and default_config_item for default config key-value pairs

2016-09-04 Thread Taeung Song
When initializing default perf config values, we currently use values of actual type(int, bool, char *, etc.). For example, If there isn't a user config value for 'annotate.use_offset' config variable at ~/.perfconfig, default value for it is 'true' bool type value in perf like below. At

[PATCH v8 1/7] perf config: Introduce default_config_section and default_config_item for default config key-value pairs

2016-09-04 Thread Taeung Song
When initializing default perf config values, we currently use values of actual type(int, bool, char *, etc.). For example, If there isn't a user config value for 'annotate.use_offset' config variable at ~/.perfconfig, default value for it is 'true' bool type value in perf like below. At