Re: [PATCH v11 17/24] perf config: Collect configs to handle config variables

2016-03-04 Thread Taeung Song
On 03/04/2016 10:58 PM, Namhyung Kim wrote: Hi Taeung, On Fri, Mar 04, 2016 at 09:45:44PM +0900, Taeung Song wrote: Hi, Namhyung and all (I'm modifying this patch to be tidy) I have a mere question about name of a variable for current config list that contains section list which has key-valu

Re: [PATCH v11 17/24] perf config: Collect configs to handle config variables

2016-03-04 Thread Namhyung Kim
Hi Taeung, On Fri, Mar 04, 2016 at 09:45:44PM +0900, Taeung Song wrote: > Hi, Namhyung and all > > (I'm modifying this patch to be tidy) > I have a mere question about name of a variable for > current config list that contains section list which has key-value > pairs from ~/.perfconfig or $(sysco

Re: [PATCH v11 17/24] perf config: Collect configs to handle config variables

2016-03-04 Thread Taeung Song
Hi, Namhyung and all (I'm modifying this patch to be tidy) I have a mere question about name of a variable for current config list that contains section list which has key-value pairs from ~/.perfconfig or $(sysconfdir)/perfconfig config file. (This variable is designed to be used by several fun

Re: [PATCH v11 17/24] perf config: Collect configs to handle config variables

2015-11-17 Thread Namhyung Kim
On Tue, Nov 17, 2015 at 10:53:37PM +0900, Taeung Song wrote: > Collecting configs into list because of two reason. > > First of all, if there are same variables both user > and system config file, they all will be printed > when 'list' command work. But if config variables are > duplicated, user c

[PATCH v11 17/24] perf config: Collect configs to handle config variables

2015-11-17 Thread Taeung Song
Collecting configs into list because of two reason. First of all, if there are same variables both user and system config file, they all will be printed when 'list' command work. But if config variables are duplicated, user config variables should only be printed because it has priority. Lastly,